/*
 * Module code.
 *
 * Generated by SIP 4.16.8
 *
 * Copyright (c) 2015 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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 29 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 35 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 38 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 41 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 64 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 49 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 52 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 55 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 58 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 61 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 64 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 67 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 70 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 73 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 76 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 79 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 82 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 85 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 133 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 88 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 105 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 91 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 94 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 97 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 68 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 106 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 266 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 112 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstracteventdispatcher.sip"
#include <qabstracteventdispatcher.h>
#line 33 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstracteventdispatcher.sip"
#include <qabstracteventdispatcher.h>
#line 117 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsocketnotifier.sip"
#include <qsocketnotifier.h>
#line 120 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 123 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 39 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlogging.sip"
#include <qlogging.h>
#line 126 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 129 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 132 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 135 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 138 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 141 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 147 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 150 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 153 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 156 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 159 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 162 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 165 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 168 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 171 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 174 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 177 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 180 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 183 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 186 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 189 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 70 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 192 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbasictimer.sip"
#include <qbasictimer.h>
#line 195 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbitarray.sip"
#include <qbitarray.h>
#line 198 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 201 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearraymatcher.sip"
#include <qbytearraymatcher.h>
#line 204 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 56 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcollator.sip"
#include <qcollator.h>
#line 207 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 210 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 157 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 213 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 299 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 216 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 219 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 222 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 225 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdiriterator.sip"
#include <qdiriterator.h>
#line 228 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qeasingcurve.sip"
#include <qeasingcurve.h>
#line 231 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qelapsedtimer.sip"
#include <qelapsedtimer.h>
#line 234 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 237 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 240 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 243 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qjsondocument.sip"
#include <qjsondocument.h>
#line 246 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 58 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qjsondocument.sip"
#include <qjsondocument.h>
#line 249 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qjsonvalue.sip"
#include <qjsonvalue.h>
#line 252 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlibrary.sip"
#include <qlibrary.h>
#line 255 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qline.sip"
#include <qline.h>
#line 258 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 96 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qline.sip"
#include <qline.h>
#line 261 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 264 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 267 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 270 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 273 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 146 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 276 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 167 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 279 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 202 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 282 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetatype.sip"
#include <qmetatype.h>
#line 285 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmimetype.sip"
#include <qmimetype.h>
#line 288 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 291 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 294 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 99 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 297 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 220 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qprocess.sip"
#include <qprocess.h>
#line 300 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 303 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 165 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 306 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 309 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 312 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 315 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 318 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 149 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 321 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 180 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 324 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 101 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 327 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstandardpaths.sip"
#include <qstandardpaths.h>
#line 330 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstorageinfo.sip"
#include <qstorageinfo.h>
#line 333 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextboundaryfinder.sip"
#include <qtextboundaryfinder.h>
#line 336 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextboundaryfinder.sip"
#include <qtextboundaryfinder.h>
#line 339 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 342 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 345 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtimezone.sip"
#include <qtimezone.h>
#line 348 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtimezone.sip"
#include <qtimezone.h>
#line 56 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtimezone.sip"
#include <qtimezone.h>
#line 353 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 356 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 359 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 362 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurlquery.sip"
#include <qurlquery.h>
#line 365 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/quuid.sip"
#include <quuid.h>
#line 368 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 371 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 48 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 374 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 238 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 377 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 257 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 380 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 276 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 383 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 297 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 386 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsysinfo.sip"
#include <qsysinfo.h>
#line 389 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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', ':', ':', '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', '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,
    '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,
    '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', '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,
    '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,
    '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,
    '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,
    '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,
    '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,
    '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,
    'P', 'y', 'Q', 't', '5', '.', 'Q', 't', 'C', 'o', 'r', 'e', '.', 'p', 'y', 'q', 't', 'W', 'r', 'a', 'p', 'p', 'e', 'r', 'T', 'y', 'p', 'e', 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,
    '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,
    '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,
    '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,
    '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,
    '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', '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', '_', '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,
    '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', '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,
    '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,
    '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', '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,
    '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,
    '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,
    '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', '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,
    '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,
    '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,
    'W', 'i', 'n', 'd', 'o', 'w', 'C', 'a', 'n', 'c', 'e', 'l', 'B', 'u', 't', 't', 'o', 'n', '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,
    '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,
    '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,
    '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,
    '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,
    '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,
    'T', 'r', 'a', 'd', 'i', 't', 'i', 'o', 'n', 'a', 'l', 'H', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 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,
    '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,
    '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', '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,
    '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', '_', '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,
    '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,
    '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,
    '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,
    '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,
    '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', '_', '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,
    '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', '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,
    '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,
    '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,
    '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,
    '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,
    '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,
    '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,
    'W', 'i', 'n', 'd', 'o', 'w', 'O', 'k', 'B', 'u', 't', 't', 'o', 'n', 'H', 'i', 'n', 't', 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,
    '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,
    '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,
    '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', '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,
    'i', 's', 'T', 'e', 'x', 't', 'M', 'o', 'd', 'e', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 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,
    't', 'o', 'M', 'S', 'e', 'c', 's', 'S', 'i', 'n', 'c', 'e', 'E', 'p', 'o', 'c', 'h', 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,
    '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', '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,
    '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,
    '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,
    '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,
    '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,
    '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', '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,
    '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', '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,
    '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,
    '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,
    '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,
    '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,
    '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,
    '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,
    '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,
    '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,
    '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', '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,
    '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,
    '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', 'o', 'p', 'o', 'm', 'o', 'f', 'o', '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', '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,
    '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,
    '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,
    '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,
    '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,
    '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', '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,
    '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,
    '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,
    '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,
    '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,
    '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,
    '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,
    '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,
    '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,
    '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,
    '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,
    '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,
    's', 'e', 't', 'T', 'i', 'm', 'e', 'r', 'T', 'y', 'p', '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,
    '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,
    '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', '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,
    '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,
    '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,
    '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,
    '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,
    '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', '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,
    '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,
    '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,
    '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', '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,
    '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,
    '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,
    't', 'r', 'a', 'n', 's', 'p', 'o', 's', '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,
    '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,
    '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,
    '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,
    '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,
    '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,
    'h', 'a', 's', 'E', 'x', 'p', 'i', 'r', 'e', 'd', 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,
    '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,
    '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,
    '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,
    '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,
    '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,
    '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', '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,
    '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,
    '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,
    's', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 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,
    '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,
    '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', 'o', 'm', 'p', 'r', 'e', 's', 's', 0,
    'p', 'u', 's', 'h', '_', 'b', 'a', 'c', 'k', 0,
    'p', 'r', 'e', 'c', 'i', 's', 'i', 'o', 'n', 0,
    'q', 'C', 'h', 'e', 'c', 'k', 's', 'u', 'm', 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,
    '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,
    '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,
    '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,
    '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,
    'k', 'e', 'y', 'C', 'o', 'u', 'n', 't', 0,
    't', 'y', 'p', 'e', 'N', 'a', 'm', 'e', 0,
    '_', '_', 'i', 'd', 'i', 'v', '_', '_', 0,
    '_', '_', 'i', 's', 'u', 'b', '_', '_', 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,
    '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,
    'i', 's', 'H', 'i', 'd', 'd', 'e', 'n', 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,
    '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,
    '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,
    '_', '_', 'h', 'a', 's', 'h', '_', '_', 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,
    'T', 'a', 'b', 'F', 'o', 'c', 'u', 's', 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,
    '_', '_', '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,
    '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,
    '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', 'u', 'b', '_', '_', 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', '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', 'u', 'r', 'd', 'i', 's', 'h', 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', 'h', 'i', 'n', 'e', 's', 'e', 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,
    'c', 'u', 'r', 'r', 'e', 'n', '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', '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,
    '_', '_', 'a', 'n', 'd', '_', '_', 0,
    '_', '_', 'x', 'o', 'r', '_', '_', 0,
    '_', '_', 'i', 'n', 't', '_', '_', 0,
    '_', '_', 'i', 'o', 'r', '_', '_', 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,
    '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,
    'c', 'e', 'n', 't', 'e', 'r', 0,
    'p', 'r', 'o', 'p', 'e', '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,
    '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,
    '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', '_', '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,
    '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,
    '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,
    '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,
    '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,
    '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,
    '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,
    'm', 'o', 'd', 'e', 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,
    '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,
    't', 'y', 'p', 'e', 0,
    'S', 'h', 'o', 'w', 0,
    'q', 'u', 'i', 't', 0,
    'e', 'x', 'i', 't', 0,
    'e', 'x', 'e', 'c', 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,
    '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,
    'b', 'o', 'm', 0,
    'r', 'u', 'n', 0,
    'c', 'a', 'p', 0,
    'a', 'd', 'd', 0,
    'u', 'r', 'l', 0,
    't', 'a', 'g', 0,
    'p', 'i', 'd', 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,
    '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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
#include <qglobal.h>
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
static int PYQT_VERSION = 0x050402;
static const char *PYQT_VERSION_STR = "5.4.2";
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbitarray.sip"
#include <qbitarray.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 25 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcollator.sip"
#include <qcollator.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreapplication.sip"
#include <qcoreapplication.h>
#line 202 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_SSIZE_T i = 0; i < PyList_GET_SIZE(qtcore_PreRoutines); ++i)
    {
        PyObject *pr = PyList_GET_ITEM(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 (SIP_SSIZE_T i = 0; i < PyList_GET_SIZE(qtcore_PostRoutines); ++i)
    {
        PyObject *pr = PyList_GET_ITEM(qtcore_PostRoutines, i);

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

            Py_XDECREF(res);
        }
    }
}
#line 256 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdiriterator.sip"
#include <qdiriterator.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qeasingcurve.sip"
#include <qeasingcurve.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qelapsedtimer.sip"
#include <qelapsedtimer.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlibrary.sip"
#include <qlibrary.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qline.sip"
#include <qline.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlogging.sip"
#include <qlogging.h>
#line 165 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetatype.sip"
#include <qmetatype.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnumeric.sip"
#include <qnumeric.h>
#line 709 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 25 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstorageinfo.sip"
#include <qstorageinfo.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextboundaryfinder.sip"
#include <qtextboundaryfinder.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 25 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtimezone.sip"
#include <qtimezone.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/quuid.sip"
#include <quuid.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4821 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

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

QVariant sipVH_QtCore_1(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QVariant& a0,const QVariant& a1,double 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_2(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QVariant& a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N",new QVariant(a0),sipType_QVariant,NULL);

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

void sipVH_QtCore_3(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QAbstractAnimation::State a0,QAbstractAnimation::State a1)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "FF",a0,sipType_QAbstractAnimation_State,a1,sipType_QAbstractAnimation_State);

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

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

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

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

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

    return sipRes;
}

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;
}

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

QString sipVH_QtCore_8(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;
}

void sipVH_QtCore_9(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QTimerEvent*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QTimerEvent,NULL);

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

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

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

    return sipRes;
}

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

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

QString sipVH_QtCore_12(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_13(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_14(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_15(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;
}

QString sipVH_QtCore_16(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;
}

QModelIndex sipVH_QtCore_17(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;
}

Qt::DropActions sipVH_QtCore_18(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;
}

void sipVH_QtCore_19(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0,Qt::SortOrder a1)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "iF",a0,a1,sipType_Qt_SortOrder);

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

bool sipVH_QtCore_20(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::ItemFlags sipVH_QtCore_21(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;
}

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

int sipVH_QtCore_24(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;
}

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

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

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

QStringList sipVH_QtCore_27(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;
}

QList<QModelIndex> sipVH_QtCore_28(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QModelIndex& a0,int a1,const QVariant& a2,int a3,Qt::MatchFlags a4)
{
    QList<QModelIndex> 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;
}

QSize sipVH_QtCore_29(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;
}

QModelIndex sipVH_QtCore_30(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;
}

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

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

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

bool sipVH_QtCore_33(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_34(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QList<QModelIndex>& 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;
}

bool sipVH_QtCore_35(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_36(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_37(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_38(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;
}

QItemSelection sipVH_QtCore_39(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_40(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QAbstractItemModel*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QAbstractItemModel,NULL);

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

void sipVH_QtCore_41(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QAbstractAnimation::Direction a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "F",a0,sipType_QAbstractAnimation_Direction);

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

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

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

    return sipRes;
}

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

#line 269 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_AS_STRING(buf), SIPBytes_GET_SIZE(buf));
                sipRes = SIPBytes_GET_SIZE(buf);
            }
        
            Py_DECREF(buf);
            Py_DECREF(result);
        }
#line 5253 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

    Py_DECREF(sipMethod);

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

    SIP_RELEASE_GIL(sipGILState)

    return sipRes;
}

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

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

    return sipRes;
}

bool sipVH_QtCore_45(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_46(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QMetaMethod& a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N",new QMetaMethod(a0),sipType_QMetaMethod,NULL);

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

void sipVH_QtCore_47(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QChildEvent*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QChildEvent,NULL);

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

QVariant sipVH_QtCore_48(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_49(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_50(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QModelIndex& a0,QItemSelectionModel::SelectionFlags a1)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NN",new QModelIndex(a0),sipType_QModelIndex,NULL,new QItemSelectionModel::SelectionFlags(a1),sipType_QItemSelectionModel_SelectionFlags,NULL);

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

void sipVH_QtCore_51(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QItemSelection& a0,QItemSelectionModel::SelectionFlags a1)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NN",new QItemSelection(a0),sipType_QItemSelection,NULL,new QItemSelectionModel::SelectionFlags(a1),sipType_QItemSelectionModel_SelectionFlags,NULL);

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

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

#line 204 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_AS_STRING(buf), SIPBytes_GET_SIZE(buf));
                sipRes = SIPBytes_GET_SIZE(buf);
            }
        
            Py_DECREF(buf);
            Py_DECREF(result);
        }
#line 5363 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

    Py_DECREF(sipMethod);

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

    SIP_RELEASE_GIL(sipGILState)

    return sipRes;
}

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

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

    return sipRes;
}

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

bool sipVH_QtCore_56(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_57(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_58(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_59(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_60(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;
}

int sipVH_QtCore_61(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;
}

QList<QAbstractEventDispatcher::TimerInfo> sipVH_QtCore_62(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_63(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;
}

void sipVH_QtCore_64(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0,int a1,Qt::TimerType a2,QObject*a3)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "iiFD",a0,a1,a2,sipType_Qt_TimerType,a3,sipType_QObject,NULL);

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

void sipVH_QtCore_65(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QSocketNotifier*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QSocketNotifier,NULL);

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

bool sipVH_QtCore_66(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 sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t)
{
#line 22 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_virtual_error_handler.sip"
    pyqt5_err_print();
#line 5514 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 169 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
    sipRes = qpycore_ReturnFactory(a0);
#line 6265 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 152 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
    sipRes = qpycore_ArgumentFactory(a0, a1);
#line 6295 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, str name=None, str result=None)\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 670 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
    return qpycore_pyqtslot(sipArgs, sipKwds);
#line 6322 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 653 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
    Py_INCREF(a1);
    sipRes = a1;
#line 6344 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 647 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
    Py_INCREF(a0);
    sipRes = a0;
#line 6374 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 641 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
    Py_INCREF(a0);
    sipRes = a0;
#line 6404 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 636 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
    sipRes = qpycore_Flags(a0);
#line 6433 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 631 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
    sipRes = qpycore_Enums(a0);
#line 6464 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 626 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
    sipRes = qpycore_ClassInfo(a0, a1);
#line 6498 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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(callable) -> callable");

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 148 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 6784 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 138 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 6817 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 128 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 6852 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlogging.sip"
    Py_BEGIN_ALLOW_THREADS
    qErrnoWarning(a0, "%s", a1);
    Py_END_ALLOW_THREADS
#line 6886 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 121 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlogging.sip"
    Py_BEGIN_ALLOW_THREADS
    qErrnoWarning("%s", a0);
    Py_END_ALLOW_THREADS
#line 6904 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 104 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 6939 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 94 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 6974 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 251 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreapplication.sip"
    // Restore the input hook.
    PyOS_InputHook = qtcore_input_hook;
#line 7002 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 245 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreapplication.sip"
    // Clear the Python input hook installed when the module was initialised.
    PyOS_InputHook = 0;
#line 7029 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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)");

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 180 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(qtcore_PreRoutines, 0, a0);
    
        qAddPreRoutine(qtcore_CallPreRoutines);
    }
    else
    {
        sipIsErr = 1;
    }
#line 7075 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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)");

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 164 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreapplication.sip"
    // Remove it from the list of post routines if it exists.
    if (qtcore_PostRoutines != NULL)
        for (SIP_SSIZE_T i = 0; i < PyList_GET_SIZE(qtcore_PostRoutines); ++i)
            if (PyList_GET_ITEM(qtcore_PostRoutines, i) == a0)
            {
                Py_DECREF(a0);
                Py_INCREF(Py_None);
                PyList_SET_ITEM(qtcore_PostRoutines, i, Py_None);
    
                break;
            }
#line 7116 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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)");

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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_SSIZE_T i = 0; i < PyList_GET_SIZE(qtcore_PostRoutines); ++i)
            if (PyList_GET_ITEM(qtcore_PostRoutines, i) == Py_None)
            {
                Py_DECREF(Py_None);
                Py_INCREF(a0);
                PyList_SET_ITEM(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_SET_ITEM(qtcore_PostRoutines, 0, a0);
    
        qAddPostRoutine(qtcore_CallPostRoutines);
    }
    else
    {
        sipIsErr = 1;
    }
#line 7177 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_qUncompress, "qUncompress(QByteArray) -> 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(QByteArray, int compressionLevel=-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_qChecksum, "qChecksum(str) -> 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
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_pyqtPickleProtocol, "pyqtPickleProtocol() -> int-or-None");

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 225 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
    sipRes = qpycore_pickle_protocol;
    if (!sipRes)
        sipRes = Py_None;
    
    Py_INCREF(sipRes);
#line 7308 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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(int-or-None)");

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

    return sipType;
}


/* This defines each external type declared in this module, */
static sipExternalTypeDef externalTypesTable[] = {
    {297, "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_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_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}}, sipNameNr_Endian, 234, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSysInfo__Sizes, {0}}, sipNameNr_Sizes, 234, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QXmlStreamReader__Error, {0}}, sipNameNr_Error, 305, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QXmlStreamReader__ReadElementTextBehaviour, {0}}, sipNameNr_ReadElementTextBehaviour, 305, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QXmlStreamReader__TokenType, {0}}, sipNameNr_TokenType, 305, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QVariant__Type, {0}}, sipNameNr_Type, 286, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QUuid__Version, {0}}, sipNameNr_Version, 283, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QUuid__Variant, {0}}, sipNameNr_Variant, 283, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QUrl__UserInputResolutionOption, {0}}, sipNameNr_UserInputResolutionOption, 274, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QUrl__ComponentFormattingOption, {0}}, sipNameNr_ComponentFormattingOption, 274, slots_QUrl_ComponentFormattingOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QUrl__UrlFormattingOption, {0}}, sipNameNr_UrlFormattingOption, 274, slots_QUrl_UrlFormattingOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QUrl__ParsingMode, {0}}, sipNameNr_ParsingMode, 274, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTimeZone__NameType, {0}}, sipNameNr_NameType, 267, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTimeZone__TimeType, {0}}, sipNameNr_TimeType, 267, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTimeLine__State, {0}}, sipNameNr_State, 263, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTimeLine__Direction, {0}}, sipNameNr_Direction, 263, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTimeLine__CurveShape, {0}}, sipNameNr_CurveShape, 263, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QThread__Priority, {0}}, sipNameNr_Priority, 259, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTextStream__Status, {0}}, sipNameNr_Status, 252, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTextStream__NumberFlag, {0}}, sipNameNr_NumberFlag, 252, slots_QTextStream_NumberFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTextStream__FieldAlignment, {0}}, sipNameNr_FieldAlignment, 252, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTextStream__RealNumberNotation, {0}}, sipNameNr_RealNumberNotation, 252, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTextCodec__ConversionFlag, {0}}, sipNameNr_ConversionFlag, 246, slots_QTextCodec_ConversionFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTextBoundaryFinder__BoundaryType, {0}}, sipNameNr_BoundaryType, 242, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTextBoundaryFinder__BoundaryReason, {0}}, sipNameNr_BoundaryReason, 242, slots_QTextBoundaryFinder_BoundaryReason},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSystemSemaphore__SystemSemaphoreError, {0}}, sipNameNr_SystemSemaphoreError, 237, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSystemSemaphore__AccessMode, {0}}, sipNameNr_AccessMode, 237, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStateMachine__Error, {0}}, sipNameNr_Error, 224, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStateMachine__EventPriority, {0}}, sipNameNr_EventPriority, 224, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QState__RestorePolicy, {0}}, sipNameNr_RestorePolicy, 221, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QState__ChildMode, {0}}, sipNameNr_ChildMode, 221, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStandardPaths__LocateOption, {0}}, sipNameNr_LocateOption, 217, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStandardPaths__StandardLocation, {0}}, sipNameNr_StandardLocation, 217, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSocketNotifier__Type, {0}}, sipNameNr_Type, 214, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSharedMemory__SharedMemoryError, {0}}, sipNameNr_SharedMemoryError, 206, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSharedMemory__AccessMode, {0}}, sipNameNr_AccessMode, 206, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSettings__Scope, {0}}, sipNameNr_Scope, 202, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSettings__Format, {0}}, sipNameNr_Format, 202, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSettings__Status, {0}}, sipNameNr_Status, 202, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRegularExpression__MatchOption, {0}}, sipNameNr_MatchOption, 188, slots_QRegularExpression_MatchOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRegularExpression__MatchType, {0}}, sipNameNr_MatchType, 188, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRegularExpression__PatternOption, {0}}, sipNameNr_PatternOption, 188, slots_QRegularExpression_PatternOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRegExp__CaretMode, {0}}, sipNameNr_CaretMode, 185, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRegExp__PatternSyntax, {0}}, sipNameNr_PatternSyntax, 185, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QReadWriteLock__RecursionMode, {0}}, sipNameNr_RecursionMode, 181, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QProcess__InputChannelMode, {0}}, sipNameNr_InputChannelMode, 171, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QProcess__ProcessChannelMode, {0}}, sipNameNr_ProcessChannelMode, 171, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QProcess__ProcessChannel, {0}}, sipNameNr_ProcessChannel, 171, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QProcess__ProcessState, {0}}, sipNameNr_ProcessState, 171, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QProcess__ProcessError, {0}}, sipNameNr_ProcessError, 171, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QProcess__ExitStatus, {0}}, sipNameNr_ExitStatus, 171, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMutex__RecursionMode, {0}}, sipNameNr_RecursionMode, 159, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMimeDatabase__MatchMode, {0}}, sipNameNr_MatchMode, 155, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMetaType__TypeFlag, {0}}, sipNameNr_TypeFlag, 150, slots_QMetaType_TypeFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMetaType__Type, {0}}, sipNameNr_Type, 150, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMetaMethod__MethodType, {0}}, sipNameNr_MethodType, 145, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMetaMethod__Access, {0}}, sipNameNr_Access, 145, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QtMsgType, {0}}, sipNameNr_QtMsgType, -1, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLockFile__LockError, {0}}, sipNameNr_LockError, 134, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLocale__QuotationStyle, {0}}, sipNameNr_QuotationStyle, 124, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLocale__CurrencySymbolFormat, {0}}, sipNameNr_CurrencySymbolFormat, 124, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLocale__Script, {0}}, sipNameNr_Script, 124, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLocale__MeasurementSystem, {0}}, sipNameNr_MeasurementSystem, 124, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLocale__FormatType, {0}}, sipNameNr_FormatType, 124, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLocale__NumberOption, {0}}, sipNameNr_NumberOption, 124, slots_QLocale_NumberOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLocale__Country, {0}}, sipNameNr_Country, 124, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLocale__Language, {0}}, sipNameNr_Language, 124, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLineF__IntersectType, {0}}, sipNameNr_IntersectType, 102, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLibraryInfo__LibraryLocation, {0}}, sipNameNr_LibraryLocation, 99, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLibrary__LoadHint, {0}}, sipNameNr_LoadHint, 96, slots_QLibrary_LoadHint},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QJsonValue__Type, {0}}, sipNameNr_Type, 94, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QJsonDocument__JsonFormat, {0}}, sipNameNr_JsonFormat, 88, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QJsonDocument__DataValidation, {0}}, sipNameNr_DataValidation, 88, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QJsonParseError__ParseError, {0}}, sipNameNr_ParseError, 92, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QItemSelectionModel__SelectionFlag, {0}}, sipNameNr_SelectionFlag, 83, slots_QItemSelectionModel_SelectionFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QIODevice__OpenModeFlag, {0}}, sipNameNr_OpenModeFlag, 78, slots_QIODevice_OpenModeFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QHistoryState__HistoryType, {0}}, sipNameNr_HistoryType, 76, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFileDevice__MemoryMapFlags, {0}}, sipNameNr_MemoryMapFlags, 61, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFileDevice__FileHandleFlag, {0}}, sipNameNr_FileHandleFlag, 61, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFileDevice__Permission, {0}}, sipNameNr_Permission, 61, slots_QFileDevice_Permission},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFileDevice__FileError, {0}}, sipNameNr_FileError, 61, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QEventLoop__ProcessEventsFlag, {0}}, sipNameNr_ProcessEventsFlag, 55, slots_QEventLoop_ProcessEventsFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QElapsedTimer__ClockType, {0}}, sipNameNr_ClockType, 51, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QEasingCurve__Type, {0}}, sipNameNr_Type, 49, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDirIterator__IteratorFlag, {0}}, sipNameNr_IteratorFlag, 45, slots_QDirIterator_IteratorFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDir__SortFlag, {0}}, sipNameNr_SortFlag, 40, slots_QDir_SortFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDir__Filter, {0}}, sipNameNr_Filter, 40, slots_QDir_Filter},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDate__MonthNameType, {0}}, sipNameNr_MonthNameType, 37, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDataStream__FloatingPointPrecision, {0}}, sipNameNr_FloatingPointPrecision, 32, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDataStream__Status, {0}}, sipNameNr_Status, 32, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDataStream__ByteOrder, {0}}, sipNameNr_ByteOrder, 32, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDataStream__Version, {0}}, sipNameNr_Version, 32, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCryptographicHash__Algorithm, {0}}, sipNameNr_Algorithm, 30, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QEvent__Type, {0}}, sipNameNr_Type, 53, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCommandLineParser__SingleDashWordOptionMode, {0}}, sipNameNr_SingleDashWordOptionMode, 27, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QByteArray__Base64Option, {0}}, sipNameNr_Base64Option, 18, slots_QByteArray_Base64Option},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractItemModel__LayoutChangeHint, {0}}, sipNameNr_LayoutChangeHint, 6, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractAnimation__DeletionPolicy, {0}}, sipNameNr_DeletionPolicy, 0, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractAnimation__State, {0}}, sipNameNr_State, 0, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractAnimation__Direction, {0}}, sipNameNr_Direction, 0, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__MouseEventFlag, {0}}, sipNameNr_MouseEventFlag, 310, slots_Qt_MouseEventFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__MouseEventSource, {0}}, sipNameNr_MouseEventSource, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ScrollPhase, {0}}, sipNameNr_ScrollPhase, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__NativeGestureType, {0}}, sipNameNr_NativeGestureType, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__Edge, {0}}, sipNameNr_Edge, 310, slots_Qt_Edge},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ApplicationState, {0}}, sipNameNr_ApplicationState, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__HitTestAccuracy, {0}}, sipNameNr_HitTestAccuracy, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__WhiteSpaceMode, {0}}, sipNameNr_WhiteSpaceMode, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__FindChildOption, {0}}, sipNameNr_FindChildOption, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ScreenOrientation, {0}}, sipNameNr_ScreenOrientation, 310, slots_Qt_ScreenOrientation},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__CursorMoveStyle, {0}}, sipNameNr_CursorMoveStyle, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__NavigationMode, {0}}, sipNameNr_NavigationMode, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__GestureFlag, {0}}, sipNameNr_GestureFlag, 310, slots_Qt_GestureFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__GestureType, {0}}, sipNameNr_GestureType, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__GestureState, {0}}, sipNameNr_GestureState, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TouchPointState, {0}}, sipNameNr_TouchPointState, 310, slots_Qt_TouchPointState},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__CoordinateSystem, {0}}, sipNameNr_CoordinateSystem, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__AnchorPoint, {0}}, sipNameNr_AnchorPoint, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__InputMethodHint, {0}}, sipNameNr_InputMethodHint, 310, slots_Qt_InputMethodHint},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TileRule, {0}}, sipNameNr_TileRule, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__WindowFrameSection, {0}}, sipNameNr_WindowFrameSection, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__SizeHint, {0}}, sipNameNr_SizeHint, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__SizeMode, {0}}, sipNameNr_SizeMode, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__EventPriority, {0}}, sipNameNr_EventPriority, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__Axis, {0}}, sipNameNr_Axis, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__MaskMode, {0}}, sipNameNr_MaskMode, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TextInteractionFlag, {0}}, sipNameNr_TextInteractionFlag, 310, slots_Qt_TextInteractionFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ItemSelectionMode, {0}}, sipNameNr_ItemSelectionMode, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ApplicationAttribute, {0}}, sipNameNr_ApplicationAttribute, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__WindowModality, {0}}, sipNameNr_WindowModality, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__MatchFlag, {0}}, sipNameNr_MatchFlag, 310, slots_Qt_MatchFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ItemFlag, {0}}, sipNameNr_ItemFlag, 310, slots_Qt_ItemFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ItemDataRole, {0}}, sipNameNr_ItemDataRole, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__CheckState, {0}}, sipNameNr_CheckState, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__DropAction, {0}}, sipNameNr_DropAction, 310, slots_Qt_DropAction},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__LayoutDirection, {0}}, sipNameNr_LayoutDirection, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ToolButtonStyle, {0}}, sipNameNr_ToolButtonStyle, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__InputMethodQuery, {0}}, sipNameNr_InputMethodQuery, 310, slots_Qt_InputMethodQuery},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ContextMenuPolicy, {0}}, sipNameNr_ContextMenuPolicy, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__FocusReason, {0}}, sipNameNr_FocusReason, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TransformationMode, {0}}, sipNameNr_TransformationMode, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ClipOperation, {0}}, sipNameNr_ClipOperation, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__FillRule, {0}}, sipNameNr_FillRule, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ShortcutContext, {0}}, sipNameNr_ShortcutContext, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ConnectionType, {0}}, sipNameNr_ConnectionType, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__Corner, {0}}, sipNameNr_Corner, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__CaseSensitivity, {0}}, sipNameNr_CaseSensitivity, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ScrollBarPolicy, {0}}, sipNameNr_ScrollBarPolicy, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__DayOfWeek, {0}}, sipNameNr_DayOfWeek, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TimeSpec, {0}}, sipNameNr_TimeSpec, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__DateFormat, {0}}, sipNameNr_DateFormat, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ToolBarArea, {0}}, sipNameNr_ToolBarArea, 310, slots_Qt_ToolBarArea},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TimerType, {0}}, sipNameNr_TimerType, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__DockWidgetArea, {0}}, sipNameNr_DockWidgetArea, 310, slots_Qt_DockWidgetArea},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__AspectRatioMode, {0}}, sipNameNr_AspectRatioMode, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TextFormat, {0}}, sipNameNr_TextFormat, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__CursorShape, {0}}, sipNameNr_CursorShape, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__UIEffect, {0}}, sipNameNr_UIEffect, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__BrushStyle, {0}}, sipNameNr_BrushStyle, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__PenJoinStyle, {0}}, sipNameNr_PenJoinStyle, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__PenCapStyle, {0}}, sipNameNr_PenCapStyle, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__PenStyle, {0}}, sipNameNr_PenStyle, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ArrowType, {0}}, sipNameNr_ArrowType, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__Key, {0}}, sipNameNr_Key, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__BGMode, {0}}, sipNameNr_BGMode, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ImageConversionFlag, {0}}, sipNameNr_ImageConversionFlag, 310, slots_Qt_ImageConversionFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__WidgetAttribute, {0}}, sipNameNr_WidgetAttribute, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__WindowState, {0}}, sipNameNr_WindowState, 310, slots_Qt_WindowState},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__WindowType, {0}}, sipNameNr_WindowType, 310, slots_Qt_WindowType},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TextElideMode, {0}}, sipNameNr_TextElideMode, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TextFlag, {0}}, sipNameNr_TextFlag, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__AlignmentFlag, {0}}, sipNameNr_AlignmentFlag, 310, slots_Qt_AlignmentFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__SortOrder, {0}}, sipNameNr_SortOrder, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__FocusPolicy, {0}}, sipNameNr_FocusPolicy, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__Orientation, {0}}, sipNameNr_Orientation, 310, slots_Qt_Orientation},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__MouseButton, {0}}, sipNameNr_MouseButton, 310, slots_Qt_MouseButton},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__Modifier, {0}}, sipNameNr_Modifier, 310, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__KeyboardModifier, {0}}, sipNameNr_KeyboardModifier, 310, slots_Qt_KeyboardModifier},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__GlobalColor, {0}}, sipNameNr_GlobalColor, 310, NULL},
};

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


/*
 * This defines each type in this module.
 */
static sipTypeDef *typesTable[] = {
    &sipTypeDef_QtCore_QAbstractAnimation.super.ctd_base,
    &enumTypes[97].etd_base,
    &enumTypes[99].etd_base,
    &enumTypes[98].etd_base,
    &sipTypeDef_QtCore_QAbstractEventDispatcher.super.ctd_base,
    &sipTypeDef_QtCore_QAbstractEventDispatcher_TimerInfo.super.ctd_base,
    &sipTypeDef_QtCore_QAbstractItemModel.super.ctd_base,
    &enumTypes[96].etd_base,
    &sipTypeDef_QtCore_QAbstractListModel.super.ctd_base,
    &sipTypeDef_QtCore_QAbstractNativeEventFilter.super.ctd_base,
    &sipTypeDef_QtCore_QAbstractProxyModel.super.ctd_base,
    &sipTypeDef_QtCore_QAbstractState.super.ctd_base,
    &sipTypeDef_QtCore_QAbstractTableModel.super.ctd_base,
    &sipTypeDef_QtCore_QAbstractTransition.super.ctd_base,
    &sipTypeDef_QtCore_QAnimationGroup.super.ctd_base,
    &sipTypeDef_QtCore_QBasicTimer.super.ctd_base,
    &sipTypeDef_QtCore_QBitArray.super.ctd_base,
    &sipTypeDef_QtCore_QBuffer.super.ctd_base,
    &sipTypeDef_QtCore_QByteArray.super.ctd_base,
    &enumTypes[95].etd_base,
    &sipTypeDef_QtCore_QByteArray_Base64Options.super.ctd_base,
    &sipTypeDef_QtCore_QByteArrayMatcher.super.ctd_base,
    &sipTypeDef_QtCore_QChar.mtd_base,
    &sipTypeDef_QtCore_QChildEvent.super.ctd_base,
    &sipTypeDef_QtCore_QCollator.super.ctd_base,
    &sipTypeDef_QtCore_QCollatorSortKey.super.ctd_base,
    &sipTypeDef_QtCore_QCommandLineOption.super.ctd_base,
    &sipTypeDef_QtCore_QCommandLineParser.super.ctd_base,
    &enumTypes[94].etd_base,
    &sipTypeDef_QtCore_QCoreApplication.super.ctd_base,
    &sipTypeDef_QtCore_QCryptographicHash.super.ctd_base,
    &enumTypes[92].etd_base,
    &sipTypeDef_QtCore_QDataStream.super.ctd_base,
    &enumTypes[90].etd_base,
    &enumTypes[88].etd_base,
    &enumTypes[89].etd_base,
    &enumTypes[91].etd_base,
    &sipTypeDef_QtCore_QDate.super.ctd_base,
    &enumTypes[87].etd_base,
    &sipTypeDef_QtCore_QDateTime.super.ctd_base,
    &sipTypeDef_QtCore_QDir.super.ctd_base,
    &enumTypes[86].etd_base,
    &sipTypeDef_QtCore_QDir_Filters.super.ctd_base,
    &enumTypes[85].etd_base,
    &sipTypeDef_QtCore_QDir_SortFlags.super.ctd_base,
    &sipTypeDef_QtCore_QDirIterator.super.ctd_base,
    &enumTypes[84].etd_base,
    &sipTypeDef_QtCore_QDirIterator_IteratorFlags.super.ctd_base,
    &sipTypeDef_QtCore_QDynamicPropertyChangeEvent.super.ctd_base,
    &sipTypeDef_QtCore_QEasingCurve.super.ctd_base,
    &enumTypes[83].etd_base,
    &sipTypeDef_QtCore_QElapsedTimer.super.ctd_base,
    &enumTypes[82].etd_base,
    &sipTypeDef_QtCore_QEvent.super.ctd_base,
    &enumTypes[93].etd_base,
    &sipTypeDef_QtCore_QEventLoop.super.ctd_base,
    &enumTypes[81].etd_base,
    &sipTypeDef_QtCore_QEventLoop_ProcessEventsFlags.super.ctd_base,
    &sipTypeDef_QtCore_QEventLoopLocker.super.ctd_base,
    &sipTypeDef_QtCore_QEventTransition.super.ctd_base,
    &sipTypeDef_QtCore_QFile.super.ctd_base,
    &sipTypeDef_QtCore_QFileDevice.super.ctd_base,
    &enumTypes[80].etd_base,
    &enumTypes[78].etd_base,
    &sipTypeDef_QtCore_QFileDevice_FileHandleFlags.super.ctd_base,
    &enumTypes[77].etd_base,
    &enumTypes[79].etd_base,
    &sipTypeDef_QtCore_QFileDevice_Permissions.super.ctd_base,
    &sipTypeDef_QtCore_QFileInfo.super.ctd_base,
    &sipTypeDef_QtCore_QFileSelector.super.ctd_base,
    &sipTypeDef_QtCore_QFileSystemWatcher.super.ctd_base,
    &sipTypeDef_QtCore_QFinalState.super.ctd_base,
    &sipTypeDef_QtCore_QGenericArgument.super.ctd_base,
    &sipTypeDef_QtCore_QGenericReturnArgument.super.ctd_base,
    &sipTypeDef_QtCore_QHash_0100QString_0100QVariant.mtd_base,
    &sipTypeDef_QtCore_QHash_1800_0100QByteArray.mtd_base,
    &sipTypeDef_QtCore_QHistoryState.super.ctd_base,
    &enumTypes[76].etd_base,
    &sipTypeDef_QtCore_QIODevice.super.ctd_base,
    &sipTypeDef_QtCore_QIODevice_OpenMode.super.ctd_base,
    &enumTypes[75].etd_base,
    &sipTypeDef_QtCore_QIdentityProxyModel.super.ctd_base,
    &sipTypeDef_QtCore_QItemSelection.super.ctd_base,
    &sipTypeDef_QtCore_QItemSelectionModel.super.ctd_base,
    &enumTypes[74].etd_base,
    &sipTypeDef_QtCore_QItemSelectionModel_SelectionFlags.super.ctd_base,
    &sipTypeDef_QtCore_QItemSelectionRange.super.ctd_base,
    &sipTypeDef_QtCore_QJsonArray.mtd_base,
    &sipTypeDef_QtCore_QJsonDocument.super.ctd_base,
    &enumTypes[72].etd_base,
    &enumTypes[71].etd_base,
    &sipTypeDef_QtCore_QJsonObject.mtd_base,
    &sipTypeDef_QtCore_QJsonParseError.super.ctd_base,
    &enumTypes[73].etd_base,
    &sipTypeDef_QtCore_QJsonValue.super.ctd_base,
    &enumTypes[70].etd_base,
    &sipTypeDef_QtCore_QLibrary.super.ctd_base,
    &enumTypes[69].etd_base,
    &sipTypeDef_QtCore_QLibrary_LoadHints.super.ctd_base,
    &sipTypeDef_QtCore_QLibraryInfo.super.ctd_base,
    &enumTypes[68].etd_base,
    &sipTypeDef_QtCore_QLine.super.ctd_base,
    &sipTypeDef_QtCore_QLineF.super.ctd_base,
    &enumTypes[67].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.super.ctd_base,
    &enumTypes[65].etd_base,
    &enumTypes[60].etd_base,
    &enumTypes[63].etd_base,
    &enumTypes[66].etd_base,
    &enumTypes[62].etd_base,
    &enumTypes[64].etd_base,
    &sipTypeDef_QtCore_QLocale_NumberOptions.super.ctd_base,
    &enumTypes[59].etd_base,
    &enumTypes[61].etd_base,
    &sipTypeDef_QtCore_QLockFile.super.ctd_base,
    &enumTypes[58].etd_base,
    &sipTypeDef_QtCore_QMap_0100QString_0100QVariant.mtd_base,
    &sipTypeDef_QtCore_QMap_1800_0100QVariant.mtd_base,
    &sipTypeDef_QtCore_QMargins.super.ctd_base,
    &sipTypeDef_QtCore_QMarginsF.super.ctd_base,
    &sipTypeDef_QtCore_QMessageAuthenticationCode.super.ctd_base,
    &sipTypeDef_QtCore_QMessageLogContext.super.ctd_base,
    &sipTypeDef_QtCore_QMessageLogger.super.ctd_base,
    &sipTypeDef_QtCore_QMetaClassInfo.super.ctd_base,
    &sipTypeDef_QtCore_QMetaEnum.super.ctd_base,
    &sipTypeDef_QtCore_QMetaMethod.super.ctd_base,
    &enumTypes[56].etd_base,
    &enumTypes[55].etd_base,
    &sipTypeDef_QtCore_QMetaObject.super.ctd_base,
    &sipTypeDef_QtCore_QMetaProperty.super.ctd_base,
    &sipTypeDef_QtCore_QMetaType.super.ctd_base,
    &enumTypes[54].etd_base,
    &enumTypes[53].etd_base,
    &sipTypeDef_QtCore_QMetaType_TypeFlags.super.ctd_base,
    &sipTypeDef_QtCore_QMimeData.super.ctd_base,
    &sipTypeDef_QtCore_QMimeDatabase.super.ctd_base,
    &enumTypes[52].etd_base,
    &sipTypeDef_QtCore_QMimeType.super.ctd_base,
    &sipTypeDef_QtCore_QModelIndex.super.ctd_base,
    &sipTypeDef_QtCore_QMutex.super.ctd_base,
    &enumTypes[51].etd_base,
    &sipTypeDef_QtCore_QMutexLocker.super.ctd_base,
    &sipTypeDef_QtCore_QObject.super.ctd_base,
    &sipTypeDef_QtCore_QObjectCleanupHandler.super.ctd_base,
    &sipTypeDef_QtCore_QPair_1800_1800.mtd_base,
    &sipTypeDef_QtCore_QParallelAnimationGroup.super.ctd_base,
    &sipTypeDef_QtCore_QPauseAnimation.super.ctd_base,
    &sipTypeDef_QtCore_QPersistentModelIndex.super.ctd_base,
    &sipTypeDef_QtCore_QPluginLoader.super.ctd_base,
    &sipTypeDef_QtCore_QPoint.super.ctd_base,
    &sipTypeDef_QtCore_QPointF.super.ctd_base,
    &sipTypeDef_QtCore_QProcess.super.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.super.ctd_base,
    &sipTypeDef_QtCore_QPropertyAnimation.super.ctd_base,
    &sipTypeDef_QtCore_QReadLocker.super.ctd_base,
    &sipTypeDef_QtCore_QReadWriteLock.super.ctd_base,
    &enumTypes[44].etd_base,
    &sipTypeDef_QtCore_QRect.super.ctd_base,
    &sipTypeDef_QtCore_QRectF.super.ctd_base,
    &sipTypeDef_QtCore_QRegExp.super.ctd_base,
    &enumTypes[42].etd_base,
    &enumTypes[43].etd_base,
    &sipTypeDef_QtCore_QRegularExpression.super.ctd_base,
    &enumTypes[39].etd_base,
    &sipTypeDef_QtCore_QRegularExpression_MatchOptions.super.ctd_base,
    &enumTypes[40].etd_base,
    &enumTypes[41].etd_base,
    &sipTypeDef_QtCore_QRegularExpression_PatternOptions.super.ctd_base,
    &sipTypeDef_QtCore_QRegularExpressionMatch.super.ctd_base,
    &sipTypeDef_QtCore_QRegularExpressionMatchIterator.super.ctd_base,
    &sipTypeDef_QtCore_QResource.super.ctd_base,
    &sipTypeDef_QtCore_QRunnable.super.ctd_base,
    &sipTypeDef_QtCore_QSaveFile.super.ctd_base,
    &sipTypeDef_QtCore_QSemaphore.super.ctd_base,
    &sipTypeDef_QtCore_QSequentialAnimationGroup.super.ctd_base,
    &sipTypeDef_QtCore_QSet_0101QAbstractState.mtd_base,
    &sipTypeDef_QtCore_QSettings.super.ctd_base,
    &enumTypes[37].etd_base,
    &enumTypes[36].etd_base,
    &enumTypes[38].etd_base,
    &sipTypeDef_QtCore_QSharedMemory.super.ctd_base,
    &enumTypes[35].etd_base,
    &enumTypes[34].etd_base,
    &sipTypeDef_QtCore_QSignalBlocker.super.ctd_base,
    &sipTypeDef_QtCore_QSignalMapper.super.ctd_base,
    &sipTypeDef_QtCore_QSignalTransition.super.ctd_base,
    &sipTypeDef_QtCore_QSize.super.ctd_base,
    &sipTypeDef_QtCore_QSizeF.super.ctd_base,
    &sipTypeDef_QtCore_QSocketNotifier.super.ctd_base,
    &enumTypes[33].etd_base,
    &sipTypeDef_QtCore_QSortFilterProxyModel.super.ctd_base,
    &sipTypeDef_QtCore_QStandardPaths.super.ctd_base,
    &enumTypes[31].etd_base,
    &sipTypeDef_QtCore_QStandardPaths_LocateOptions.super.ctd_base,
    &enumTypes[32].etd_base,
    &sipTypeDef_QtCore_QState.super.ctd_base,
    &enumTypes[30].etd_base,
    &enumTypes[29].etd_base,
    &sipTypeDef_QtCore_QStateMachine.super.ctd_base,
    &enumTypes[27].etd_base,
    &enumTypes[28].etd_base,
    &sipTypeDef_QtCore_QStateMachine_SignalEvent.super.ctd_base,
    &sipTypeDef_QtCore_QStateMachine_WrappedEvent.super.ctd_base,
    &sipTypeDef_QtCore_QStorageInfo.super.ctd_base,
    &sipTypeDef_QtCore_QString.mtd_base,
    &sipTypeDef_QtCore_QStringList.mtd_base,
    &sipTypeDef_QtCore_QStringListModel.super.ctd_base,
    &sipTypeDef_QtCore_QStringRef.mtd_base,
    &sipTypeDef_QtCore_QSysInfo.super.ctd_base,
    &enumTypes[0].etd_base,
    &enumTypes[1].etd_base,
    &sipTypeDef_QtCore_QSystemSemaphore.super.ctd_base,
    &enumTypes[26].etd_base,
    &enumTypes[25].etd_base,
    &sipTypeDef_QtCore_QTemporaryDir.super.ctd_base,
    &sipTypeDef_QtCore_QTemporaryFile.super.ctd_base,
    &sipTypeDef_QtCore_QTextBoundaryFinder.super.ctd_base,
    &enumTypes[24].etd_base,
    &sipTypeDef_QtCore_QTextBoundaryFinder_BoundaryReasons.super.ctd_base,
    &enumTypes[23].etd_base,
    &sipTypeDef_QtCore_QTextCodec.super.ctd_base,
    &enumTypes[22].etd_base,
    &sipTypeDef_QtCore_QTextCodec_ConversionFlags.super.ctd_base,
    &sipTypeDef_QtCore_QTextCodec_ConverterState.super.ctd_base,
    &sipTypeDef_QtCore_QTextDecoder.super.ctd_base,
    &sipTypeDef_QtCore_QTextEncoder.super.ctd_base,
    &sipTypeDef_QtCore_QTextStream.super.ctd_base,
    &enumTypes[20].etd_base,
    &enumTypes[19].etd_base,
    &sipTypeDef_QtCore_QTextStream_NumberFlags.super.ctd_base,
    &enumTypes[21].etd_base,
    &enumTypes[18].etd_base,
    &sipTypeDef_QtCore_QTextStreamManipulator.super.ctd_base,
    &sipTypeDef_QtCore_QThread.super.ctd_base,
    &enumTypes[17].etd_base,
    &sipTypeDef_QtCore_QThreadPool.super.ctd_base,
    &sipTypeDef_QtCore_QTime.super.ctd_base,
    &sipTypeDef_QtCore_QTimeLine.super.ctd_base,
    &enumTypes[16].etd_base,
    &enumTypes[15].etd_base,
    &enumTypes[14].etd_base,
    &sipTypeDef_QtCore_QTimeZone.super.ctd_base,
    &enumTypes[12].etd_base,
    &sipTypeDef_QtCore_QTimeZone_OffsetData.super.ctd_base,
    &enumTypes[13].etd_base,
    &sipTypeDef_QtCore_QTimer.super.ctd_base,
    &sipTypeDef_QtCore_QTimerEvent.super.ctd_base,
    &sipTypeDef_QtCore_QTranslator.super.ctd_base,
    &sipTypeDef_QtCore_QUrl.super.ctd_base,
    &enumTypes[9].etd_base,
    &sipTypeDef_QtCore_QUrl_ComponentFormattingOptions.super.ctd_base,
    &sipTypeDef_QtCore_QUrl_FormattingOptions.super.ctd_base,
    &enumTypes[11].etd_base,
    &enumTypes[10].etd_base,
    &enumTypes[8].etd_base,
    &sipTypeDef_QtCore_QUrl_UserInputResolutionOptions.super.ctd_base,
    &sipTypeDef_QtCore_QUrlQuery.super.ctd_base,
    &sipTypeDef_QtCore_QUuid.super.ctd_base,
    &enumTypes[7].etd_base,
    &enumTypes[6].etd_base,
    &sipTypeDef_QtCore_QVariant.super.ctd_base,
    &enumTypes[5].etd_base,
    &sipTypeDef_QtCore_QVariantAnimation.super.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_QWaitCondition.super.ctd_base,
    0,
    &sipTypeDef_QtCore_QWriteLocker.super.ctd_base,
    &sipTypeDef_QtCore_QXmlStreamAttribute.super.ctd_base,
    &sipTypeDef_QtCore_QXmlStreamAttributes.super.ctd_base,
    &sipTypeDef_QtCore_QXmlStreamEntityDeclaration.super.ctd_base,
    &sipTypeDef_QtCore_QXmlStreamEntityResolver.super.ctd_base,
    &sipTypeDef_QtCore_QXmlStreamNamespaceDeclaration.super.ctd_base,
    &sipTypeDef_QtCore_QXmlStreamNotationDeclaration.super.ctd_base,
    &sipTypeDef_QtCore_QXmlStreamReader.super.ctd_base,
    &enumTypes[2].etd_base,
    &enumTypes[3].etd_base,
    &enumTypes[4].etd_base,
    &sipTypeDef_QtCore_QXmlStreamWriter.super.ctd_base,
    &sipTypeDef_QtCore_Qt.super.ctd_base,
    &sipTypeDef_QtCore_Qt_Alignment.super.ctd_base,
    &enumTypes[171].etd_base,
    &enumTypes[117].etd_base,
    &enumTypes[128].etd_base,
    &enumTypes[105].etd_base,
    &sipTypeDef_QtCore_Qt_ApplicationStates.super.ctd_base,
    &enumTypes[162].etd_base,
    &enumTypes[154].etd_base,
    &enumTypes[124].etd_base,
    &enumTypes[164].etd_base,
    &enumTypes[158].etd_base,
    &enumTypes[146].etd_base,
    &enumTypes[133].etd_base,
    &enumTypes[141].etd_base,
    &enumTypes[144].etd_base,
    &enumTypes[138].etd_base,
    &enumTypes[116].etd_base,
    &enumTypes[145].etd_base,
    &enumTypes[110].etd_base,
    &enumTypes[156].etd_base,
    &enumTypes[150].etd_base,
    &enumTypes[148].etd_base,
    &enumTypes[153].etd_base,
    &sipTypeDef_QtCore_Qt_DockWidgetAreas.super.ctd_base,
    &enumTypes[134].etd_base,
    &sipTypeDef_QtCore_Qt_DropActions.super.ctd_base,
    &enumTypes[104].etd_base,
    &sipTypeDef_QtCore_Qt_Edges.super.ctd_base,
    &enumTypes[123].etd_base,
    &enumTypes[142].etd_base,
    &enumTypes[108].etd_base,
    &sipTypeDef_QtCore_Qt_FindChildOptions.super.ctd_base,
    &enumTypes[173].etd_base,
    &enumTypes[139].etd_base,
    &enumTypes[112].etd_base,
    &sipTypeDef_QtCore_Qt_GestureFlags.super.ctd_base,
    &enumTypes[114].etd_base,
    &enumTypes[113].etd_base,
    &enumTypes[178].etd_base,
    &enumTypes[106].etd_base,
    &enumTypes[165].etd_base,
    &sipTypeDef_QtCore_Qt_ImageConversionFlags.super.ctd_base,
    &enumTypes[118].etd_base,
    &sipTypeDef_QtCore_Qt_InputMethodHints.super.ctd_base,
    &sipTypeDef_QtCore_Qt_InputMethodQueries.super.ctd_base,
    &enumTypes[137].etd_base,
    &enumTypes[132].etd_base,
    &enumTypes[131].etd_base,
    &sipTypeDef_QtCore_Qt_ItemFlags.super.ctd_base,
    &enumTypes[127].etd_base,
    &enumTypes[163].etd_base,
    &enumTypes[177].etd_base,
    &sipTypeDef_QtCore_Qt_KeyboardModifiers.super.ctd_base,
    &enumTypes[135].etd_base,
    &enumTypes[125].etd_base,
    &enumTypes[130].etd_base,
    &sipTypeDef_QtCore_Qt_MatchFlags.super.ctd_base,
    &enumTypes[176].etd_base,
    &enumTypes[175].etd_base,
    &sipTypeDef_QtCore_Qt_MouseButtons.super.ctd_base,
    &enumTypes[100].etd_base,
    &sipTypeDef_QtCore_Qt_MouseEventFlags.super.ctd_base,
    &enumTypes[101].etd_base,
    &enumTypes[103].etd_base,
    &enumTypes[111].etd_base,
    &enumTypes[174].etd_base,
    &sipTypeDef_QtCore_Qt_Orientations.super.ctd_base,
    &enumTypes[160].etd_base,
    &enumTypes[159].etd_base,
    &enumTypes[161].etd_base,
    &enumTypes[109].etd_base,
    &sipTypeDef_QtCore_Qt_ScreenOrientations.super.ctd_base,
    &enumTypes[147].etd_base,
    &enumTypes[102].etd_base,
    &enumTypes[143].etd_base,
    &enumTypes[121].etd_base,
    &enumTypes[122].etd_base,
    &enumTypes[172].etd_base,
    &enumTypes[169].etd_base,
    &enumTypes[170].etd_base,
    &enumTypes[155].etd_base,
    &enumTypes[126].etd_base,
    &sipTypeDef_QtCore_Qt_TextInteractionFlags.super.ctd_base,
    &enumTypes[119].etd_base,
    &enumTypes[149].etd_base,
    &enumTypes[152].etd_base,
    &enumTypes[151].etd_base,
    &sipTypeDef_QtCore_Qt_ToolBarAreas.super.ctd_base,
    &enumTypes[136].etd_base,
    &enumTypes[115].etd_base,
    &sipTypeDef_QtCore_Qt_TouchPointStates.super.ctd_base,
    &enumTypes[140].etd_base,
    &enumTypes[157].etd_base,
    &enumTypes[107].etd_base,
    &enumTypes[166].etd_base,
    &sipTypeDef_QtCore_Qt_WindowFlags.super.ctd_base,
    &enumTypes[120].etd_base,
    &enumTypes[129].etd_base,
    &enumTypes[167].etd_base,
    &sipTypeDef_QtCore_Qt_WindowStates.super.ctd_base,
    &enumTypes[168].etd_base,
    &enumTypes[57].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 handlers that this module implements and can be
 * used by other modules.
 */
static sipVirtHandlerFunc virtHandlersTable[] = {
    (sipVirtHandlerFunc)sipVH_QtCore_0,
    (sipVirtHandlerFunc)sipVH_QtCore_1,
    (sipVirtHandlerFunc)sipVH_QtCore_2,
    (sipVirtHandlerFunc)sipVH_QtCore_3,
    (sipVirtHandlerFunc)sipVH_QtCore_4,
    (sipVirtHandlerFunc)sipVH_QtCore_5,
    (sipVirtHandlerFunc)sipVH_QtCore_6,
    (sipVirtHandlerFunc)sipVH_QtCore_7,
    (sipVirtHandlerFunc)sipVH_QtCore_8,
    (sipVirtHandlerFunc)sipVH_QtCore_9,
    (sipVirtHandlerFunc)sipVH_QtCore_10,
    (sipVirtHandlerFunc)sipVH_QtCore_11,
    (sipVirtHandlerFunc)sipVH_QtCore_12,
    (sipVirtHandlerFunc)sipVH_QtCore_13,
    (sipVirtHandlerFunc)sipVH_QtCore_14,
    (sipVirtHandlerFunc)sipVH_QtCore_15,
    (sipVirtHandlerFunc)sipVH_QtCore_16,
    (sipVirtHandlerFunc)sipVH_QtCore_17,
    (sipVirtHandlerFunc)sipVH_QtCore_18,
    (sipVirtHandlerFunc)sipVH_QtCore_19,
    (sipVirtHandlerFunc)sipVH_QtCore_20,
    (sipVirtHandlerFunc)sipVH_QtCore_21,
    (sipVirtHandlerFunc)sipVH_QtCore_22,
    (sipVirtHandlerFunc)sipVH_QtCore_23,
    (sipVirtHandlerFunc)sipVH_QtCore_24,
    (sipVirtHandlerFunc)sipVH_QtCore_25,
    (sipVirtHandlerFunc)sipVH_QtCore_26,
    (sipVirtHandlerFunc)sipVH_QtCore_27,
    (sipVirtHandlerFunc)sipVH_QtCore_28,
    (sipVirtHandlerFunc)sipVH_QtCore_29,
    (sipVirtHandlerFunc)sipVH_QtCore_30,
    (sipVirtHandlerFunc)sipVH_QtCore_31,
    (sipVirtHandlerFunc)sipVH_QtCore_32,
    (sipVirtHandlerFunc)sipVH_QtCore_33,
    (sipVirtHandlerFunc)sipVH_QtCore_34,
    (sipVirtHandlerFunc)sipVH_QtCore_35,
    (sipVirtHandlerFunc)sipVH_QtCore_36,
    (sipVirtHandlerFunc)sipVH_QtCore_37,
    (sipVirtHandlerFunc)sipVH_QtCore_38,
    (sipVirtHandlerFunc)sipVH_QtCore_39,
    (sipVirtHandlerFunc)sipVH_QtCore_40,
    (sipVirtHandlerFunc)sipVH_QtCore_41,
    (sipVirtHandlerFunc)sipVH_QtCore_42,
    (sipVirtHandlerFunc)sipVH_QtCore_43,
    (sipVirtHandlerFunc)sipVH_QtCore_44,
    (sipVirtHandlerFunc)sipVH_QtCore_45,
    (sipVirtHandlerFunc)sipVH_QtCore_46,
    (sipVirtHandlerFunc)sipVH_QtCore_47,
    (sipVirtHandlerFunc)sipVH_QtCore_48,
    (sipVirtHandlerFunc)sipVH_QtCore_49,
    (sipVirtHandlerFunc)sipVH_QtCore_50,
    (sipVirtHandlerFunc)sipVH_QtCore_51,
    (sipVirtHandlerFunc)sipVH_QtCore_52,
    (sipVirtHandlerFunc)sipVH_QtCore_53,
    (sipVirtHandlerFunc)sipVH_QtCore_54,
    (sipVirtHandlerFunc)sipVH_QtCore_55,
    (sipVirtHandlerFunc)sipVH_QtCore_56,
    (sipVirtHandlerFunc)sipVH_QtCore_57,
    (sipVirtHandlerFunc)sipVH_QtCore_58,
    (sipVirtHandlerFunc)sipVH_QtCore_59,
    (sipVirtHandlerFunc)sipVH_QtCore_60,
    (sipVirtHandlerFunc)sipVH_QtCore_61,
    (sipVirtHandlerFunc)sipVH_QtCore_62,
    (sipVirtHandlerFunc)sipVH_QtCore_63,
    (sipVirtHandlerFunc)sipVH_QtCore_64,
    (sipVirtHandlerFunc)sipVH_QtCore_65,
    (sipVirtHandlerFunc)sipVH_QtCore_66,
};


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


/* This defines the class sub-convertors that this module defines. */
static sipSubClassConvertorDef convertorsTable[] = {
    {sipSubClass_QObject, {162, 255, 0}, NULL},
    {sipSubClass_QEvent, {53, 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 = {
    &typesTable[162],
    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,
    1,
    sipStrings_QtCore,
    NULL,
    &qtAPI,
    415,
    typesTable,
    externalTypesTable,
    5,
    enummembers,
    29,
    typedefsTable,
    virtHandlersTable,
    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_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_qChecksum), func_qChecksum, METH_VARARGS, SIP_MLDOC_CAST(doc_qChecksum)},
        {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 720 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
qpycore_init();
#line 10215 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 302 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreapplication.sip"
// Process events from the input hook.
PyOS_InputHook = qtcore_input_hook;
#line 724 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
qpycore_post_init(sipModuleDict);
#line 10241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

    SIP_MODULE_RETURN(sipModule);
}

#line 252 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 10249 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 286 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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;
        }

        SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but a 2 element non-string sequence is expected",
                        i, Py_TYPE(seq)->tp_name);
            else
                PyErr_Format(PyExc_TypeError,
                        "index " SIP_SSIZE_T_FORMAT " is a sequence of " SIP_SSIZE_T_FORMAT " 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_ITEM(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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'QString' is expected",
                    i, Py_TYPE(itm1)->tp_name);

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

            return 0;
        }

        PyObject *itm2 = PySequence_ITEM(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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'QString' is expected",
                    i, Py_TYPE(itm2)->tp_name);

            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 10440 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 257 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, pobj);
    }

    return l;
#line 10476 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0600QPair_0100QString_0100QString = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_1691,
        {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 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 10507 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstorageinfo.sip"
#include <qstorageinfo.h>
#line 10511 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 66 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'QStorageInfo' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 10620 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 40 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, tobj);
    }

    return l;
#line 10653 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QStorageInfo = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_12553,
        {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 139 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qset.sip"
#include <qset.h>
#line 10684 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 10688 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 173 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'QAbstractState' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 10795 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 143 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qset.sip"
    PyObject *s = PySet_New(0);

    if (!s)
        return 0;

    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);

            return 0;
        }

        PySet_Add(s, tobj);

        ++it;
    }

    return s;
#line 10832 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QSet_0101QAbstractState = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_8920,
        {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 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 10863 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstracttransition.sip"
#include <qabstracttransition.h>
#line 10867 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 175 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'QAbstractTransition' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 10974 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 148 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    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);

            return 0;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 11008 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0101QAbstractTransition = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_2905,
        {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 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 11039 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmimetype.sip"
#include <qmimetype.h>
#line 11043 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 66 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'QMimeType' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 11152 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 40 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, tobj);
    }

    return l;
#line 11185 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QMimeType = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_20006,
        {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 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 11216 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 11220 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 66 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'QUrl' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 11329 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 40 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, tobj);
    }

    return l;
#line 11362 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QUrl = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_37559,
        {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 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 11393 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 11397 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 66 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'QLocale' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 11506 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 40 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, tobj);
    }

    return l;
#line 11539 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QLocale = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_26149,
        {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 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 11570 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 99 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 11574 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 56 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'QPointF' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 11683 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, tobj);
    }

    return l;
#line 11716 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QVector_0100QPointF = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_20023,
        {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 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 11747 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcommandlineoption.sip"
#include <qcommandlineoption.h>
#line 11751 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 66 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'QCommandLineOption' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 11860 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 40 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, tobj);
    }

    return l;
#line 11893 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QCommandLineOption = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_4386,
        {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 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 11924 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 11928 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 175 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'QAbstractAnimation' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 12035 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 148 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    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);

            return 0;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 12069 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0101QAbstractAnimation = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_3549,
        {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 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 12100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 12104 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 175 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'QAbstractState' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 12211 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 148 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    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);

            return 0;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 12245 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0101QAbstractState = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_7425,
        {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 266 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 12276 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12280 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 321 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qhash.sip"
    if (!sipIsErr)
        return PyDict_Check(sipPy);

    QHash<int, QByteArray> *qh = new QHash<int, QByteArray>;

    SIP_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 key has type '%s' but 'int' is expected",
                    Py_TYPE(kobj)->tp_name);

            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 value has type '%s' but 'QByteArray' is expected",
                    Py_TYPE(vobj)->tp_name);

            delete qh;

            return 0;
        }

        qh->insert(k, *v);

        sipReleaseType(v, sipType_QByteArray, vstate);
    }
 
    *sipCppPtr = qh;
 
    return sipGetState(sipTransferObj);
#line 12368 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 270 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 12426 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QHash_1800_0100QByteArray = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_8942,
        {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 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 12457 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 70 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 12461 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 66 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'QPersistentModelIndex' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 12570 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 40 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, tobj);
    }

    return l;
#line 12603 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QPersistentModelIndex = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_2296,
        {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 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 12634 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12638 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 199 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qmap.sip"
    if (!sipIsErr)
        return PyDict_Check(sipPy);

    QMap<int, QVariant> *qm = new QMap<int, QVariant>;

    SIP_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 key has type '%s' but 'int' is expected",
                    Py_TYPE(kobj)->tp_name);

            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 value has type '%s' but 'QVariant' is expected",
                    Py_TYPE(vobj)->tp_name);

            delete qm;

            return 0;
        }

        qm->insert(k, *v);

        sipReleaseType(v, sipType_QVariant, vstate);
    }
 
    *sipCppPtr = qm;
 
    return sipGetState(sipTransferObj);
#line 12726 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 148 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 12784 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QMap_1800_0100QVariant = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_14773,
        {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 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 12815 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstracteventdispatcher.sip"
#include <qabstracteventdispatcher.h>
#line 33 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstracteventdispatcher.sip"
#include <qabstracteventdispatcher.h>
#line 12821 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 66 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'QAbstractEventDispatcher::TimerInfo' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 12930 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 40 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, tobj);
    }

    return l;
#line 12963 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QAbstractEventDispatcher_TimerInfo = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_45,
        {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 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 12994 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12998 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 66 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'QByteArray' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 13107 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 40 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, tobj);
    }

    return l;
#line 13140 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QByteArray = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_17414,
        {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 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 13171 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 257 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 13175 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 56 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'QXmlStreamNotationDeclaration' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 13284 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, tobj);
    }

    return l;
#line 13317 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QVector_0100QXmlStreamNotationDeclaration = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_255,
        {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 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 13348 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 238 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 13352 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 56 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'QXmlStreamNamespaceDeclaration' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 13461 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, tobj);
    }

    return l;
#line 13494 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QVector_0100QXmlStreamNamespaceDeclaration = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_215,
        {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 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 13525 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 276 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 13529 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 56 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'QXmlStreamEntityDeclaration' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 13638 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, tobj);
    }

    return l;
#line 13671 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QVector_0100QXmlStreamEntityDeclaration = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_372,
        {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 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 13702 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13706 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 13709 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 84 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qmap.sip"
    if (!sipIsErr)
        return PyDict_Check(sipPy);

    QMap<QString, QVariant> *qm = new QMap<QString, QVariant>;

    SIP_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 'QString' is expected",
                    Py_TYPE(kobj)->tp_name);

            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 value has type '%s' but 'QVariant' is expected",
                    Py_TYPE(vobj)->tp_name);

            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 13800 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 13861 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QMap_0100QString_0100QVariant = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_7448,
        {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 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 13892 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13896 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 66 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'QVariant' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 14005 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 40 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, tobj);
    }

    return l;
#line 14038 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QVariant = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_22981,
        {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 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 14069 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14073 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 14076 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 84 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qhash.sip"
    if (!sipIsErr)
        return PyDict_Check(sipPy);

    QHash<QString, QVariant> *qh = new QHash<QString, QVariant>;

    SIP_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 'QString' is expected",
                    Py_TYPE(kobj)->tp_name);

            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 value has type '%s' but 'QVariant' is expected",
                    Py_TYPE(vobj)->tp_name);

            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 14167 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 14228 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QHash_0100QString_0100QVariant = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_6321,
        {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 135 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#include <qpair.h>
#line 14260 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14264 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 167 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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;
        }

        SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but a 2 element non-string sequence is expected",
                        i, Py_TYPE(seq)->tp_name);
            else
                PyErr_Format(PyExc_TypeError,
                        "index " SIP_SSIZE_T_FORMAT " is a sequence of " SIP_SSIZE_T_FORMAT " 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_ITEM(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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'float' is expected",
                    i, Py_TYPE(itm1)->tp_name);

            Py_DECREF(itm1);
            Py_DECREF(seq);
            delete qv;
            Py_DECREF(iter);
            *sipIsErr = 1;

            return 0;
        }

        PyObject *itm2 = PySequence_ITEM(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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'QVariant' is expected",
                    i, Py_TYPE(itm2)->tp_name);

            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 14450 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 140 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, pobj);
    }

    return l;
#line 14484 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QVector_0600QPair_2400_0100QVariant = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_1403,
        {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 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 14515 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtimezone.sip"
#include <qtimezone.h>
#line 56 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtimezone.sip"
#include <qtimezone.h>
#line 14521 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 56 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'QTimeZone::OffsetData' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 14630 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, tobj);
    }

    return l;
#line 14663 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QVector_0100QTimeZone_OffsetData = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_1722,
        {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 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 14694 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 14698 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 175 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'QObject' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 14805 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 148 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    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);

            return 0;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 14839 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0101QObject = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_22997,
        {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 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 14870 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 14874 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 66 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'QModelIndex' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 14983 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 40 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, tobj);
    }

    return l;
#line 15016 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QModelIndex = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_14792,
        {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 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 15047 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 15051 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 66 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'QFileInfo' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 15160 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 40 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, tobj);
    }

    return l;
#line 15193 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QFileInfo = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_20040,
        {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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsysinfo.sip"
#include <qsysinfo.h>
#line 15224 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"



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

    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 (sipIsPyOwned(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 sipEnumMemberDef enummembers_QSysInfo[] = {
    {sipName_BigEndian, static_cast<int>(QSysInfo::BigEndian), 235},
    {sipName_ByteOrder, static_cast<int>(QSysInfo::ByteOrder), 235},
    {sipName_LittleEndian, static_cast<int>(QSysInfo::LittleEndian), 235},
    {sipName_WordSize, static_cast<int>(QSysInfo::WordSize), 236},
};

PyDoc_STRVAR(doc_QSysInfo, "\1QSysInfo()\n"
    "QSysInfo(QSysInfo)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QSysInfo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSysInfo,
        {0}
    },
    {
        sipNameNr_QSysInfo,
        {0, 0, 1},
        0, 0,
        4, enummembers_QSysInfo,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSysInfo,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QSysInfo,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 15374 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 64 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'str' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 15484 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 38 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, tobj);
    }

    return l;
#line 15517 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QStringList = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_QStringList,
        {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 321 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 15548 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 348 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'int' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 15656 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 325 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, pobj);
    }

    return l;
#line 15686 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QVector_1800 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_33516,
        {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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qpair.sip"
#include <qpair.h>
#line 15717 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qpair.sip"
    if (!sipIsErr)
        return (PySequence_Check(sipPy)
#if PY_MAJOR_VERSION < 3
                && !PyString_Check(sipPy)
#endif
                && !PyUnicode_Check(sipPy));

    SIP_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 " SIP_SSIZE_T_FORMAT " elements but 2 elements are expected",
                    len);

        *sipIsErr = 1;

        return 0;
    }

    PyObject *firstobj = PySequence_ITEM(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",
                Py_TYPE(firstobj)->tp_name);

        *sipIsErr = 1;

        return 0;
    }

    PyObject *secondobj = PySequence_ITEM(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",
                Py_TYPE(secondobj)->tp_name);

        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 15835 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qpair.sip"
    return Py_BuildValue("(ii)", sipCpp->first, sipCpp->second);
#line 15846 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QPair_1800_1800 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_26164,
        {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 833 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <Qt>
#line 15877 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15881 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 861 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'Qt.DayOfWeek' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 15985 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 837 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, eobj);
    }

    return l;
#line 16016 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100Qt_DayOfWeek = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_10768,
        {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 731 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 16047 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 758 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'float' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 16155 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 735 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, pobj);
    }

    return l;
#line 16185 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_2400 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_33529,
        {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 629 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 16216 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 656 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'int' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 16324 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 633 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, pobj);
    }

    return l;
#line 16354 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_1800 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_41351,
        {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 446 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 16386 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 475 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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;
        }

        SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but a 2 element non-string sequence is expected",
                        i, Py_TYPE(seq)->tp_name);
            else
                PyErr_Format(PyExc_TypeError,
                        "index " SIP_SSIZE_T_FORMAT " is a sequence of " SIP_SSIZE_T_FORMAT " 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_ITEM(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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'int' is expected",
                    i, Py_TYPE(itm1)->tp_name);

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

            return 0;
        }

        PyObject *itm2 = PySequence_ITEM(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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'int' is expected",
                    i, Py_TYPE(itm2)->tp_name);

            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 16571 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 451 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, pobj);
    }

    return l;
#line 16602 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0600QPair_1800_1800 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_7471,
        {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 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qjsonobject.sip"
#include <qjsonobject.h>
#line 16633 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 82 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qjsonobject.sip"
    if (!sipIsErr)
        return PyDict_Check(sipPy);

    QJsonObject *jo = new QJsonObject;

    SIP_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",
                    Py_TYPE(kobj)->tp_name);

            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",
                    Py_TYPE(vobj)->tp_name);

            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 16725 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 16786 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QJsonObject = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_QJsonObject,
        {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 29 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qjsonarray.sip"
#include <qjsonarray.h>
#line 16817 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 59 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'QJsonValue' is expected",
                    i, Py_TYPE(itm)->tp_name);

            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 16927 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 33 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, tobj);
    }

    return l;
#line 16960 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QJsonArray = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_QJsonArray,
        {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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 16991 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 16995 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 16998 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 308 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 17001 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 17004 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 48 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 17007 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 17010 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 17013 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QXmlStreamWriter_setDevice, "QXmlStreamWriter.setDevice(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, "QXmlStreamWriter.device() -> 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, "QXmlStreamWriter.setCodec(QTextCodec)\n"
    "QXmlStreamWriter.setCodec(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, -12, 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, "QXmlStreamWriter.codec() -> 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, "QXmlStreamWriter.setAutoFormatting(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, "QXmlStreamWriter.autoFormatting() -> 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, "QXmlStreamWriter.setAutoFormattingIndent(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, "QXmlStreamWriter.autoFormattingIndent() -> 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, "QXmlStreamWriter.writeAttribute(str, str)\n"
    "QXmlStreamWriter.writeAttribute(str, str, str)\n"
    "QXmlStreamWriter.writeAttribute(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, "QXmlStreamWriter.writeAttributes(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, "QXmlStreamWriter.writeCDATA(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, "QXmlStreamWriter.writeCharacters(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, "QXmlStreamWriter.writeComment(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, "QXmlStreamWriter.writeDTD(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, "QXmlStreamWriter.writeEmptyElement(str)\n"
    "QXmlStreamWriter.writeEmptyElement(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, "QXmlStreamWriter.writeTextElement(str, str)\n"
    "QXmlStreamWriter.writeTextElement(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, "QXmlStreamWriter.writeEndDocument()");

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, "QXmlStreamWriter.writeEndElement()");

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, "QXmlStreamWriter.writeEntityReference(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, "QXmlStreamWriter.writeNamespace(str, str prefix='')");

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, "QXmlStreamWriter.writeDefaultNamespace(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, "QXmlStreamWriter.writeProcessingInstruction(str, str data='')");

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, "QXmlStreamWriter.writeStartDocument()\n"
    "QXmlStreamWriter.writeStartDocument(str)\n"
    "QXmlStreamWriter.writeStartDocument(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, "QXmlStreamWriter.writeStartElement(str)\n"
    "QXmlStreamWriter.writeStartElement(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, "QXmlStreamWriter.writeCurrentToken(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, "QXmlStreamWriter.hasError() -> 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;
}


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

    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 (sipIsPyOwned(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(QByteArray)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QXmlStreamWriter = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QXmlStreamWriter,
        {0}
    },
    {
        sipNameNr_QXmlStreamWriter,
        {0, 0, 1},
        26, methods_QXmlStreamWriter,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlStreamWriter,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QXmlStreamWriter,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 308 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 18073 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 18077 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 18080 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 18083 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 297 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 18086 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 68 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 18089 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 18092 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 276 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 18095 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 18098 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 257 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 18101 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 18104 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 238 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 18107 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 48 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 18110 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QXmlStreamReader_setDevice, "QXmlStreamReader.setDevice(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, "QXmlStreamReader.device() -> 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, "QXmlStreamReader.addData(QByteArray)\n"
    "QXmlStreamReader.addData(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, "QXmlStreamReader.clear()");

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, "QXmlStreamReader.atEnd() -> 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, "QXmlStreamReader.readNext() -> 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, "QXmlStreamReader.tokenType() -> 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, "QXmlStreamReader.tokenString() -> 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, "QXmlStreamReader.setNamespaceProcessing(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, "QXmlStreamReader.namespaceProcessing() -> 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, "QXmlStreamReader.isStartDocument() -> 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, "QXmlStreamReader.isEndDocument() -> 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, "QXmlStreamReader.isStartElement() -> 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, "QXmlStreamReader.isEndElement() -> 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, "QXmlStreamReader.isCharacters() -> 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, "QXmlStreamReader.isWhitespace() -> 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, "QXmlStreamReader.isCDATA() -> 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, "QXmlStreamReader.isComment() -> 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, "QXmlStreamReader.isDTD() -> 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, "QXmlStreamReader.isEntityReference() -> 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, "QXmlStreamReader.isProcessingInstruction() -> 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, "QXmlStreamReader.isStandaloneDocument() -> 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, "QXmlStreamReader.documentVersion() -> QStringRef");

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, "QXmlStreamReader.documentEncoding() -> QStringRef");

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, "QXmlStreamReader.lineNumber() -> 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, "QXmlStreamReader.columnNumber() -> 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, "QXmlStreamReader.characterOffset() -> 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, "QXmlStreamReader.attributes() -> 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, "QXmlStreamReader.readElementText(QXmlStreamReader.ReadElementTextBehaviour behaviour=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, "QXmlStreamReader.name() -> QStringRef");

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, "QXmlStreamReader.namespaceUri() -> QStringRef");

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, "QXmlStreamReader.qualifiedName() -> QStringRef");

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, "QXmlStreamReader.prefix() -> QStringRef");

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, "QXmlStreamReader.processingInstructionTarget() -> QStringRef");

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, "QXmlStreamReader.processingInstructionData() -> QStringRef");

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, "QXmlStreamReader.text() -> QStringRef");

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, "QXmlStreamReader.namespaceDeclarations() -> list-of-QXmlStreamNamespaceDeclaration");

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, "QXmlStreamReader.addExtraNamespaceDeclaration(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, "QXmlStreamReader.addExtraNamespaceDeclarations(list-of-QXmlStreamNamespaceDeclaration)");

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, "QXmlStreamReader.notationDeclarations() -> list-of-QXmlStreamNotationDeclaration");

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, "QXmlStreamReader.entityDeclarations() -> list-of-QXmlStreamEntityDeclaration");

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, "QXmlStreamReader.dtdName() -> QStringRef");

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, "QXmlStreamReader.dtdPublicId() -> QStringRef");

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, "QXmlStreamReader.dtdSystemId() -> QStringRef");

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, "QXmlStreamReader.raiseError(str message='')");

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, "QXmlStreamReader.errorString() -> 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, "QXmlStreamReader.error() -> 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, "QXmlStreamReader.hasError() -> 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, "QXmlStreamReader.setEntityResolver(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, -11, 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, "QXmlStreamReader.entityResolver() -> 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, "QXmlStreamReader.readNextStartElement() -> 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, "QXmlStreamReader.skipCurrentElement()");

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;
}


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

    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 (sipIsPyOwned(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), 308},
    {sipName_Comment, static_cast<int>(QXmlStreamReader::Comment), 308},
    {sipName_CustomError, static_cast<int>(QXmlStreamReader::CustomError), 306},
    {sipName_DTD, static_cast<int>(QXmlStreamReader::DTD), 308},
    {sipName_EndDocument, static_cast<int>(QXmlStreamReader::EndDocument), 308},
    {sipName_EndElement, static_cast<int>(QXmlStreamReader::EndElement), 308},
    {sipName_EntityReference, static_cast<int>(QXmlStreamReader::EntityReference), 308},
    {sipName_ErrorOnUnexpectedElement, static_cast<int>(QXmlStreamReader::ErrorOnUnexpectedElement), 307},
    {sipName_IncludeChildElements, static_cast<int>(QXmlStreamReader::IncludeChildElements), 307},
    {sipName_Invalid, static_cast<int>(QXmlStreamReader::Invalid), 308},
    {sipName_NoError, static_cast<int>(QXmlStreamReader::NoError), 306},
    {sipName_NoToken, static_cast<int>(QXmlStreamReader::NoToken), 308},
    {sipName_NotWellFormedError, static_cast<int>(QXmlStreamReader::NotWellFormedError), 306},
    {sipName_PrematureEndOfDocumentError, static_cast<int>(QXmlStreamReader::PrematureEndOfDocumentError), 306},
    {sipName_ProcessingInstruction, static_cast<int>(QXmlStreamReader::ProcessingInstruction), 308},
    {sipName_SkipChildElements, static_cast<int>(QXmlStreamReader::SkipChildElements), 307},
    {sipName_StartDocument, static_cast<int>(QXmlStreamReader::StartDocument), 308},
    {sipName_StartElement, static_cast<int>(QXmlStreamReader::StartElement), 308},
    {sipName_UnexpectedElementError, static_cast<int>(QXmlStreamReader::UnexpectedElementError), 306},
};

PyDoc_STRVAR(doc_QXmlStreamReader, "\1QXmlStreamReader()\n"
    "QXmlStreamReader(QIODevice)\n"
    "QXmlStreamReader(QByteArray)\n"
    "QXmlStreamReader(str)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QXmlStreamReader = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QXmlStreamReader,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QXmlStreamReader,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 297 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 19774 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 19778 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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()
{
    sipCommonDtor(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_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QXmlStreamEntityResolver_resolveUndeclaredEntity, "QXmlStreamEntityResolver.resolveUndeclaredEntity(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 || sipIsDerived((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;
}


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

    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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQXmlStreamEntityResolver *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QXmlStreamEntityResolver = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QXmlStreamEntityResolver,
        {0}
    },
    {
        sipNameNr_QXmlStreamEntityResolver,
        {0, 0, 1},
        1, methods_QXmlStreamEntityResolver,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlStreamEntityResolver,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QXmlStreamEntityResolver,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 276 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 20022 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 68 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 20026 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QXmlStreamEntityDeclaration_name, "QXmlStreamEntityDeclaration.name() -> QStringRef");

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, "QXmlStreamEntityDeclaration.notationName() -> QStringRef");

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, "QXmlStreamEntityDeclaration.systemId() -> QStringRef");

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, "QXmlStreamEntityDeclaration.publicId() -> QStringRef");

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, "QXmlStreamEntityDeclaration.value() -> QStringRef");

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);
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QXmlStreamEntityDeclaration = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QXmlStreamEntityDeclaration,
        {0}
    },
    {
        sipNameNr_QXmlStreamEntityDeclaration,
        {0, 0, 1},
        5, methods_QXmlStreamEntityDeclaration,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlStreamEntityDeclaration,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QXmlStreamEntityDeclaration,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 257 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 20384 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 68 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 20388 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QXmlStreamNotationDeclaration_name, "QXmlStreamNotationDeclaration.name() -> QStringRef");

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, "QXmlStreamNotationDeclaration.systemId() -> QStringRef");

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, "QXmlStreamNotationDeclaration.publicId() -> QStringRef");

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);
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QXmlStreamNotationDeclaration = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QXmlStreamNotationDeclaration,
        {0}
    },
    {
        sipNameNr_QXmlStreamNotationDeclaration,
        {0, 0, 1},
        3, methods_QXmlStreamNotationDeclaration,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlStreamNotationDeclaration,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QXmlStreamNotationDeclaration,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 238 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 20690 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 20694 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 68 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 20697 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QXmlStreamNamespaceDeclaration_prefix, "QXmlStreamNamespaceDeclaration.prefix() -> QStringRef");

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, "QXmlStreamNamespaceDeclaration.namespaceUri() -> QStringRef");

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);
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QXmlStreamNamespaceDeclaration = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QXmlStreamNamespaceDeclaration,
        {0}
    },
    {
        sipNameNr_QXmlStreamNamespaceDeclaration,
        {0, 0, 1},
        2, methods_QXmlStreamNamespaceDeclaration,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlStreamNamespaceDeclaration,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QXmlStreamNamespaceDeclaration,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 48 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 20988 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 20992 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 20995 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 68 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 20998 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QXmlStreamAttributes_value, "QXmlStreamAttributes.value(str, str) -> QStringRef\n"
    "QXmlStreamAttributes.value(str) -> QStringRef");

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, "QXmlStreamAttributes.append(str, str, str)\n"
    "QXmlStreamAttributes.append(str, str)\n"
    "QXmlStreamAttributes.append(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, "QXmlStreamAttributes.hasAttribute(str) -> bool\n"
    "QXmlStreamAttributes.hasAttribute(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, "QXmlStreamAttributes.at(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, "QXmlStreamAttributes.clear()");

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, "QXmlStreamAttributes.contains(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, "QXmlStreamAttributes.count(QXmlStreamAttribute) -> int\n"
    "QXmlStreamAttributes.count() -> 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, "QXmlStreamAttributes.data() -> 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, "QXmlStreamAttributes.fill(QXmlStreamAttribute, int size=-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, "QXmlStreamAttributes.first() -> 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, "QXmlStreamAttributes.indexOf(QXmlStreamAttribute, int from=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, "QXmlStreamAttributes.insert(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, "QXmlStreamAttributes.isEmpty() -> 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, "QXmlStreamAttributes.last() -> 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, "QXmlStreamAttributes.lastIndexOf(QXmlStreamAttribute, int from=-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, "QXmlStreamAttributes.prepend(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, "QXmlStreamAttributes.remove(int)\n"
    "QXmlStreamAttributes.remove(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, "QXmlStreamAttributes.replace(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, "QXmlStreamAttributes.size() -> 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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
// It looks like you can't assign QBool to int.
sipRes = bool(sipCpp->contains(*a0));
#line 21674 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
int len;

len = sipCpp->count();

if ((a0 = (int)sipConvertFromSequenceIndex(a0, len)) < 0)
    sipIsErr = 1;
else
    sipCpp->remove(a0);
#line 21713 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
SIP_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 21746 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
int len;

len = sipCpp->count();

if ((a0 = (int)sipConvertFromSequenceIndex(a0, len)) < 0)
    sipIsErr = 1;
else
    (*sipCpp)[a0] = *a1;
#line 21789 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
SIP_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 21838 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
SIP_SSIZE_T idx = sipConvertFromSequenceIndex(a0, sipCpp->count());

if (idx < 0)
    sipIsErr = 1;
else
    sipRes = new QXmlStreamAttribute(sipCpp->operator[]((int)idx));
#line 21879 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
SIP_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 21917 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 22053 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QXmlStreamAttributes = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QXmlStreamAttributes,
        {0}
    },
    {
        sipNameNr_QXmlStreamAttributes,
        {0, 0, 1},
        19, methods_QXmlStreamAttributes,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlStreamAttributes,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QXmlStreamAttributes,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 22239 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 22243 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 68 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 22246 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QXmlStreamAttribute_namespaceUri, "QXmlStreamAttribute.namespaceUri() -> QStringRef");

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, "QXmlStreamAttribute.name() -> QStringRef");

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, "QXmlStreamAttribute.qualifiedName() -> QStringRef");

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, "QXmlStreamAttribute.prefix() -> QStringRef");

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, "QXmlStreamAttribute.value() -> QStringRef");

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, "QXmlStreamAttribute.isDefault() -> 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);
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QXmlStreamAttribute = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QXmlStreamAttribute,
        {0}
    },
    {
        sipNameNr_QXmlStreamAttribute,
        {0, 0, 1},
        6, methods_QXmlStreamAttribute,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlStreamAttribute,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QXmlStreamAttribute,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qwaitcondition.sip"
#include <qwaitcondition.h>
#line 22669 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 54 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmutex.sip"
#include <qmutex.h>
#line 22673 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qreadwritelock.sip"
#include <qreadwritelock.h>
#line 22676 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QWaitCondition_wait, "QWaitCondition.wait(QMutex, int msecs=ULONG_MAX) -> bool\n"
    "QWaitCondition.wait(QReadWriteLock, int msecs=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, "QWaitCondition.wakeOne()");

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, "QWaitCondition.wakeAll()");

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;
}


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

    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 (sipIsPyOwned(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()");


pyqt5ClassTypeDef sipTypeDef_QtCore_QWaitCondition = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QWaitCondition,
        {0}
    },
    {
        sipNameNr_QWaitCondition,
        {0, 0, 1},
        3, methods_QWaitCondition,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QWaitCondition,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QWaitCondition,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 22903 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 22907 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QVariant_value, "QVariant.value() -> 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 142 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
        sipRes = qpycore_PyObject_FromQVariant(*sipCpp);
#line 22926 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QVariant.type() -> 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, "QVariant.userType() -> 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, "QVariant.typeName() -> 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, "QVariant.canConvert(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, "QVariant.convert(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, "QVariant.isValid() -> 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, "QVariant.isNull() -> 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, "QVariant.clear()");

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, "QVariant.load(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, "QVariant.save(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, "QVariant.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, "QVariant.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, "QVariant.swap(QVariant)");

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

    {
        QVariant* a0;
        int a0State = 0;
        QVariant *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QVariant, &sipCpp, sipType_QVariant, &a0, &a0State))
        {
            sipCpp->swap(*a0);
            sipReleaseType(a0,sipType_QVariant,a0State);

            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);
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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 129 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 23603 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 23654 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 59 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
return qpycore_PyObject_FromQVariant(*sipCpp);
#line 23665 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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), 287},
    {sipName_Bitmap, static_cast<int>(QVariant::Bitmap), 287},
    {sipName_Bool, static_cast<int>(QVariant::Bool), 287},
    {sipName_Brush, static_cast<int>(QVariant::Brush), 287},
    {sipName_ByteArray, static_cast<int>(QVariant::ByteArray), 287},
    {sipName_Char, static_cast<int>(QVariant::Char), 287},
    {sipName_Color, static_cast<int>(QVariant::Color), 287},
    {sipName_Cursor, static_cast<int>(QVariant::Cursor), 287},
    {sipName_Date, static_cast<int>(QVariant::Date), 287},
    {sipName_DateTime, static_cast<int>(QVariant::DateTime), 287},
    {sipName_Double, static_cast<int>(QVariant::Double), 287},
    {sipName_EasingCurve, static_cast<int>(QVariant::EasingCurve), 287},
    {sipName_Font, static_cast<int>(QVariant::Font), 287},
    {sipName_Hash, static_cast<int>(QVariant::Hash), 287},
    {sipName_Icon, static_cast<int>(QVariant::Icon), 287},
    {sipName_Image, static_cast<int>(QVariant::Image), 287},
    {sipName_Int, static_cast<int>(QVariant::Int), 287},
    {sipName_Invalid, static_cast<int>(QVariant::Invalid), 287},
    {sipName_KeySequence, static_cast<int>(QVariant::KeySequence), 287},
    {sipName_Line, static_cast<int>(QVariant::Line), 287},
    {sipName_LineF, static_cast<int>(QVariant::LineF), 287},
    {sipName_List, static_cast<int>(QVariant::List), 287},
    {sipName_Locale, static_cast<int>(QVariant::Locale), 287},
    {sipName_LongLong, static_cast<int>(QVariant::LongLong), 287},
    {sipName_Map, static_cast<int>(QVariant::Map), 287},
    {sipName_Matrix, static_cast<int>(QVariant::Matrix), 287},
    {sipName_Matrix4x4, static_cast<int>(QVariant::Matrix4x4), 287},
    {sipName_ModelIndex, static_cast<int>(QVariant::ModelIndex), 287},
    {sipName_Palette, static_cast<int>(QVariant::Palette), 287},
    {sipName_Pen, static_cast<int>(QVariant::Pen), 287},
    {sipName_Pixmap, static_cast<int>(QVariant::Pixmap), 287},
    {sipName_Point, static_cast<int>(QVariant::Point), 287},
    {sipName_PointF, static_cast<int>(QVariant::PointF), 287},
    {sipName_Polygon, static_cast<int>(QVariant::Polygon), 287},
    {sipName_PolygonF, static_cast<int>(QVariant::PolygonF), 287},
    {sipName_Quaternion, static_cast<int>(QVariant::Quaternion), 287},
    {sipName_Rect, static_cast<int>(QVariant::Rect), 287},
    {sipName_RectF, static_cast<int>(QVariant::RectF), 287},
    {sipName_RegExp, static_cast<int>(QVariant::RegExp), 287},
    {sipName_Region, static_cast<int>(QVariant::Region), 287},
    {sipName_RegularExpression, static_cast<int>(QVariant::RegularExpression), 287},
    {sipName_Size, static_cast<int>(QVariant::Size), 287},
    {sipName_SizeF, static_cast<int>(QVariant::SizeF), 287},
    {sipName_SizePolicy, static_cast<int>(QVariant::SizePolicy), 287},
    {sipName_String, static_cast<int>(QVariant::String), 287},
    {sipName_StringList, static_cast<int>(QVariant::StringList), 287},
    {sipName_TextFormat, static_cast<int>(QVariant::TextFormat), 287},
    {sipName_TextLength, static_cast<int>(QVariant::TextLength), 287},
    {sipName_Time, static_cast<int>(QVariant::Time), 287},
    {sipName_Transform, static_cast<int>(QVariant::Transform), 287},
    {sipName_UInt, static_cast<int>(QVariant::UInt), 287},
    {sipName_ULongLong, static_cast<int>(QVariant::ULongLong), 287},
    {sipName_Url, static_cast<int>(QVariant::Url), 287},
    {sipName_UserType, static_cast<int>(QVariant::UserType), 287},
    {sipName_Uuid, static_cast<int>(QVariant::Uuid), 287},
    {sipName_Vector2D, static_cast<int>(QVariant::Vector2D), 287},
    {sipName_Vector3D, static_cast<int>(QVariant::Vector3D), 287},
    {sipName_Vector4D, static_cast<int>(QVariant::Vector4D), 287},
};

PyDoc_STRVAR(doc_QVariant, "\1QVariant()\n"
    "QVariant(QVariant.Type)\n"
    "QVariant(object)\n"
    "QVariant(QVariant)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QVariant = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ALLOW_NONE|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QVariant,
        {0}
    },
    {
        sipNameNr_QVariant,
        {0, 0, 1},
        14, methods_QVariant,
        58, enummembers_QVariant,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QVariant,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QVariant,
    convertTo_QVariant,
    convertFrom_QVariant,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/quuid.sip"
#include <quuid.h>
#line 23822 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 23826 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 23829 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QUuid_toString, "QUuid.toString() -> 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, "QUuid.isNull() -> 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, "QUuid.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, "QUuid.createUuidV3(QUuid, QByteArray) -> QUuid\n"
    "QUuid.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, "QUuid.createUuidV5(QUuid, QByteArray) -> QUuid\n"
    "QUuid.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, "QUuid.variant() -> 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, "QUuid.version() -> 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, "QUuid.toByteArray() -> 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, "QUuid.toRfc4122() -> 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, "QUuid.fromRfc4122(QByteArray) -> 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___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 = !sipCpp->QUuid::operator<(*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___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 = !sipCpp->QUuid::operator>(*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___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 65 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 24362 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 60 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/quuid.sip"
        sipRes = qHash(*sipCpp);
#line 24387 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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___ge__, ge_slot},
    {(void *)slot_QUuid___le__, le_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), 284},
    {sipName_EmbeddedPOSIX, static_cast<int>(QUuid::EmbeddedPOSIX), 285},
    {sipName_Md5, static_cast<int>(QUuid::Md5), 285},
    {sipName_Microsoft, static_cast<int>(QUuid::Microsoft), 284},
    {sipName_NCS, static_cast<int>(QUuid::NCS), 284},
    {sipName_Name, static_cast<int>(QUuid::Name), 285},
    {sipName_Random, static_cast<int>(QUuid::Random), 285},
    {sipName_Reserved, static_cast<int>(QUuid::Reserved), 284},
    {sipName_Sha1, static_cast<int>(QUuid::Sha1), 285},
    {sipName_Time, static_cast<int>(QUuid::Time), 285},
    {sipName_VarUnknown, static_cast<int>(QUuid::VarUnknown), 284},
    {sipName_VerUnknown, static_cast<int>(QUuid::VerUnknown), 285},
};

PyDoc_STRVAR(doc_QUuid, "\1QUuid()\n"
    "QUuid(int, int, int, int, int, int, int, int, int, int, int)\n"
    "QUuid(str)\n"
    "QUuid(QByteArray)\n"
    "QUuid(QUuid)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QUuid = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QUuid,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QUuid,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurlquery.sip"
#include <qurlquery.h>
#line 24629 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 24633 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 24636 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 24639 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 24642 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 24645 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 252 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 24649 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QUrlQuery_swap, "QUrlQuery.swap(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, "QUrlQuery.isEmpty() -> 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, "QUrlQuery.isDetached() -> 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, "QUrlQuery.clear()");

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, "QUrlQuery.query(QUrl.ComponentFormattingOptions options=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, "QUrlQuery.setQuery(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, "QUrlQuery.toString(QUrl.ComponentFormattingOptions options=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, "QUrlQuery.setQueryDelimiters(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, "QUrlQuery.queryValueDelimiter() -> 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, "QUrlQuery.queryPairDelimiter() -> 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, "QUrlQuery.setQueryItems(list-of-tuple-of-QString-QString)");

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, "QUrlQuery.queryItems(QUrl.ComponentFormattingOptions options=QUrl.PrettyDecoded) -> list-of-tuple-of-QString-QString");

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, "QUrlQuery.hasQueryItem(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, "QUrlQuery.addQueryItem(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, "QUrlQuery.removeQueryItem(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, "QUrlQuery.queryItemValue(str, QUrl.ComponentFormattingOptions options=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, "QUrlQuery.allQueryItemValues(str, QUrl.ComponentFormattingOptions options=QUrl.PrettyDecoded) -> list-of-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, "QUrlQuery.removeAllQueryItems(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, "QUrlQuery.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, "QUrlQuery.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 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);
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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___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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QUrlQuery = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QUrlQuery,
        {0}
    },
    {
        sipNameNr_QUrlQuery,
        {0, 0, 1},
        20, methods_QUrlQuery,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QUrlQuery,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QUrlQuery,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 25517 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 25521 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QUrl::UserInputResolutionOptions::Int() != 0);
#line 25539 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QUrl::UserInputResolutionOptions::Int() != a0->operator QUrl::UserInputResolutionOptions::Int());
#line 25569 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QUrl::UserInputResolutionOptions::Int() == a0->operator QUrl::UserInputResolutionOptions::Int());
#line 25605 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_UserInputResolutionOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QUrl::UserInputResolutionOptions* a0;
        int a0State = 0;
        QUrl::UserInputResolutionOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QUrl_UserInputResolutionOptions, &a0, &a0State, sipType_QUrl_UserInputResolutionOptions, &a1, &a1State))
        {
            QUrl::UserInputResolutionOptions*sipRes;

            sipRes = new QUrl::UserInputResolutionOptions((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QUrl_UserInputResolutionOptions,a0State);
            sipReleaseType(a1,sipType_QUrl_UserInputResolutionOptions,a1State);

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

    {
        QUrl::UserInputResolutionOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QUrl_UserInputResolutionOptions, &a0, &a0State, &a1))
        {
            QUrl::UserInputResolutionOptions*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QUrl::UserInputResolutionOptions(*a0 ^ a1);
#line 25708 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_UserInputResolutionOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QUrl::UserInputResolutionOptions* a0;
        int a0State = 0;
        QUrl::UserInputResolutionOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QUrl_UserInputResolutionOptions, &a0, &a0State, sipType_QUrl_UserInputResolutionOptions, &a1, &a1State))
        {
            QUrl::UserInputResolutionOptions*sipRes;

            sipRes = new QUrl::UserInputResolutionOptions((*a0 | *a1));
            sipReleaseType(a0,sipType_QUrl_UserInputResolutionOptions,a0State);
            sipReleaseType(a1,sipType_QUrl_UserInputResolutionOptions,a1State);

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

    {
        QUrl::UserInputResolutionOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QUrl_UserInputResolutionOptions, &a0, &a0State, &a1))
        {
            QUrl::UserInputResolutionOptions*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QUrl::UserInputResolutionOptions(*a0 | a1);
#line 25758 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        QUrl::UserInputResolutionOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QUrl_UserInputResolutionOptions, &a0, &a0State))
        {
            sipCpp->QUrl::UserInputResolutionOptions::operator^=(*a0);
            sipReleaseType(a0,sipType_QUrl_UserInputResolutionOptions,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_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;

    {
        QUrl::UserInputResolutionOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QUrl_UserInputResolutionOptions, &a0, &a0State))
        {
            sipCpp->QUrl::UserInputResolutionOptions::operator|=(*a0);
            sipReleaseType(a0,sipType_QUrl_UserInputResolutionOptions,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_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;
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QUrl::UserInputResolutionOptions(a0);

            return sipCpp;
        }
    }

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

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 26035 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QUrl_UserInputResolutionOptions[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QUrl_UserInputResolutionOptions___and__, and_slot},
    {(void *)slot_QUrl_UserInputResolutionOptions___xor__, xor_slot},
    {(void *)slot_QUrl_UserInputResolutionOptions___or__, or_slot},
    {(void *)slot_QUrl_UserInputResolutionOptions___int__, int_slot},
    {(void *)slot_QUrl_UserInputResolutionOptions___ixor__, ixor_slot},
    {(void *)slot_QUrl_UserInputResolutionOptions___ior__, ior_slot},
    {(void *)slot_QUrl_UserInputResolutionOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QUrl_UserInputResolutionOptions, "\1QUrl.UserInputResolutionOptions(QUrl.UserInputResolutionOptions)\n"
    "QUrl.UserInputResolutionOptions(int)\n"
    "QUrl.UserInputResolutionOptions()");


pyqt5ClassTypeDef sipTypeDef_QtCore_QUrl_UserInputResolutionOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QUrl__UserInputResolutionOptions,
        {0}
    },
    {
        sipNameNr_UserInputResolutionOptions,
        {274, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QUrl_UserInputResolutionOptions,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QUrl_UserInputResolutionOptions,
    convertTo_QUrl_UserInputResolutionOptions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 26117 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 26121 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QUrl::ComponentFormattingOptions::Int() != 0);
#line 26139 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QUrl::ComponentFormattingOptions::Int() != a0->operator QUrl::ComponentFormattingOptions::Int());
#line 26169 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QUrl::ComponentFormattingOptions::Int() == a0->operator QUrl::ComponentFormattingOptions::Int());
#line 26205 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_ComponentFormattingOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QUrl::ComponentFormattingOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QUrl_ComponentFormattingOptions, &a0, &a0State, &a1))
        {
            QUrl::ComponentFormattingOptions*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QUrl::ComponentFormattingOptions(*a0 ^ a1);
#line 26308 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_ComponentFormattingOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QUrl::ComponentFormattingOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QUrl_ComponentFormattingOptions, &a0, &a0State, &a1))
        {
            QUrl::ComponentFormattingOptions*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QUrl::ComponentFormattingOptions(*a0 | a1);
#line 26358 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        QUrl::ComponentFormattingOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QUrl_ComponentFormattingOptions, &a0, &a0State))
        {
            sipCpp->QUrl::ComponentFormattingOptions::operator^=(*a0);
            sipReleaseType(a0,sipType_QUrl_ComponentFormattingOptions,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_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;

    {
        QUrl::ComponentFormattingOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QUrl_ComponentFormattingOptions, &a0, &a0State))
        {
            sipCpp->QUrl::ComponentFormattingOptions::operator|=(*a0);
            sipReleaseType(a0,sipType_QUrl_ComponentFormattingOptions,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_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;
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QUrl::ComponentFormattingOptions(a0);

            return sipCpp;
        }
    }

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

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 26635 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QUrl_ComponentFormattingOptions[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QUrl_ComponentFormattingOptions___and__, and_slot},
    {(void *)slot_QUrl_ComponentFormattingOptions___xor__, xor_slot},
    {(void *)slot_QUrl_ComponentFormattingOptions___or__, or_slot},
    {(void *)slot_QUrl_ComponentFormattingOptions___int__, int_slot},
    {(void *)slot_QUrl_ComponentFormattingOptions___ixor__, ixor_slot},
    {(void *)slot_QUrl_ComponentFormattingOptions___ior__, ior_slot},
    {(void *)slot_QUrl_ComponentFormattingOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QUrl_ComponentFormattingOptions, "\1QUrl.ComponentFormattingOptions(QUrl.ComponentFormattingOptions)\n"
    "QUrl.ComponentFormattingOptions(int)\n"
    "QUrl.ComponentFormattingOptions()");


pyqt5ClassTypeDef sipTypeDef_QtCore_QUrl_ComponentFormattingOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QUrl__ComponentFormattingOptions,
        {0}
    },
    {
        sipNameNr_ComponentFormattingOptions,
        {274, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QUrl_ComponentFormattingOptions,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QUrl_ComponentFormattingOptions,
    convertTo_QUrl_ComponentFormattingOptions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 26717 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 26721 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 72 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurl.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 26739 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 67 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurl.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 26769 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 62 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurl.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 26805 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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;
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(sipSelf))
    {
        release_QUrl_FormattingOptions(sipGetAddress(sipSelf),0);
    }
}


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 76 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 27138 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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}
};


pyqt5ClassTypeDef sipTypeDef_QtCore_QUrl_FormattingOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QUrl__FormattingOptions,
        {0}
    },
    {
        sipNameNr_FormattingOptions,
        {274, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QUrl_FormattingOptions,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QUrl_FormattingOptions,
    0,
    0,
    0,
    release_QUrl_FormattingOptions,
    cast_QUrl_FormattingOptions,
    convertTo_QUrl_FormattingOptions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 27215 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 27219 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 27222 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 27225 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 27228 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 27231 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurlquery.sip"
#include <qurlquery.h>
#line 27234 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 27237 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 27240 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 104 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurl.sip"
#include <QHash>
#line 27243 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QUrl_url, "QUrl.url(QUrl.FormattingOptions options=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, "QUrl.setUrl(str, QUrl.ParsingMode mode=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, "QUrl.isValid() -> 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, "QUrl.isEmpty() -> 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, "QUrl.clear()");

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, "QUrl.setScheme(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, "QUrl.scheme() -> 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, "QUrl.setAuthority(str, QUrl.ParsingMode mode=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, "QUrl.authority(QUrl.ComponentFormattingOptions options=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, "QUrl.setUserInfo(str, QUrl.ParsingMode mode=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, "QUrl.userInfo(QUrl.ComponentFormattingOptions options=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, "QUrl.setUserName(str, QUrl.ParsingMode mode=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, "QUrl.userName(QUrl.ComponentFormattingOptions options=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, "QUrl.setPassword(str, QUrl.ParsingMode mode=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, "QUrl.password(QUrl.ComponentFormattingOptions options=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, "QUrl.setHost(str, QUrl.ParsingMode mode=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, "QUrl.host(QUrl.ComponentFormattingOptions options=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, "QUrl.setPort(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, "QUrl.port(int defaultPort=-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, "QUrl.setPath(str, QUrl.ParsingMode mode=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, "QUrl.path(QUrl.ComponentFormattingOptions options=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, "QUrl.setFragment(str, QUrl.ParsingMode mode=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, "QUrl.fragment(QUrl.ComponentFormattingOptions options=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, "QUrl.resolved(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, "QUrl.isRelative() -> 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, "QUrl.isParentOf(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, "QUrl.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, "QUrl.toLocalFile() -> 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, "QUrl.toString(QUrl.FormattingOptions options=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, "QUrl.toEncoded(QUrl.FormattingOptions options=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, "QUrl.fromEncoded(QByteArray, QUrl.ParsingMode mode=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, "QUrl.detach()");

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, "QUrl.isDetached() -> 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, "QUrl.fromPercentEncoding(QByteArray) -> 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, "QUrl.toPercentEncoding(str, QByteArray exclude=QByteArray(), QByteArray include=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, "QUrl.hasQuery() -> 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, "QUrl.hasFragment() -> 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, "QUrl.errorString() -> 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, "QUrl.fromAce(QByteArray) -> 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, "QUrl.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, "QUrl.idnWhitelist() -> list-of-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, "QUrl.setIdnWhitelist(list-of-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, "QUrl.fromUserInput(str) -> QUrl\n"
    "QUrl.fromUserInput(str, str, QUrl.UserInputResolutionOptions options=QUrl.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::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, "QUrl.swap(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, "QUrl.topLevelDomain(QUrl.ComponentFormattingOptions options=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, "QUrl.isLocalFile() -> 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, "QUrl.toDisplayString(QUrl.FormattingOptions options=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, "QUrl.setQuery(str, QUrl.ParsingMode mode=QUrl.TolerantMode)\n"
    "QUrl.setQuery(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, "QUrl.query(QUrl.ComponentFormattingOptions options=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, "QUrl.toStringList(list-of-QUrl, QUrl.FormattingOptions options=QUrl.PrettyDecoded) -> list-of-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, "QUrl.fromStringList(list-of-str, QUrl.ParsingMode mode=QUrl.TolerantMode) -> list-of-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, "QUrl.adjusted(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, "QUrl.fileName(QUrl.ComponentFormattingOptions options=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, "QUrl.matches(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 126 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 29153 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 121 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurl.sip"
        sipRes = qHash(*sipCpp);
#line 29178 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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), 280},
    {sipName_DecodeReserved, static_cast<int>(QUrl::DecodeReserved), 275},
    {sipName_DecodedMode, static_cast<int>(QUrl::DecodedMode), 278},
    {sipName_DefaultResolution, static_cast<int>(QUrl::DefaultResolution), 280},
    {sipName_EncodeDelimiters, static_cast<int>(QUrl::EncodeDelimiters), 275},
    {sipName_EncodeReserved, static_cast<int>(QUrl::EncodeReserved), 275},
    {sipName_EncodeSpaces, static_cast<int>(QUrl::EncodeSpaces), 275},
    {sipName_EncodeUnicode, static_cast<int>(QUrl::EncodeUnicode), 275},
    {sipName_FullyDecoded, static_cast<int>(QUrl::FullyDecoded), 275},
    {sipName_FullyEncoded, static_cast<int>(QUrl::FullyEncoded), 275},
    {sipName_None, static_cast<int>(QUrl::None), 279},
    {sipName_NormalizePathSegments, static_cast<int>(QUrl::NormalizePathSegments), 279},
    {sipName_PreferLocalFile, static_cast<int>(QUrl::PreferLocalFile), 279},
    {sipName_PrettyDecoded, static_cast<int>(QUrl::PrettyDecoded), 275},
    {sipName_RemoveAuthority, static_cast<int>(QUrl::RemoveAuthority), 279},
    {sipName_RemoveFilename, static_cast<int>(QUrl::RemoveFilename), 279},
    {sipName_RemoveFragment, static_cast<int>(QUrl::RemoveFragment), 279},
    {sipName_RemovePassword, static_cast<int>(QUrl::RemovePassword), 279},
    {sipName_RemovePath, static_cast<int>(QUrl::RemovePath), 279},
    {sipName_RemovePort, static_cast<int>(QUrl::RemovePort), 279},
    {sipName_RemoveQuery, static_cast<int>(QUrl::RemoveQuery), 279},
    {sipName_RemoveScheme, static_cast<int>(QUrl::RemoveScheme), 279},
    {sipName_RemoveUserInfo, static_cast<int>(QUrl::RemoveUserInfo), 279},
    {sipName_StrictMode, static_cast<int>(QUrl::StrictMode), 278},
    {sipName_StripTrailingSlash, static_cast<int>(QUrl::StripTrailingSlash), 279},
    {sipName_TolerantMode, static_cast<int>(QUrl::TolerantMode), 278},
};

PyDoc_STRVAR(doc_QUrl, "\1QUrl()\n"
    "QUrl(str, QUrl.ParsingMode mode=QUrl.TolerantMode)\n"
    "QUrl(QUrl)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QUrl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QUrl,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QUrl,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtranslator.sip"
#include <qtranslator.h>
#line 29446 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 29450 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 29453 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 29456 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 29459 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29462 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29465 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29468 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 29471 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 29474 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 29477 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 29480 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 29483 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 29486 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 29489 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 29492 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 29495 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 29498 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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 isEmpty() const;
    QString translate(const char*,const char*,const char*,int) const;

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQTranslator::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QTranslator);
}

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));
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQTranslator::isEmpty() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QTranslator::isEmpty();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(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[8]),sipPySelf,NULL,sipName_translate);

    if (!sipMeth)
        return QTranslator::translate(a0,a1,a2,a3);

    extern QString sipVH_QtCore_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*,const char*,const char*,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_8(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3);
}

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, "QTranslator.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 29827 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QTranslator.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 29886 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QTranslator.timerEvent(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 || sipIsDerived((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, "QTranslator.childEvent(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 || sipIsDerived((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, "QTranslator.customEvent(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 || sipIsDerived((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, "QTranslator.connectNotify(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 || sipIsDerived((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, "QTranslator.disconnectNotify(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 || sipIsDerived((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, "QTranslator.senderSignalIndex() -> 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, "QTranslator.isSignalConnected(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, "QTranslator.translate(str, str, str disambiguation=None, int n=-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 || sipIsDerived((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, "QTranslator.isEmpty() -> 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 || sipIsDerived((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, "QTranslator.load(str, str directory='', str searchDelimiters='', str suffix='') -> bool\n"
    "QTranslator.load(QLocale, str, str prefix='', str directory='', str suffix='') -> 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, "QTranslator.loadFromData(str, str directory=QString()) -> 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 superclass hierarchy. */
extern "C" {static void *cast_QTranslator(void *, const sipTypeDef *);}
static void *cast_QTranslator(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QTranslator)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QTranslator *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQTranslator *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{162, 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(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QTranslator = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTranslator,
        {0}
    },
    {
        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
},
    &QTranslator::staticMetaObject,
    0,
    0,
    0
};

#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtimezone.sip"
#include <qtimezone.h>
#line 56 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtimezone.sip"
#include <qtimezone.h>
#line 30457 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 30461 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 299 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 30464 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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

    return NULL;
}


/* 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 (sipIsPyOwned(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 *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QString*sipVal;
    QTimeZone::OffsetData *sipCpp = reinterpret_cast<QTimeZone::OffsetData *>(sipSelf);

    sipVal = &sipCpp->abbreviation;

    sipPy = sipGetReference(sipPySelf, -13);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QString, NULL);
    sipKeepReference(sipPySelf, -13, sipPy);

    return sipPy;
}


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 *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QDateTime*sipVal;
    QTimeZone::OffsetData *sipCpp = reinterpret_cast<QTimeZone::OffsetData *>(sipSelf);

    sipVal = &sipCpp->atUtc;

    sipPy = sipGetReference(sipPySelf, -14);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QDateTime, NULL);
    sipKeepReference(sipPySelf, -14, sipPy);

    return sipPy;
}


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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QTimeZone_OffsetData = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTimeZone__OffsetData,
        {0}
    },
    {
        sipNameNr_OffsetData,
        {267, 255, 0},
        0, 0,
        0, 0,
        5, variables_QTimeZone_OffsetData,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTimeZone_OffsetData,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QTimeZone_OffsetData,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtimezone.sip"
#include <qtimezone.h>
#line 30785 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 30789 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 30792 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 30795 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 30798 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 30801 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtimezone.sip"
#include <qtimezone.h>
#line 56 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtimezone.sip"
#include <qtimezone.h>
#line 30806 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 299 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 30809 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QTimeZone_swap, "QTimeZone.swap(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, "QTimeZone.isValid() -> 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, "QTimeZone.id() -> 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, "QTimeZone.country() -> 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, "QTimeZone.comment() -> 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, "QTimeZone.displayName(QDateTime, QTimeZone.NameType nameType=QTimeZone.DefaultName, QLocale locale=QLocale()) -> str\n"
    "QTimeZone.displayName(QTimeZone.TimeType, QTimeZone.NameType nameType=QTimeZone.DefaultName, QLocale locale=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, "QTimeZone.abbreviation(QDateTime) -> 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, "QTimeZone.offsetFromUtc(QDateTime) -> 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, "QTimeZone.standardTimeOffset(QDateTime) -> 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, "QTimeZone.daylightTimeOffset(QDateTime) -> 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, "QTimeZone.hasDaylightTime() -> 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, "QTimeZone.isDaylightTime(QDateTime) -> 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, "QTimeZone.offsetData(QDateTime) -> 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, "QTimeZone.hasTransitions() -> 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, "QTimeZone.nextTransition(QDateTime) -> 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, "QTimeZone.previousTransition(QDateTime) -> 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, "QTimeZone.transitions(QDateTime, QDateTime) -> list-of-QTimeZone.OffsetData");

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))
        {
            QVector<QTimeZone::OffsetData>*sipRes;

            sipRes = new QVector<QTimeZone::OffsetData>(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, "QTimeZone.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, "QTimeZone.isTimeZoneIdAvailable(QByteArray) -> 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, "QTimeZone.availableTimeZoneIds() -> list-of-QByteArray\n"
    "QTimeZone.availableTimeZoneIds(QLocale.Country) -> list-of-QByteArray\n"
    "QTimeZone.availableTimeZoneIds(int) -> list-of-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, "QTimeZone.ianaIdToWindowsId(QByteArray) -> 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, "QTimeZone.windowsIdToDefaultIanaId(QByteArray) -> QByteArray\n"
    "QTimeZone.windowsIdToDefaultIanaId(QByteArray, 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, "QTimeZone.windowsIdToIanaIds(QByteArray) -> list-of-QByteArray\n"
    "QTimeZone.windowsIdToIanaIds(QByteArray, QLocale.Country) -> list-of-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;
}


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);
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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_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_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), 270},
    {sipName_DefaultName, static_cast<int>(QTimeZone::DefaultName), 268},
    {sipName_GenericTime, static_cast<int>(QTimeZone::GenericTime), 270},
    {sipName_LongName, static_cast<int>(QTimeZone::LongName), 268},
    {sipName_OffsetName, static_cast<int>(QTimeZone::OffsetName), 268},
    {sipName_ShortName, static_cast<int>(QTimeZone::ShortName), 268},
    {sipName_StandardTime, static_cast<int>(QTimeZone::StandardTime), 270},
};

PyDoc_STRVAR(doc_QTimeZone, "\1QTimeZone()\n"
    "QTimeZone(QByteArray)\n"
    "QTimeZone(int)\n"
    "QTimeZone(QByteArray, int, str, str, QLocale.Country country=QLocale.AnyCountry, str comment=QString())\n"
    "QTimeZone(QTimeZone)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QTimeZone = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTimeZone,
        {0}
    },
    {
        sipNameNr_QTimeZone,
        {0, 0, 1},
        23, methods_QTimeZone,
        7, enummembers_QTimeZone,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTimeZone,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QTimeZone,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtimer.sip"
#include <qtimer.h>
#line 31874 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 31878 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31881 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31884 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 31887 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31890 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31893 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 31896 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 31899 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 31902 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 31905 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 31908 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 31911 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31914 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 31917 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 31920 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 31923 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void timerEvent(QTimerEvent*);

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQTimer::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QTimer);
}

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));
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(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_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(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, "QTimer.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 32218 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QTimer.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 32277 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QTimer.childEvent(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 || sipIsDerived((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, "QTimer.customEvent(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 || sipIsDerived((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, "QTimer.connectNotify(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 || sipIsDerived((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, "QTimer.disconnectNotify(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 || sipIsDerived((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, "QTimer.senderSignalIndex() -> 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, "QTimer.isSignalConnected(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, "QTimer.isActive() -> 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, "QTimer.timerId() -> 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, "QTimer.setInterval(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, "QTimer.interval() -> 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, "QTimer.isSingleShot() -> 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, "QTimer.setSingleShot(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, "QTimer.singleShot(int, callable-or-signal)\n"
    "QTimer.singleShot(int, Qt.TimerType, callable-or-signal)");

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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 32655 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 32691 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QTimer.start(int)\n"
    "QTimer.start()");

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, "QTimer.stop()");

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, "QTimer.timerEvent(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 || sipIsDerived((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, "QTimer.setTimerType(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, "QTimer.timerType() -> 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, "QTimer.remainingTime() -> 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 superclass hierarchy. */
extern "C" {static void *cast_QTimer(void *, const sipTypeDef *);}
static void *cast_QTimer(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QTimer)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QTimer *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQTimer *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{162, 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)}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QTimer[] = {
    {"timeout()", "\1QTimer.timeout", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QTimer, "\1QTimer(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QTimer = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTimer,
        {0}
    },
    {
        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
},
    &QTimer::staticMetaObject,
    0,
    signals_QTimer,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtimeline.sip"
#include <qtimeline.h>
#line 33051 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 33055 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qeasingcurve.sip"
#include <qeasingcurve.h>
#line 33058 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33061 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 33064 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33067 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33070 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 33073 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 33076 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 33079 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 33082 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 33085 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33088 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 33091 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33094 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 33097 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 33100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 33103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void timerEvent(QTimerEvent*);
    qreal valueForTime(int) const;

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQTimeLine::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QTimeLine);
}

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));
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

qreal sipQTimeLine::valueForTime(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QTimeLine::valueForTime(a0);

    extern double sipVH_QtCore_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_10(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, "QTimeLine.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 33415 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QTimeLine.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 33474 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QTimeLine.childEvent(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 || sipIsDerived((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, "QTimeLine.customEvent(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 || sipIsDerived((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, "QTimeLine.connectNotify(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 || sipIsDerived((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, "QTimeLine.disconnectNotify(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 || sipIsDerived((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, "QTimeLine.senderSignalIndex() -> 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, "QTimeLine.isSignalConnected(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, "QTimeLine.state() -> 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, "QTimeLine.loopCount() -> 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, "QTimeLine.setLoopCount(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, "QTimeLine.direction() -> 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, "QTimeLine.setDirection(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, "QTimeLine.duration() -> 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, "QTimeLine.setDuration(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, "QTimeLine.startFrame() -> 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, "QTimeLine.setStartFrame(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, "QTimeLine.endFrame() -> 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, "QTimeLine.setEndFrame(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, "QTimeLine.setFrameRange(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, "QTimeLine.updateInterval() -> 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, "QTimeLine.setUpdateInterval(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, "QTimeLine.curveShape() -> 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, "QTimeLine.setCurveShape(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, "QTimeLine.currentTime() -> 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, "QTimeLine.currentFrame() -> 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, "QTimeLine.currentValue() -> 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, "QTimeLine.frameForTime(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, "QTimeLine.valueForTime(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 || sipIsDerived((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, "QTimeLine.resume()");

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, "QTimeLine.setCurrentTime(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, "QTimeLine.setPaused(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, "QTimeLine.start()");

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, "QTimeLine.stop()");

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, "QTimeLine.toggleDirection()");

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, "QTimeLine.timerEvent(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 || sipIsDerived((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, "QTimeLine.easingCurve() -> 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, "QTimeLine.setEasingCurve(QEasingCurve)");

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 superclass hierarchy. */
extern "C" {static void *cast_QTimeLine(void *, const sipTypeDef *);}
static void *cast_QTimeLine(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QTimeLine)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QTimeLine *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQTimeLine *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{162, 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), 265},
    {sipName_CosineCurve, static_cast<int>(QTimeLine::CosineCurve), 264},
    {sipName_EaseInCurve, static_cast<int>(QTimeLine::EaseInCurve), 264},
    {sipName_EaseInOutCurve, static_cast<int>(QTimeLine::EaseInOutCurve), 264},
    {sipName_EaseOutCurve, static_cast<int>(QTimeLine::EaseOutCurve), 264},
    {sipName_Forward, static_cast<int>(QTimeLine::Forward), 265},
    {sipName_LinearCurve, static_cast<int>(QTimeLine::LinearCurve), 264},
    {sipName_NotRunning, static_cast<int>(QTimeLine::NotRunning), 266},
    {sipName_Paused, static_cast<int>(QTimeLine::Paused), 266},
    {sipName_Running, static_cast<int>(QTimeLine::Running), 266},
    {sipName_SineCurve, static_cast<int>(QTimeLine::SineCurve), 264},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QTimeLine[] = {
    {"valueChanged(qreal)", "\1QTimeLine.valueChanged[float]", 0, 0},
    {"stateChanged(QTimeLine::State)", "\1QTimeLine.stateChanged[QTimeLine.State]", 0, 0},
    {"frameChanged(int)", "\1QTimeLine.frameChanged[int]", 0, 0},
    {"finished()", "\1QTimeLine.finished", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QTimeLine, "\1QTimeLine(int duration=1000, QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QTimeLine = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTimeLine,
        {0}
    },
    {
        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
},
    &QTimeLine::staticMetaObject,
    0,
    signals_QTimeLine,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthreadpool.sip"
#include <qthreadpool.h>
#line 34674 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 34678 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qrunnable.sip"
#include <qrunnable.h>
#line 34681 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 34684 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34687 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34690 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34693 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 34696 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 34699 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 34702 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 34705 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 34708 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34711 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 34714 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34717 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 34720 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 34723 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 34726 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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:
    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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQThreadPool::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QThreadPool);
}

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));
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(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_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return 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, "QThreadPool.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 35021 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QThreadPool.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 35080 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QThreadPool.timerEvent(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 || sipIsDerived((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, "QThreadPool.childEvent(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 || sipIsDerived((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, "QThreadPool.customEvent(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 || sipIsDerived((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, "QThreadPool.connectNotify(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 || sipIsDerived((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, "QThreadPool.disconnectNotify(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 || sipIsDerived((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, "QThreadPool.senderSignalIndex() -> 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, "QThreadPool.isSignalConnected(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, "QThreadPool.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, -10, 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, "QThreadPool.start(QRunnable, int priority=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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 35354 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QThreadPool.tryStart(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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 35392 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_expiryTimeout, "QThreadPool.expiryTimeout() -> 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, "QThreadPool.setExpiryTimeout(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, "QThreadPool.maxThreadCount() -> 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, "QThreadPool.setMaxThreadCount(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, "QThreadPool.activeThreadCount() -> 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, "QThreadPool.reserveThread()");

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, "QThreadPool.releaseThread()");

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, "QThreadPool.waitForDone(int msecs=-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, "QThreadPool.clear()");

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;
}


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

    if (targetType == sipType_QThreadPool)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QThreadPool *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQThreadPool *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{162, 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_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_waitForDone), (PyCFunction)meth_QThreadPool_waitForDone, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QThreadPool_waitForDone)}
};

PyDoc_STRVAR(doc_QThreadPool, "\1QThreadPool(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QThreadPool = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QThreadPool,
        {0}
    },
    {
        sipNameNr_QThreadPool,
        {0, 0, 1},
        21, 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
},
    &QThreadPool::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 35808 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 35812 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstracteventdispatcher.sip"
#include <qabstracteventdispatcher.h>
#line 35815 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 35818 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 35821 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 35824 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 35827 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 35830 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 35833 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 35836 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 35839 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 35842 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 35845 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 35848 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 35851 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 35854 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 35857 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void run();

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQThread::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QThread);
}

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::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQThread::run()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QThread::run();
        sipEndThread();
        return;
    }

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);

    sipEndThread();
}

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, "QThread.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 36193 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QThread.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 36252 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QThread.timerEvent(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 || sipIsDerived((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, "QThread.childEvent(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 || sipIsDerived((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, "QThread.customEvent(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 || sipIsDerived((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, "QThread.connectNotify(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 || sipIsDerived((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, "QThread.disconnectNotify(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 || sipIsDerived((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, "QThread.senderSignalIndex() -> 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, "QThread.isSignalConnected(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, "QThread.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, "QThread.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, "QThread.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, "QThread.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, "QThread.isFinished() -> 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, "QThread.isRunning() -> 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, "QThread.setPriority(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, "QThread.priority() -> 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, "QThread.setStackSize(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, "QThread.stackSize() -> 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, "QThread.exit(int returnCode=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, "QThread.start(QThread.Priority 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, "QThread.terminate()");

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, "QThread.quit()");

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, "QThread.wait(int msecs=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, "QThread.run()");

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 || sipIsDerived((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_, "QThread.exec_() -> 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, "QThread.exec() -> 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, "QThread.setTerminationEnabled(bool enabled=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, "QThread.event(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 || sipIsDerived((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, "QThread.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, "QThread.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, "QThread.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, "QThread.eventDispatcher() -> 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, "QThread.setEventDispatcher(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, "QThread.requestInterruption()");

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, "QThread.isInterruptionRequested() -> 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;
}


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

    if (targetType == sipType_QThread)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QThread *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQThread *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{162, 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_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), 260},
    {sipName_HighestPriority, static_cast<int>(QThread::HighestPriority), 260},
    {sipName_IdlePriority, static_cast<int>(QThread::IdlePriority), 260},
    {sipName_InheritPriority, static_cast<int>(QThread::InheritPriority), 260},
    {sipName_LowPriority, static_cast<int>(QThread::LowPriority), 260},
    {sipName_LowestPriority, static_cast<int>(QThread::LowestPriority), 260},
    {sipName_NormalPriority, static_cast<int>(QThread::NormalPriority), 260},
    {sipName_TimeCriticalPriority, static_cast<int>(QThread::TimeCriticalPriority), 260},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QThread[] = {
    {"finished()", "\1QThread.finished", 0, 0},
    {"started()", "\1QThread.started", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QThread, "\1QThread(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QThread = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QThread,
        {0}
    },
    {
        sipNameNr_QThread,
        {0, 0, 1},
        36, 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
},
    &QThread::staticMetaObject,
    0,
    signals_QThread,
    0
};




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

    return NULL;
}


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


pyqt5ClassTypeDef sipTypeDef_QtCore_QTextStreamManipulator = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTextStreamManipulator,
        {0}
    },
    {
        sipNameNr_QTextStreamManipulator,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QTextStreamManipulator,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 37483 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 37487 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTextStream::NumberFlags::Int() != 0);
#line 37505 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTextStream::NumberFlags::Int() != a0->operator QTextStream::NumberFlags::Int());
#line 37535 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTextStream::NumberFlags::Int() == a0->operator QTextStream::NumberFlags::Int());
#line 37571 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QTextStream_NumberFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QTextStream::NumberFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QTextStream_NumberFlags, &a0, &a0State, &a1))
        {
            QTextStream::NumberFlags*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QTextStream::NumberFlags(*a0 ^ a1);
#line 37674 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QTextStream_NumberFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QTextStream::NumberFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QTextStream_NumberFlags, &a0, &a0State, &a1))
        {
            QTextStream::NumberFlags*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QTextStream::NumberFlags(*a0 | a1);
#line 37724 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        QTextStream::NumberFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QTextStream_NumberFlags, &a0, &a0State))
        {
            sipCpp->QTextStream::NumberFlags::operator^=(*a0);
            sipReleaseType(a0,sipType_QTextStream_NumberFlags,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_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;

    {
        QTextStream::NumberFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QTextStream_NumberFlags, &a0, &a0State))
        {
            sipCpp->QTextStream::NumberFlags::operator|=(*a0);
            sipReleaseType(a0,sipType_QTextStream_NumberFlags,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_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;
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QTextStream::NumberFlags(a0);

            return sipCpp;
        }
    }

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

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 38001 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QTextStream_NumberFlags[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QTextStream_NumberFlags___and__, and_slot},
    {(void *)slot_QTextStream_NumberFlags___xor__, xor_slot},
    {(void *)slot_QTextStream_NumberFlags___or__, or_slot},
    {(void *)slot_QTextStream_NumberFlags___int__, int_slot},
    {(void *)slot_QTextStream_NumberFlags___ixor__, ixor_slot},
    {(void *)slot_QTextStream_NumberFlags___ior__, ior_slot},
    {(void *)slot_QTextStream_NumberFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QTextStream_NumberFlags, "\1QTextStream.NumberFlags(QTextStream.NumberFlags)\n"
    "QTextStream.NumberFlags(int)\n"
    "QTextStream.NumberFlags()");


pyqt5ClassTypeDef sipTypeDef_QtCore_QTextStream_NumberFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTextStream__NumberFlags,
        {0}
    },
    {
        sipNameNr_NumberFlags,
        {252, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTextStream_NumberFlags,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QTextStream_NumberFlags,
    convertTo_QTextStream_NumberFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 38083 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 38087 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 38090 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 38093 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 38096 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 38099 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 38102 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 38105 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 38108 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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()
{
    sipCommonDtor(sipPySelf);
}


PyDoc_STRVAR(doc_QTextStream_setCodec, "QTextStream.setCodec(QTextCodec)\n"
    "QTextStream.setCodec(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, -9, 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, "QTextStream.codec() -> 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, "QTextStream.setAutoDetectUnicode(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, "QTextStream.autoDetectUnicode() -> 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, "QTextStream.setGenerateByteOrderMark(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, "QTextStream.generateByteOrderMark() -> 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, "QTextStream.setDevice(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, "QTextStream.device() -> 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, "QTextStream.atEnd() -> 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, "QTextStream.reset()");

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, "QTextStream.flush()");

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, "QTextStream.seek(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, "QTextStream.skipWhiteSpace()");

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, "QTextStream.read(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, "QTextStream.readLine(int maxLength=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, "QTextStream.readAll() -> 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, "QTextStream.setFieldAlignment(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, "QTextStream.fieldAlignment() -> 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, "QTextStream.setPadChar(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, "QTextStream.padChar() -> 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, "QTextStream.setFieldWidth(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, "QTextStream.fieldWidth() -> 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, "QTextStream.setNumberFlags(QTextStream.NumberFlags)");

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, "QTextStream.numberFlags() -> 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, "QTextStream.setIntegerBase(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, "QTextStream.integerBase() -> 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, "QTextStream.setRealNumberNotation(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, "QTextStream.realNumberNotation() -> 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, "QTextStream.setRealNumberPrecision(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, "QTextStream.realNumberPrecision() -> 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, "QTextStream.status() -> 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, "QTextStream.setStatus(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, "QTextStream.resetStatus()");

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, "QTextStream.pos() -> 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, "QTextStream.setLocale(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, "QTextStream.locale() -> 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);
}


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

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQTextStream *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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), 253},
    {sipName_AlignCenter, static_cast<int>(QTextStream::AlignCenter), 253},
    {sipName_AlignLeft, static_cast<int>(QTextStream::AlignLeft), 253},
    {sipName_AlignRight, static_cast<int>(QTextStream::AlignRight), 253},
    {sipName_FixedNotation, static_cast<int>(QTextStream::FixedNotation), 256},
    {sipName_ForcePoint, static_cast<int>(QTextStream::ForcePoint), 254},
    {sipName_ForceSign, static_cast<int>(QTextStream::ForceSign), 254},
    {sipName_Ok, static_cast<int>(QTextStream::Ok), 257},
    {sipName_ReadCorruptData, static_cast<int>(QTextStream::ReadCorruptData), 257},
    {sipName_ReadPastEnd, static_cast<int>(QTextStream::ReadPastEnd), 257},
    {sipName_ScientificNotation, static_cast<int>(QTextStream::ScientificNotation), 256},
    {sipName_ShowBase, static_cast<int>(QTextStream::ShowBase), 254},
    {sipName_SmartNotation, static_cast<int>(QTextStream::SmartNotation), 256},
    {sipName_UppercaseBase, static_cast<int>(QTextStream::UppercaseBase), 254},
    {sipName_UppercaseDigits, static_cast<int>(QTextStream::UppercaseDigits), 254},
    {sipName_WriteFailed, static_cast<int>(QTextStream::WriteFailed), 257},
};

PyDoc_STRVAR(doc_QTextStream, "\1QTextStream()\n"
    "QTextStream(QIODevice)\n"
    "QTextStream(QByteArray, QIODevice.OpenMode mode=QIODevice.ReadWrite)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QTextStream = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTextStream,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QTextStream,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 39513 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 39517 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 39520 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 39523 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 39526 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QTextDecoder_toUnicode, "QTextDecoder.toUnicode(str) -> str\n"
    "QTextDecoder.toUnicode(QByteArray) -> 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;
}


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

    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 (sipIsPyOwned(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, QTextCodec.ConversionFlags)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QTextDecoder = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTextDecoder,
        {0}
    },
    {
        sipNameNr_QTextDecoder,
        {0, 0, 1},
        1, methods_QTextDecoder,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTextDecoder,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    -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,
    cast_QTextDecoder,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 93 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 39703 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 39707 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 39710 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 39713 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 39716 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QTextEncoder_fromUnicode, "QTextEncoder.fromUnicode(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;
}


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

    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 (sipIsPyOwned(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, QTextCodec.ConversionFlags)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QTextEncoder = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTextEncoder,
        {0}
    },
    {
        sipNameNr_QTextEncoder,
        {0, 0, 1},
        1, methods_QTextEncoder,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTextEncoder,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    -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,
    cast_QTextEncoder,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 64 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 39879 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 39883 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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

    return NULL;
}


/* 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 (sipIsPyOwned(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(QTextCodec.ConversionFlags flags=QTextCodec.DefaultConversion)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QTextCodec_ConverterState = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTextCodec__ConverterState,
        {0}
    },
    {
        sipNameNr_ConverterState,
        {246, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTextCodec_ConverterState,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QTextCodec_ConverterState,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 40001 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 40005 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTextCodec::ConversionFlags::Int() != 0);
#line 40023 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTextCodec::ConversionFlags::Int() != a0->operator QTextCodec::ConversionFlags::Int());
#line 40053 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTextCodec::ConversionFlags::Int() == a0->operator QTextCodec::ConversionFlags::Int());
#line 40089 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QTextCodec_ConversionFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QTextCodec::ConversionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QTextCodec_ConversionFlags, &a0, &a0State, &a1))
        {
            QTextCodec::ConversionFlags*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QTextCodec::ConversionFlags(*a0 ^ a1);
#line 40192 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QTextCodec_ConversionFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QTextCodec::ConversionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QTextCodec_ConversionFlags, &a0, &a0State, &a1))
        {
            QTextCodec::ConversionFlags*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QTextCodec::ConversionFlags(*a0 | a1);
#line 40242 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        QTextCodec::ConversionFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QTextCodec_ConversionFlags, &a0, &a0State))
        {
            sipCpp->QTextCodec::ConversionFlags::operator^=(*a0);
            sipReleaseType(a0,sipType_QTextCodec_ConversionFlags,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_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;

    {
        QTextCodec::ConversionFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QTextCodec_ConversionFlags, &a0, &a0State))
        {
            sipCpp->QTextCodec::ConversionFlags::operator|=(*a0);
            sipReleaseType(a0,sipType_QTextCodec_ConversionFlags,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_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;
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QTextCodec::ConversionFlags(a0);

            return sipCpp;
        }
    }

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

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 40519 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QTextCodec_ConversionFlags[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QTextCodec_ConversionFlags___and__, and_slot},
    {(void *)slot_QTextCodec_ConversionFlags___xor__, xor_slot},
    {(void *)slot_QTextCodec_ConversionFlags___or__, or_slot},
    {(void *)slot_QTextCodec_ConversionFlags___int__, int_slot},
    {(void *)slot_QTextCodec_ConversionFlags___ixor__, ixor_slot},
    {(void *)slot_QTextCodec_ConversionFlags___ior__, ior_slot},
    {(void *)slot_QTextCodec_ConversionFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QTextCodec_ConversionFlags, "\1QTextCodec.ConversionFlags(QTextCodec.ConversionFlags)\n"
    "QTextCodec.ConversionFlags(int)\n"
    "QTextCodec.ConversionFlags()");


pyqt5ClassTypeDef sipTypeDef_QtCore_QTextCodec_ConversionFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTextCodec__ConversionFlags,
        {0}
    },
    {
        sipNameNr_ConversionFlags,
        {246, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTextCodec_ConversionFlags,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QTextCodec_ConversionFlags,
    convertTo_QTextCodec_ConversionFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 40601 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 40605 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 64 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 40610 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 40613 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 40616 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 93 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 40619 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 40622 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 40625 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 629 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 40628 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QTextCodec_codecForName, "QTextCodec.codecForName(QByteArray) -> QTextCodec\n"
    "QTextCodec.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, "QTextCodec.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, "QTextCodec.codecForHtml(QByteArray) -> QTextCodec\n"
    "QTextCodec.codecForHtml(QByteArray, 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, "QTextCodec.codecForUtfText(QByteArray) -> QTextCodec\n"
    "QTextCodec.codecForUtfText(QByteArray, 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, "QTextCodec.availableCodecs() -> list-of-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, "QTextCodec.availableMibs() -> list-of-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, "QTextCodec.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, "QTextCodec.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, -8, 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, "QTextCodec.makeDecoder(QTextCodec.ConversionFlags flags=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, "QTextCodec.makeEncoder(QTextCodec.ConversionFlags flags=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, "QTextCodec.canEncode(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, "QTextCodec.toUnicode(QByteArray) -> str\n"
    "QTextCodec.toUnicode(str) -> str\n"
    "QTextCodec.toUnicode(str, QTextCodec.ConverterState state=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, "QTextCodec.fromUnicode(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, "QTextCodec.name() -> 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, "QTextCodec.aliases() -> list-of-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 || sipIsDerived((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, "QTextCodec.mibEnum() -> 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;
}


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

    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), 247},
    {sipName_DefaultConversion, static_cast<int>(QTextCodec::DefaultConversion), 247},
    {sipName_IgnoreHeader, static_cast<int>(QTextCodec::IgnoreHeader), 247},
};


pyqt5ClassTypeDef sipTypeDef_QtCore_QTextCodec = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTextCodec,
        {0}
    },
    {
        sipNameNr_QTextCodec,
        {0, 0, 1},
        16, methods_QTextCodec,
        3, enummembers_QTextCodec,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    -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,
    cast_QTextCodec,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextboundaryfinder.sip"
#include <qtextboundaryfinder.h>
#line 41293 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextboundaryfinder.sip"
#include <qtextboundaryfinder.h>
#line 41297 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTextBoundaryFinder::BoundaryReasons::Int() != 0);
#line 41315 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTextBoundaryFinder::BoundaryReasons::Int() != a0->operator QTextBoundaryFinder::BoundaryReasons::Int());
#line 41345 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTextBoundaryFinder::BoundaryReasons::Int() == a0->operator QTextBoundaryFinder::BoundaryReasons::Int());
#line 41381 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QTextBoundaryFinder_BoundaryReasons___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QTextBoundaryFinder::BoundaryReasons* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QTextBoundaryFinder_BoundaryReasons, &a0, &a0State, &a1))
        {
            QTextBoundaryFinder::BoundaryReasons*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QTextBoundaryFinder::BoundaryReasons(*a0 ^ a1);
#line 41484 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QTextBoundaryFinder_BoundaryReasons___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QTextBoundaryFinder::BoundaryReasons* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QTextBoundaryFinder_BoundaryReasons, &a0, &a0State, &a1))
        {
            QTextBoundaryFinder::BoundaryReasons*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QTextBoundaryFinder::BoundaryReasons(*a0 | a1);
#line 41534 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        QTextBoundaryFinder::BoundaryReasons* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QTextBoundaryFinder_BoundaryReasons, &a0, &a0State))
        {
            sipCpp->QTextBoundaryFinder::BoundaryReasons::operator^=(*a0);
            sipReleaseType(a0,sipType_QTextBoundaryFinder_BoundaryReasons,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_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;

    {
        QTextBoundaryFinder::BoundaryReasons* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QTextBoundaryFinder_BoundaryReasons, &a0, &a0State))
        {
            sipCpp->QTextBoundaryFinder::BoundaryReasons::operator|=(*a0);
            sipReleaseType(a0,sipType_QTextBoundaryFinder_BoundaryReasons,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_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;
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QTextBoundaryFinder::BoundaryReasons(a0);

            return sipCpp;
        }
    }

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

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 41811 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QTextBoundaryFinder_BoundaryReasons[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QTextBoundaryFinder_BoundaryReasons___and__, and_slot},
    {(void *)slot_QTextBoundaryFinder_BoundaryReasons___xor__, xor_slot},
    {(void *)slot_QTextBoundaryFinder_BoundaryReasons___or__, or_slot},
    {(void *)slot_QTextBoundaryFinder_BoundaryReasons___int__, int_slot},
    {(void *)slot_QTextBoundaryFinder_BoundaryReasons___ixor__, ixor_slot},
    {(void *)slot_QTextBoundaryFinder_BoundaryReasons___ior__, ior_slot},
    {(void *)slot_QTextBoundaryFinder_BoundaryReasons___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QTextBoundaryFinder_BoundaryReasons, "\1QTextBoundaryFinder.BoundaryReasons(QTextBoundaryFinder.BoundaryReasons)\n"
    "QTextBoundaryFinder.BoundaryReasons(int)\n"
    "QTextBoundaryFinder.BoundaryReasons()");


pyqt5ClassTypeDef sipTypeDef_QtCore_QTextBoundaryFinder_BoundaryReasons = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTextBoundaryFinder__BoundaryReasons,
        {0}
    },
    {
        sipNameNr_BoundaryReasons,
        {242, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTextBoundaryFinder_BoundaryReasons,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QTextBoundaryFinder_BoundaryReasons,
    convertTo_QTextBoundaryFinder_BoundaryReasons,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextboundaryfinder.sip"
#include <qtextboundaryfinder.h>
#line 41893 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 41897 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextboundaryfinder.sip"
#include <qtextboundaryfinder.h>
#line 41900 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QTextBoundaryFinder_isValid, "QTextBoundaryFinder.isValid() -> 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, "QTextBoundaryFinder.type() -> 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, "QTextBoundaryFinder.string() -> 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, "QTextBoundaryFinder.toStart()");

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, "QTextBoundaryFinder.toEnd()");

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, "QTextBoundaryFinder.position() -> 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, "QTextBoundaryFinder.setPosition(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, "QTextBoundaryFinder.toNextBoundary() -> 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, "QTextBoundaryFinder.toPreviousBoundary() -> 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, "QTextBoundaryFinder.isAtBoundary() -> 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, "QTextBoundaryFinder.boundaryReasons() -> 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;
}


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

    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 (sipIsPyOwned(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), 243},
    {sipName_EndOfItem, static_cast<int>(QTextBoundaryFinder::EndOfItem), 243},
    {sipName_Grapheme, static_cast<int>(QTextBoundaryFinder::Grapheme), 245},
    {sipName_Line, static_cast<int>(QTextBoundaryFinder::Line), 245},
    {sipName_MandatoryBreak, static_cast<int>(QTextBoundaryFinder::MandatoryBreak), 243},
    {sipName_NotAtBoundary, static_cast<int>(QTextBoundaryFinder::NotAtBoundary), 243},
    {sipName_Sentence, static_cast<int>(QTextBoundaryFinder::Sentence), 245},
    {sipName_SoftHyphen, static_cast<int>(QTextBoundaryFinder::SoftHyphen), 243},
    {sipName_StartOfItem, static_cast<int>(QTextBoundaryFinder::StartOfItem), 243},
    {sipName_Word, static_cast<int>(QTextBoundaryFinder::Word), 245},
};

PyDoc_STRVAR(doc_QTextBoundaryFinder, "\1QTextBoundaryFinder()\n"
    "QTextBoundaryFinder(QTextBoundaryFinder)\n"
    "QTextBoundaryFinder(QTextBoundaryFinder.BoundaryType, str)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QTextBoundaryFinder = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTextBoundaryFinder,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QTextBoundaryFinder,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtemporaryfile.sip"
#include <qtemporaryfile.h>
#line 42380 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 42384 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 42387 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfile.sip"
#include <qfile.h>
#line 42390 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 42393 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 42396 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 42399 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 42402 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 42405 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 42408 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 42411 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 42414 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 42417 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 42420 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 42423 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42426 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 42429 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42432 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 42435 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 42438 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 42441 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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 waitForBytesWritten(int);
    bool waitForReadyRead(int);
    bool canReadLine() const;
    qint64 bytesToWrite() const;
    qint64 bytesAvailable() const;
    bool reset();
    qint64 readLineData(char*,qint64);
    qint64 writeData(const char*,PY_LONG_LONG);
    qint64 readData(char*,qint64);
    bool atEnd() const;
    bool seek(qint64);
    qint64 pos() const;
    bool isSequential() const;
    void close();
    bool setPermissions(QFileDevice::Permissions);
    QFileDevice::Permissions permissions() const;
    bool resize(qint64);
    qint64 size() const;
    bool open(QIODevice::OpenMode);
    QString fileName() const;

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQTemporaryFile::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QTemporaryFile);
}

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));
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQTemporaryFile::waitForBytesWritten(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QTemporaryFile::waitForBytesWritten(a0);

    extern bool sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQTemporaryFile::waitForReadyRead(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QTemporaryFile::waitForReadyRead(a0);

    extern bool sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQTemporaryFile::canReadLine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QTemporaryFile::canReadLine();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

qint64 sipQTemporaryFile::bytesToWrite() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QTemporaryFile::bytesToWrite();

    extern PY_LONG_LONG sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

qint64 sipQTemporaryFile::bytesAvailable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QTemporaryFile::bytesAvailable();

    extern PY_LONG_LONG sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQTemporaryFile::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QTemporaryFile::reset();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

qint64 sipQTemporaryFile::readLineData(char*a0,qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QTemporaryFile::readLineData(a0,a1);

    extern PY_LONG_LONG sipVH_QtCore_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_43(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[14],sipPySelf,NULL,sipName_writeData);

    if (!sipMeth)
        return QTemporaryFile::writeData(a0,a1);

    extern PY_LONG_LONG sipVH_QtCore_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*,PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_42(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

qint64 sipQTemporaryFile::readData(char*a0,qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QTemporaryFile::readData(a0,a1);

    extern PY_LONG_LONG sipVH_QtCore_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_43(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQTemporaryFile::atEnd() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QTemporaryFile::atEnd();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQTemporaryFile::seek(qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QTemporaryFile::seek(a0);

    extern bool sipVH_QtCore_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_53(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

qint64 sipQTemporaryFile::pos() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QTemporaryFile::pos();

    extern PY_LONG_LONG sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQTemporaryFile::isSequential() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QTemporaryFile::isSequential();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQTemporaryFile::close()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QTemporaryFile::close();
        return;
    }

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQTemporaryFile::setPermissions(QFileDevice::Permissions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QTemporaryFile::setPermissions(a0);

    extern bool sipVH_QtCore_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFileDevice::Permissions);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_54(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[22]),sipPySelf,NULL,sipName_permissions);

    if (!sipMeth)
        return QTemporaryFile::permissions();

    extern QFileDevice::Permissions sipVH_QtCore_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_55(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQTemporaryFile::resize(qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QTemporaryFile::resize(a0);

    extern bool sipVH_QtCore_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_53(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

qint64 sipQTemporaryFile::size() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QTemporaryFile::size();

    extern PY_LONG_LONG sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQTemporaryFile::open(QIODevice::OpenMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QTemporaryFile::open(a0);

    extern bool sipVH_QtCore_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QIODevice::OpenMode);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_15(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

QString sipQTemporaryFile::fileName() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QTemporaryFile::fileName();

    extern QString sipVH_QtCore_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_16(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

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, "QTemporaryFile.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 43133 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QTemporaryFile.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 43192 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QTemporaryFile.timerEvent(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 || sipIsDerived((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, "QTemporaryFile.childEvent(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 || sipIsDerived((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, "QTemporaryFile.customEvent(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 || sipIsDerived((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, "QTemporaryFile.connectNotify(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 || sipIsDerived((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, "QTemporaryFile.disconnectNotify(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 || sipIsDerived((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, "QTemporaryFile.senderSignalIndex() -> 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, "QTemporaryFile.isSignalConnected(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, "QTemporaryFile.setOpenMode(QIODevice.OpenMode)");

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, "QTemporaryFile.setErrorString(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, "QTemporaryFile.readData(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 || sipIsDerived((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 108 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 43518 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QTemporaryFile.writeData(str) -> 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 || sipIsDerived((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, "QTemporaryFile.readLineData(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 || sipIsDerived((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 147 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 43618 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QTemporaryFile.autoRemove() -> 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, "QTemporaryFile.setAutoRemove(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, "QTemporaryFile.open() -> bool\n"
    "QTemporaryFile.open(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 || sipIsDerived((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, "QTemporaryFile.fileName() -> 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 || sipIsDerived((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, "QTemporaryFile.fileTemplate() -> 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, "QTemporaryFile.setFileTemplate(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, "QTemporaryFile.createNativeFile(str) -> QTemporaryFile\n"
    "QTemporaryFile.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 superclass hierarchy. */
extern "C" {static void *cast_QTemporaryFile(void *, const sipTypeDef *);}
static void *cast_QTemporaryFile(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QTemporaryFile)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QFile)->ctd_cast((QFile *)(QTemporaryFile *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQTemporaryFile *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{60, 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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QTemporaryFile = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTemporaryFile,
        {0}
    },
    {
        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
},
    &QTemporaryFile::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtemporarydir.sip"
#include <qtemporarydir.h>
#line 44065 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 44069 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QTemporaryDir_isValid, "QTemporaryDir.isValid() -> 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, "QTemporaryDir.autoRemove() -> 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, "QTemporaryDir.setAutoRemove(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, "QTemporaryDir.remove() -> 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, "QTemporaryDir.path() -> 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;
}


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

    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 (sipIsPyOwned(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_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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QTemporaryDir = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTemporaryDir,
        {0}
    },
    {
        sipNameNr_QTemporaryDir,
        {0, 0, 1},
        5, methods_QTemporaryDir,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTemporaryDir,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QTemporaryDir,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsystemsemaphore.sip"
#include <qsystemsemaphore.h>
#line 44336 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 44340 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QSystemSemaphore_setKey, "QSystemSemaphore.setKey(str, int initialValue=0, QSystemSemaphore.AccessMode mode=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, "QSystemSemaphore.key() -> 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, "QSystemSemaphore.acquire() -> 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, "QSystemSemaphore.release(int n=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, "QSystemSemaphore.error() -> 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, "QSystemSemaphore.errorString() -> 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;
}


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

    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 (sipIsPyOwned(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), 239},
    {sipName_Create, static_cast<int>(QSystemSemaphore::Create), 238},
    {sipName_KeyError, static_cast<int>(QSystemSemaphore::KeyError), 239},
    {sipName_NoError, static_cast<int>(QSystemSemaphore::NoError), 239},
    {sipName_NotFound, static_cast<int>(QSystemSemaphore::NotFound), 239},
    {sipName_Open, static_cast<int>(QSystemSemaphore::Open), 238},
    {sipName_OutOfResources, static_cast<int>(QSystemSemaphore::OutOfResources), 239},
    {sipName_PermissionDenied, static_cast<int>(QSystemSemaphore::PermissionDenied), 239},
    {sipName_UnknownError, static_cast<int>(QSystemSemaphore::UnknownError), 239},
};

PyDoc_STRVAR(doc_QSystemSemaphore, "\1QSystemSemaphore(str, int initialValue=0, QSystemSemaphore.AccessMode mode=QSystemSemaphore.Open)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QSystemSemaphore = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSystemSemaphore,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QSystemSemaphore,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlistmodel.sip"
#include <qstringlistmodel.h>
#line 44660 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 44664 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 44667 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 44670 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44673 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44676 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44679 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 44682 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 44685 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 266 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 44688 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 44691 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 44694 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 44697 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 44700 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 70 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 44703 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 105 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 44706 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 321 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 44709 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 44712 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44715 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 44718 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 44721 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44724 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44727 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44730 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 44733 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 44736 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 44739 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 44742 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44745 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 44748 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 44751 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 44754 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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 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;
    bool canFetchMore(const QModelIndex&) const;
    void fetchMore(const QModelIndex&);
    bool removeColumns(int,int,const QModelIndex&);
    bool insertColumns(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 dropMimeData(const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    QModelIndex index(int,int,const QModelIndex&) const;
    QModelIndex sibling(int,int,const QModelIndex&) const;
    Qt::DropActions supportedDropActions() const;
    void sort(int,Qt::SortOrder);
    bool removeRows(int,int,const QModelIndex&);
    bool insertRows(int,int,const QModelIndex&);
    Qt::ItemFlags flags(const QModelIndex&) const;
    bool setData(const QModelIndex&,const QVariant&,int);
    QVariant data(const QModelIndex&,int) const;
    int rowCount(const QModelIndex&) const;

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQStringListModel::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QStringListModel);
}

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));
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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[7],sipPySelf,NULL,sipName_moveColumns);

    if (!sipMeth)
        return QStringListModel::moveColumns(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int,const QModelIndex&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_59(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[8],sipPySelf,NULL,sipName_moveRows);

    if (!sipMeth)
        return QStringListModel::moveRows(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int,const QModelIndex&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_59(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[9]),sipPySelf,NULL,sipName_canDropMimeData);

    if (!sipMeth)
        return QStringListModel::canDropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_33(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[10]),sipPySelf,NULL,sipName_roleNames);

    if (!sipMeth)
        return QStringListModel::roleNames();

    extern QHash<int,QByteArray> sipVH_QtCore_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_60(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

Qt::DropActions sipQStringListModel::supportedDragActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QStringListModel::supportedDragActions();

    extern Qt::DropActions sipVH_QtCore_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_18(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQStringListModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QStringListModel::revert();
        return;
    }

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQStringListModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QStringListModel::submit();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(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[14]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return QStringListModel::span(a0);

    extern QSize sipVH_QtCore_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_29(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[15]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return QStringListModel::match(a0,a1,a2,a3,a4);

    extern QList<QModelIndex> sipVH_QtCore_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_28(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[16]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return QStringListModel::buddy(a0);

    extern QModelIndex sipVH_QtCore_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_30(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[17]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return QStringListModel::canFetchMore(a0);

    extern bool sipVH_QtCore_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_31(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQStringListModel::fetchMore(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QStringListModel::fetchMore(a0);
        return;
    }

    extern void sipVH_QtCore_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_32(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[19],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return QStringListModel::removeColumns(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(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[20],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return QStringListModel::insertColumns(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

QMimeData* sipQStringListModel::mimeData(const QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QStringListModel::mimeData(a0);

    extern QMimeData* sipVH_QtCore_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QModelIndex>&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_34(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

QStringList sipQStringListModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QStringListModel::mimeTypes();

    extern QStringList sipVH_QtCore_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_27(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[23],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return QStringListModel::setItemData(a0,a1);

    extern bool sipVH_QtCore_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QMap<int,QVariant>&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_56(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[24]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return QStringListModel::itemData(a0);

    extern QMap<int,QVariant> sipVH_QtCore_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_57(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[25],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return QStringListModel::setHeaderData(a0,a1,a2,a3);

    extern bool sipVH_QtCore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,const QVariant&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_35(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[26]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return QStringListModel::headerData(a0,a1,a2);

    extern QVariant sipVH_QtCore_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_36(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

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[27],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return QStringListModel::dropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QModelIndex sipQStringListModel::index(int a0,int a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QStringListModel::index(a0,a1,a2);

    extern QModelIndex sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_17(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[30]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return QStringListModel::supportedDropActions();

    extern Qt::DropActions sipVH_QtCore_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_18(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQStringListModel::sort(int a0,Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
        QStringListModel::sort(a0,a1);
        return;
    }

    extern void sipVH_QtCore_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::SortOrder);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_19(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQStringListModel::removeRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return QStringListModel::removeRows(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(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[33],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return QStringListModel::insertRows(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

Qt::ItemFlags sipQStringListModel::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 QStringListModel::flags(a0);

    extern Qt::ItemFlags sipVH_QtCore_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_21(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQStringListModel::setData(const QModelIndex& a0,const QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return QStringListModel::setData(a0,a1,a2);

    extern bool sipVH_QtCore_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QVariant&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_22(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[36]),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);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    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[37]),sipPySelf,NULL,sipName_rowCount);

    if (!sipMeth)
        return QStringListModel::rowCount(a0);

    extern int sipVH_QtCore_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_24(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, "QStringListModel.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 45717 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QStringListModel.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 45776 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QStringListModel.timerEvent(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 || sipIsDerived((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, "QStringListModel.childEvent(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 || sipIsDerived((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, "QStringListModel.customEvent(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 || sipIsDerived((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, "QStringListModel.connectNotify(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 || sipIsDerived((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, "QStringListModel.disconnectNotify(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 || sipIsDerived((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, "QStringListModel.senderSignalIndex() -> 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, "QStringListModel.isSignalConnected(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, "QStringListModel.encodeData(list-of-QModelIndex, 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, "QStringListModel.decodeData(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, "QStringListModel.beginInsertRows(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, "QStringListModel.endInsertRows()");

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, "QStringListModel.beginRemoveRows(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, "QStringListModel.endRemoveRows()");

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, "QStringListModel.beginInsertColumns(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, "QStringListModel.endInsertColumns()");

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, "QStringListModel.beginRemoveColumns(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, "QStringListModel.endRemoveColumns()");

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, "QStringListModel.persistentIndexList() -> list-of-QModelIndex");

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, "QStringListModel.changePersistentIndex(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, "QStringListModel.changePersistentIndexList(list-of-QModelIndex, list-of-QModelIndex)");

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, "QStringListModel.createIndex(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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 46415 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QStringListModel.beginMoveRows(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, "QStringListModel.endMoveRows()");

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, "QStringListModel.beginMoveColumns(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, "QStringListModel.endMoveColumns()");

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, "QStringListModel.beginResetModel()");

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))
        {
            sipCpp->sipProtect_beginResetModel();

            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, "QStringListModel.endResetModel()");

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))
        {
            sipCpp->sipProtect_endResetModel();

            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, "QStringListModel.resetInternalData()");

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, "QStringListModel.rowCount(QModelIndex parent=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 || sipIsDerived((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, "QStringListModel.data(QModelIndex, int) -> QVariant");

extern "C" {static PyObject *meth_QStringListModel_data(PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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, "QStringListModel.setData(QModelIndex, QVariant, int role=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 || sipIsDerived((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, "QStringListModel.flags(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 || sipIsDerived((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, "QStringListModel.insertRows(int, int, QModelIndex parent=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 || sipIsDerived((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, "QStringListModel.removeRows(int, int, QModelIndex parent=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 || sipIsDerived((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, "QStringListModel.stringList() -> list-of-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, "QStringListModel.setStringList(list-of-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, "QStringListModel.sort(int, Qt.SortOrder order=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 || sipIsDerived((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, "QStringListModel.supportedDropActions() -> 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 || sipIsDerived((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, "QStringListModel.sibling(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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QStringListModel(void *, const sipTypeDef *);}
static void *cast_QStringListModel(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStringListModel)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractListModel)->ctd_cast((QAbstractListModel *)(QStringListModel *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQStringListModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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(QObject parent=None)\n"
    "QStringListModel(list-of-str, QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QStringListModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStringListModel,
        {0}
    },
    {
        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
},
    &QStringListModel::staticMetaObject,
    0,
    0,
    0
};

#line 68 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 47177 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
    // Qt only ever returns a QStringRef so this conversion isn't needed.
    return 0;
#line 47217 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
    return qpycore_PyObject_FromQString(sipCpp->toString());
#line 47228 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QStringRef = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_QStringRef,
        {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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 47259 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_AS_STRING(sipPy));

    return sipGetState(sipTransferObj);
}
#endif

*sipCppPtr = new QString(qpycore_PyObject_AsQString(sipPy));

return sipGetState(sipTransferObj);
#line 47326 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
    return qpycore_PyObject_FromQString(*sipCpp);
#line 47337 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QString = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ALLOW_NONE|SIP_TYPE_MAPPED,
        sipNameNr_QString,
        {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 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstorageinfo.sip"
#include <qstorageinfo.h>
#line 47368 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 47372 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 47375 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 47378 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 47381 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QStorageInfo_swap, "QStorageInfo.swap(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, "QStorageInfo.setPath(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, "QStorageInfo.rootPath() -> 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, "QStorageInfo.device() -> 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, "QStorageInfo.fileSystemType() -> 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, "QStorageInfo.name() -> 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, "QStorageInfo.displayName() -> 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, "QStorageInfo.bytesTotal() -> 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, "QStorageInfo.bytesFree() -> 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, "QStorageInfo.bytesAvailable() -> 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, "QStorageInfo.isReadOnly() -> 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, "QStorageInfo.isReady() -> 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, "QStorageInfo.isValid() -> 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, "QStorageInfo.refresh()");

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, "QStorageInfo.mountedVolumes() -> list-of-QStorageInfo");

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, "QStorageInfo.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, "QStorageInfo.isRoot() -> 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;
}


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);
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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_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_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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QStorageInfo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStorageInfo,
        {0}
    },
    {
        sipNameNr_QStorageInfo,
        {0, 0, 1},
        17, methods_QStorageInfo,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStorageInfo,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QStorageInfo,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 46 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 48100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 48104 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 48107 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QStateMachine_WrappedEvent_object, "QStateMachine.WrappedEvent.object() -> 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, "QStateMachine.WrappedEvent.event() -> 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 superclass hierarchy. */
extern "C" {static void *cast_QStateMachine_WrappedEvent(void *, const sipTypeDef *);}
static void *cast_QStateMachine_WrappedEvent(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStateMachine_WrappedEvent)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QEvent)->ctd_cast((QEvent *)(QStateMachine::WrappedEvent *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsPyOwned(sipSelf))
    {
        release_QStateMachine_WrappedEvent(sipGetAddress(sipSelf),0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStateMachine_WrappedEvent[] = {{53, 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)}
};


pyqt5ClassTypeDef sipTypeDef_QtCore_QStateMachine_WrappedEvent = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStateMachine__WrappedEvent,
        {0}
    },
    {
        sipNameNr_WrappedEvent,
        {224, 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
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 33 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 48266 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 48270 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 48273 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 48276 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 48279 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QStateMachine_SignalEvent_sender, "QStateMachine.SignalEvent.sender() -> 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, "QStateMachine.SignalEvent.signalIndex() -> 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, "QStateMachine.SignalEvent.arguments() -> list-of-QVariant");

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 superclass hierarchy. */
extern "C" {static void *cast_QStateMachine_SignalEvent(void *, const sipTypeDef *);}
static void *cast_QStateMachine_SignalEvent(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStateMachine_SignalEvent)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QEvent)->ctd_cast((QEvent *)(QStateMachine::SignalEvent *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsPyOwned(sipSelf))
    {
        release_QStateMachine_SignalEvent(sipGetAddress(sipSelf),0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStateMachine_SignalEvent[] = {{53, 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)}
};


pyqt5ClassTypeDef sipTypeDef_QtCore_QStateMachine_SignalEvent = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStateMachine__SignalEvent,
        {0}
    },
    {
        sipNameNr_SignalEvent,
        {224, 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
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 48464 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 48468 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstate.sip"
#include <qstate.h>
#line 48471 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 48474 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 139 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qset.sip"
#include <qset.h>
#line 48477 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 48480 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 48483 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 48486 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 48489 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 48492 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 48495 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstracttransition.sip"
#include <qabstracttransition.h>
#line 48498 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsignaltransition.sip"
#include <qsignaltransition.h>
#line 48501 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 48504 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 48507 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 48510 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 48513 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 48516 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 48519 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 48522 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 48525 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 48528 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 48531 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 48534 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 48537 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool event(QEvent*);
    void onExit(QEvent*);
    void onEntry(QEvent*);
    bool eventFilter(QObject*,QEvent*);

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQStateMachine::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QStateMachine);
}

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::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQStateMachine::onExit(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QStateMachine::onExit(a0);
        return;
    }

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQStateMachine::onEntry(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QStateMachine::onEntry(a0);
        return;
    }

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

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, "QStateMachine.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 48896 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QStateMachine.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 48955 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QStateMachine.timerEvent(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 || sipIsDerived((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, "QStateMachine.childEvent(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 || sipIsDerived((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, "QStateMachine.customEvent(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 || sipIsDerived((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, "QStateMachine.connectNotify(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 || sipIsDerived((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, "QStateMachine.disconnectNotify(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 || sipIsDerived((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, "QStateMachine.senderSignalIndex() -> 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, "QStateMachine.isSignalConnected(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, "QStateMachine.addState(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, "QStateMachine.removeState(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, "QStateMachine.error() -> 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, "QStateMachine.errorString() -> 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, "QStateMachine.clearError()");

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, "QStateMachine.isRunning() -> 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, "QStateMachine.isAnimated() -> 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, "QStateMachine.setAnimated(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, "QStateMachine.addDefaultAnimation(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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 = ((sipSimpleWrapper *)sipSelf)->user;
        
        if (!user)
            user = ((sipSimpleWrapper *)sipSelf)->user = PyList_New(0);
        
        if (user)
            PyList_Append(user, a0Wrapper);
#line 49413 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QStateMachine.defaultAnimations() -> list-of-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, "QStateMachine.removeDefaultAnimation(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 99 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 = ((sipSimpleWrapper *)sipSelf)->user;
        
        if (user)
        {
            Py_ssize_t i = 0;
            
            // Note that we deal with an object appearing in the list more than once.
            while (i < PyList_GET_SIZE(user))
                if (PyList_GET_ITEM(user, i) == a0Wrapper)
                    PyList_SetSlice(user, i, i + 1, NULL);
                else
                    ++i;
        }
#line 49486 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QStateMachine.globalRestorePolicy() -> 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, "QStateMachine.setGlobalRestorePolicy(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, "QStateMachine.postEvent(QEvent, QStateMachine.EventPriority priority=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, "QStateMachine.postDelayedEvent(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, "QStateMachine.cancelDelayedEvent(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, "QStateMachine.configuration() -> set-of-QAbstractState");

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, "QStateMachine.eventFilter(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 || sipIsDerived((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, "QStateMachine.start()");

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, "QStateMachine.stop()");

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, "QStateMachine.setRunning(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, "QStateMachine.onEntry(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 || sipIsDerived((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, "QStateMachine.onExit(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 || sipIsDerived((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, "QStateMachine.event(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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QStateMachine(void *, const sipTypeDef *);}
static void *cast_QStateMachine(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStateMachine)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QState)->ctd_cast((QState *)(QStateMachine *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQStateMachine *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{221, 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), 226},
    {sipName_NoCommonAncestorForTransitionError, static_cast<int>(QStateMachine::NoCommonAncestorForTransitionError), 225},
    {sipName_NoDefaultStateInHistoryStateError, static_cast<int>(QStateMachine::NoDefaultStateInHistoryStateError), 225},
    {sipName_NoError, static_cast<int>(QStateMachine::NoError), 225},
    {sipName_NoInitialStateError, static_cast<int>(QStateMachine::NoInitialStateError), 225},
    {sipName_NormalPriority, static_cast<int>(QStateMachine::NormalPriority), 226},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QStateMachine[] = {
    {"runningChanged(bool)", "\1QStateMachine.runningChanged[bool]", 0, 0},
    {"stopped()", "\1QStateMachine.stopped", 0, 0},
    {"started()", "\1QStateMachine.started", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QStateMachine, "\1QStateMachine(QObject parent=None)\n"
    "QStateMachine(QState.ChildMode, QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QStateMachine = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStateMachine,
        {0}
    },
    {
        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
},
    &QStateMachine::staticMetaObject,
    0,
    signals_QStateMachine,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstate.sip"
#include <qstate.h>
#line 50071 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 50075 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 50078 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 50081 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 50084 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 50087 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstracttransition.sip"
#include <qabstracttransition.h>
#line 50090 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsignaltransition.sip"
#include <qsignaltransition.h>
#line 50093 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 50096 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 50099 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 50102 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 50105 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 50108 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 50111 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 50114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 50117 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 50120 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 50123 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 50126 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 50129 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 50132 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 50135 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 onExit(QEvent*);
    void onEntry(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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQState::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QState);
}

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_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(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_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(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_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(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_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(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_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(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_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQState::onExit(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QState::onExit(a0);
        return;
    }

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQState::onEntry(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QState::onEntry(a0);
        return;
    }

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(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, "QState.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 50494 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QState.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 50553 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QState.timerEvent(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 || sipIsDerived((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, "QState.childEvent(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 || sipIsDerived((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, "QState.customEvent(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 || sipIsDerived((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, "QState.connectNotify(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 || sipIsDerived((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, "QState.disconnectNotify(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 || sipIsDerived((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, "QState.senderSignalIndex() -> 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, "QState.isSignalConnected(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, "QState.errorState() -> 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, "QState.setErrorState(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, -6, 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, "QState.addTransition(QAbstractTransition)\n"
    "QState.addTransition(signal, QAbstractState) -> QSignalTransition\n"
    "QState.addTransition(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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 50870 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QState.removeTransition(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, "QState.transitions() -> list-of-QAbstractTransition");

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, "QState.initialState() -> 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, "QState.setInitialState(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, -7, 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, "QState.childMode() -> 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, "QState.setChildMode(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, "QState.assignProperty(QObject, str, QVariant)");

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, "QState.onEntry(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 || sipIsDerived((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, "QState.onExit(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 || sipIsDerived((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, "QState.event(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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QState(void *, const sipTypeDef *);}
static void *cast_QState(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QState)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractState)->ctd_cast((QAbstractState *)(QState *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQState *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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), 223},
    {sipName_ExclusiveStates, static_cast<int>(QState::ExclusiveStates), 222},
    {sipName_ParallelStates, static_cast<int>(QState::ParallelStates), 222},
    {sipName_RestoreProperties, static_cast<int>(QState::RestoreProperties), 223},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QState[] = {
    {"errorStateChanged()", "\1QState.errorStateChanged", 0, 0},
    {"initialStateChanged()", "\1QState.initialStateChanged", 0, 0},
    {"childModeChanged()", "\1QState.childModeChanged", 0, 0},
    {"propertiesAssigned()", "\1QState.propertiesAssigned", 0, 0},
    {"finished()", "\1QState.finished", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QState, "\1QState(QState parent=None)\n"
    "QState(QState.ChildMode, QState parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QState = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QState,
        {0}
    },
    {
        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
},
    &QState::staticMetaObject,
    0,
    signals_QState,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstandardpaths.sip"
#include <qstandardpaths.h>
#line 51383 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstandardpaths.sip"
#include <qstandardpaths.h>
#line 51387 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStandardPaths::LocateOptions::Int() != 0);
#line 51405 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStandardPaths::LocateOptions::Int() != a0->operator QStandardPaths::LocateOptions::Int());
#line 51435 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStandardPaths::LocateOptions::Int() == a0->operator QStandardPaths::LocateOptions::Int());
#line 51471 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QStandardPaths_LocateOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QStandardPaths::LocateOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStandardPaths_LocateOptions, &a0, &a0State, &a1))
        {
            QStandardPaths::LocateOptions*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QStandardPaths::LocateOptions(*a0 ^ a1);
#line 51574 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QStandardPaths_LocateOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QStandardPaths::LocateOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStandardPaths_LocateOptions, &a0, &a0State, &a1))
        {
            QStandardPaths::LocateOptions*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QStandardPaths::LocateOptions(*a0 | a1);
#line 51624 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        QStandardPaths::LocateOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStandardPaths_LocateOptions, &a0, &a0State))
        {
            sipCpp->QStandardPaths::LocateOptions::operator^=(*a0);
            sipReleaseType(a0,sipType_QStandardPaths_LocateOptions,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_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;

    {
        QStandardPaths::LocateOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStandardPaths_LocateOptions, &a0, &a0State))
        {
            sipCpp->QStandardPaths::LocateOptions::operator|=(*a0);
            sipReleaseType(a0,sipType_QStandardPaths_LocateOptions,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_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;
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QStandardPaths::LocateOptions(a0);

            return sipCpp;
        }
    }

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

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 51901 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QStandardPaths_LocateOptions[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QStandardPaths_LocateOptions___and__, and_slot},
    {(void *)slot_QStandardPaths_LocateOptions___xor__, xor_slot},
    {(void *)slot_QStandardPaths_LocateOptions___or__, or_slot},
    {(void *)slot_QStandardPaths_LocateOptions___int__, int_slot},
    {(void *)slot_QStandardPaths_LocateOptions___ixor__, ixor_slot},
    {(void *)slot_QStandardPaths_LocateOptions___ior__, ior_slot},
    {(void *)slot_QStandardPaths_LocateOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QStandardPaths_LocateOptions, "\1QStandardPaths.LocateOptions(QStandardPaths.LocateOptions)\n"
    "QStandardPaths.LocateOptions(int)\n"
    "QStandardPaths.LocateOptions()");


pyqt5ClassTypeDef sipTypeDef_QtCore_QStandardPaths_LocateOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStandardPaths__LocateOptions,
        {0}
    },
    {
        sipNameNr_LocateOptions,
        {217, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStandardPaths_LocateOptions,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QStandardPaths_LocateOptions,
    convertTo_QStandardPaths_LocateOptions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstandardpaths.sip"
#include <qstandardpaths.h>
#line 51983 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 51987 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 51990 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstandardpaths.sip"
#include <qstandardpaths.h>
#line 51993 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QStandardPaths_writableLocation, "QStandardPaths.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, "QStandardPaths.standardLocations(QStandardPaths.StandardLocation) -> list-of-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, "QStandardPaths.locate(QStandardPaths.StandardLocation, str, QStandardPaths.LocateOptions options=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, "QStandardPaths.locateAll(QStandardPaths.StandardLocation, str, QStandardPaths.LocateOptions options=QStandardPaths.LocateFile) -> list-of-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, "QStandardPaths.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, "QStandardPaths.findExecutable(str, list-of-str paths=QStringList()) -> 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, "QStandardPaths.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, "QStandardPaths.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;
}


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

    return NULL;
}


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


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_AppDataLocation, static_cast<int>(QStandardPaths::AppDataLocation), 220},
    {sipName_AppLocalDataLocation, static_cast<int>(QStandardPaths::AppLocalDataLocation), 220},
    {sipName_ApplicationsLocation, static_cast<int>(QStandardPaths::ApplicationsLocation), 220},
    {sipName_CacheLocation, static_cast<int>(QStandardPaths::CacheLocation), 220},
    {sipName_ConfigLocation, static_cast<int>(QStandardPaths::ConfigLocation), 220},
    {sipName_DataLocation, static_cast<int>(QStandardPaths::DataLocation), 220},
    {sipName_DesktopLocation, static_cast<int>(QStandardPaths::DesktopLocation), 220},
    {sipName_DocumentsLocation, static_cast<int>(QStandardPaths::DocumentsLocation), 220},
    {sipName_DownloadLocation, static_cast<int>(QStandardPaths::DownloadLocation), 220},
    {sipName_FontsLocation, static_cast<int>(QStandardPaths::FontsLocation), 220},
    {sipName_GenericCacheLocation, static_cast<int>(QStandardPaths::GenericCacheLocation), 220},
    {sipName_GenericConfigLocation, static_cast<int>(QStandardPaths::GenericConfigLocation), 220},
    {sipName_GenericDataLocation, static_cast<int>(QStandardPaths::GenericDataLocation), 220},
    {sipName_HomeLocation, static_cast<int>(QStandardPaths::HomeLocation), 220},
    {sipName_LocateDirectory, static_cast<int>(QStandardPaths::LocateDirectory), 218},
    {sipName_LocateFile, static_cast<int>(QStandardPaths::LocateFile), 218},
    {sipName_MoviesLocation, static_cast<int>(QStandardPaths::MoviesLocation), 220},
    {sipName_MusicLocation, static_cast<int>(QStandardPaths::MusicLocation), 220},
    {sipName_PicturesLocation, static_cast<int>(QStandardPaths::PicturesLocation), 220},
    {sipName_RuntimeLocation, static_cast<int>(QStandardPaths::RuntimeLocation), 220},
    {sipName_TempLocation, static_cast<int>(QStandardPaths::TempLocation), 220},
};


pyqt5ClassTypeDef sipTypeDef_QtCore_QStandardPaths = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStandardPaths,
        {0}
    },
    {
        sipNameNr_QStandardPaths,
        {0, 0, 1},
        8, methods_QStandardPaths,
        21, enummembers_QStandardPaths,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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_QStandardPaths,
    cast_QStandardPaths,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsortfilterproxymodel.sip"
#include <qsortfilterproxymodel.h>
#line 52357 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 52361 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 52364 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 52367 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 52370 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 52373 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 52376 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 52379 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 52382 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 52385 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 52388 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 52391 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 52394 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 52397 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 133 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 52400 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 105 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 52403 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 52406 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 266 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 52409 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 52412 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 52415 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 52418 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 70 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 52421 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 321 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 52424 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 52427 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 52430 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 52433 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 52436 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 52439 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 52442 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 52445 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 52448 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 52451 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 52454 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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 moveColumns(const QModelIndex&,int,int,const QModelIndex&,int);
    bool moveRows(const QModelIndex&,int,int,const QModelIndex&,int);
    QHash<int,QByteArray> roleNames() const;
    Qt::DropActions supportedDragActions() const;
    bool canDropMimeData(const QMimeData*,Qt::DropAction,int,int,const QModelIndex&) const;
    bool setItemData(const QModelIndex&,const QMap<int,QVariant>&);
    QMap<int,QVariant> itemData(const QModelIndex&) const;
    void revert();
    bool submit();
    QModelIndex sibling(int,int,const QModelIndex&) const;
    Qt::DropActions supportedDropActions() const;
    QStringList mimeTypes() const;
    void sort(int,Qt::SortOrder);
    QModelIndexList match(const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags) const;
    QSize span(const QModelIndex&) const;
    QModelIndex buddy(const QModelIndex&) const;
    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&);
    bool dropMimeData(const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    QMimeData* mimeData(const QModelIndexList&) 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 parent(const QModelIndex&) const;
    QModelIndex index(int,int,const QModelIndex&) const;
    bool lessThan(const QModelIndex&,const QModelIndex&) const;
    bool filterAcceptsColumn(int,const QModelIndex&) const;
    bool filterAcceptsRow(int,const QModelIndex&) const;
    QItemSelection mapSelectionFromSource(const QItemSelection&) const;
    QItemSelection mapSelectionToSource(const QItemSelection&) const;
    QModelIndex mapFromSource(const QModelIndex&) const;
    QModelIndex mapToSource(const QModelIndex&) const;
    void setSourceModel(QAbstractItemModel*);

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQSortFilterProxyModel::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QSortFilterProxyModel);
}

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));
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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[7],sipPySelf,NULL,sipName_moveColumns);

    if (!sipMeth)
        return QSortFilterProxyModel::moveColumns(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int,const QModelIndex&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_59(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[8],sipPySelf,NULL,sipName_moveRows);

    if (!sipMeth)
        return QSortFilterProxyModel::moveRows(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int,const QModelIndex&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_59(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[9]),sipPySelf,NULL,sipName_roleNames);

    if (!sipMeth)
        return QSortFilterProxyModel::roleNames();

    extern QHash<int,QByteArray> sipVH_QtCore_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_60(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

Qt::DropActions sipQSortFilterProxyModel::supportedDragActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSortFilterProxyModel::supportedDragActions();

    extern Qt::DropActions sipVH_QtCore_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_18(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

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[11]),sipPySelf,NULL,sipName_canDropMimeData);

    if (!sipMeth)
        return QSortFilterProxyModel::canDropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

bool sipQSortFilterProxyModel::setItemData(const QModelIndex& a0,const QMap<int,QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSortFilterProxyModel::setItemData(a0,a1);

    extern bool sipVH_QtCore_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QMap<int,QVariant>&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_56(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[13]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return QSortFilterProxyModel::itemData(a0);

    extern QMap<int,QVariant> sipVH_QtCore_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_57(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSortFilterProxyModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QSortFilterProxyModel::revert();
        return;
    }

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQSortFilterProxyModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSortFilterProxyModel::submit();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

QModelIndex sipQSortFilterProxyModel::sibling(int a0,int a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSortFilterProxyModel::sibling(a0,a1,a2);

    extern QModelIndex sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_17(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[17]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return QSortFilterProxyModel::supportedDropActions();

    extern Qt::DropActions sipVH_QtCore_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_18(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

QStringList sipQSortFilterProxyModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSortFilterProxyModel::mimeTypes();

    extern QStringList sipVH_QtCore_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_27(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQSortFilterProxyModel::sort(int a0,Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QSortFilterProxyModel::sort(a0,a1);
        return;
    }

    extern void sipVH_QtCore_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::SortOrder);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_19(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

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[20]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return QSortFilterProxyModel::match(a0,a1,a2,a3,a4);

    extern QList<QModelIndex> sipVH_QtCore_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_28(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QSize sipQSortFilterProxyModel::span(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSortFilterProxyModel::span(a0);

    extern QSize sipVH_QtCore_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_29(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

QModelIndex sipQSortFilterProxyModel::buddy(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSortFilterProxyModel::buddy(a0);

    extern QModelIndex sipVH_QtCore_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_30(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

Qt::ItemFlags sipQSortFilterProxyModel::flags(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSortFilterProxyModel::flags(a0);

    extern Qt::ItemFlags sipVH_QtCore_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_21(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[24]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return QSortFilterProxyModel::canFetchMore(a0);

    extern bool sipVH_QtCore_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_31(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSortFilterProxyModel::fetchMore(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QSortFilterProxyModel::fetchMore(a0);
        return;
    }

    extern void sipVH_QtCore_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_32(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[26],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return QSortFilterProxyModel::removeColumns(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(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[27],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return QSortFilterProxyModel::removeRows(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(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[28],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return QSortFilterProxyModel::insertColumns(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(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[29],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return QSortFilterProxyModel::insertRows(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

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[30],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return QSortFilterProxyModel::dropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_33(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[31]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return QSortFilterProxyModel::mimeData(a0);

    extern QMimeData* sipVH_QtCore_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QModelIndex>&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_34(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[32],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return QSortFilterProxyModel::setHeaderData(a0,a1,a2,a3);

    extern bool sipVH_QtCore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,const QVariant&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_35(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[33]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return QSortFilterProxyModel::headerData(a0,a1,a2);

    extern QVariant sipVH_QtCore_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_36(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[34],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return QSortFilterProxyModel::setData(a0,a1,a2);

    extern bool sipVH_QtCore_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QVariant&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_22(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[35]),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);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    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[36]),sipPySelf,NULL,sipName_hasChildren);

    if (!sipMeth)
        return QSortFilterProxyModel::hasChildren(a0);

    extern bool sipVH_QtCore_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_31(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[37]),sipPySelf,NULL,sipName_columnCount);

    if (!sipMeth)
        return QSortFilterProxyModel::columnCount(a0);

    extern int sipVH_QtCore_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_24(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[38]),sipPySelf,NULL,sipName_rowCount);

    if (!sipMeth)
        return QSortFilterProxyModel::rowCount(a0);

    extern int sipVH_QtCore_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_24(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

QModelIndex sipQSortFilterProxyModel::parent(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSortFilterProxyModel::parent(a0);

    extern QModelIndex sipVH_QtCore_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_30(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[40]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return QSortFilterProxyModel::index(a0,a1,a2);

    extern QModelIndex sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQSortFilterProxyModel::lessThan(const QModelIndex& a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSortFilterProxyModel::lessThan(a0,a1);

    extern bool sipVH_QtCore_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_37(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[42]),sipPySelf,NULL,sipName_filterAcceptsColumn);

    if (!sipMeth)
        return QSortFilterProxyModel::filterAcceptsColumn(a0,a1);

    extern bool sipVH_QtCore_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_38(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[43]),sipPySelf,NULL,sipName_filterAcceptsRow);

    if (!sipMeth)
        return QSortFilterProxyModel::filterAcceptsRow(a0,a1);

    extern bool sipVH_QtCore_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_38(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

QItemSelection sipQSortFilterProxyModel::mapSelectionFromSource(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSortFilterProxyModel::mapSelectionFromSource(a0);

    extern QItemSelection sipVH_QtCore_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_39(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[45]),sipPySelf,NULL,sipName_mapSelectionToSource);

    if (!sipMeth)
        return QSortFilterProxyModel::mapSelectionToSource(a0);

    extern QItemSelection sipVH_QtCore_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_39(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_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_30(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[47]),sipPySelf,NULL,sipName_mapToSource);

    if (!sipMeth)
        return QSortFilterProxyModel::mapToSource(a0);

    extern QModelIndex sipVH_QtCore_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_30(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSortFilterProxyModel::setSourceModel(QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_setSourceModel);

    if (!sipMeth)
    {
        QSortFilterProxyModel::setSourceModel(a0);
        return;
    }

    extern void sipVH_QtCore_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractItemModel*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_40(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, "QSortFilterProxyModel.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 53625 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QSortFilterProxyModel.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 53684 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QSortFilterProxyModel.timerEvent(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 || sipIsDerived((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, "QSortFilterProxyModel.childEvent(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 || sipIsDerived((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, "QSortFilterProxyModel.customEvent(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 || sipIsDerived((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, "QSortFilterProxyModel.connectNotify(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 || sipIsDerived((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, "QSortFilterProxyModel.disconnectNotify(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 || sipIsDerived((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, "QSortFilterProxyModel.senderSignalIndex() -> 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, "QSortFilterProxyModel.isSignalConnected(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, "QSortFilterProxyModel.encodeData(list-of-QModelIndex, 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, "QSortFilterProxyModel.decodeData(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, "QSortFilterProxyModel.beginInsertRows(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, "QSortFilterProxyModel.endInsertRows()");

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, "QSortFilterProxyModel.beginRemoveRows(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, "QSortFilterProxyModel.endRemoveRows()");

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, "QSortFilterProxyModel.beginInsertColumns(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, "QSortFilterProxyModel.endInsertColumns()");

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, "QSortFilterProxyModel.beginRemoveColumns(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, "QSortFilterProxyModel.endRemoveColumns()");

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, "QSortFilterProxyModel.persistentIndexList() -> list-of-QModelIndex");

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, "QSortFilterProxyModel.changePersistentIndex(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, "QSortFilterProxyModel.changePersistentIndexList(list-of-QModelIndex, list-of-QModelIndex)");

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, "QSortFilterProxyModel.createIndex(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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 54323 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QSortFilterProxyModel.beginMoveRows(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, "QSortFilterProxyModel.endMoveRows()");

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, "QSortFilterProxyModel.beginMoveColumns(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, "QSortFilterProxyModel.endMoveColumns()");

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, "QSortFilterProxyModel.beginResetModel()");

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))
        {
            sipCpp->sipProtect_beginResetModel();

            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, "QSortFilterProxyModel.endResetModel()");

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))
        {
            sipCpp->sipProtect_endResetModel();

            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, "QSortFilterProxyModel.resetInternalData()");

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, "QSortFilterProxyModel.setSourceModel(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 || sipIsDerived((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, -5, 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, "QSortFilterProxyModel.mapToSource(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 || sipIsDerived((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, "QSortFilterProxyModel.mapFromSource(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 || sipIsDerived((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, "QSortFilterProxyModel.mapSelectionToSource(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 || sipIsDerived((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, "QSortFilterProxyModel.mapSelectionFromSource(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 || sipIsDerived((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, "QSortFilterProxyModel.filterRegExp() -> 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, "QSortFilterProxyModel.setFilterRegExp(QRegExp)\n"
    "QSortFilterProxyModel.setFilterRegExp(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, "QSortFilterProxyModel.filterKeyColumn() -> 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, "QSortFilterProxyModel.setFilterKeyColumn(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, "QSortFilterProxyModel.filterCaseSensitivity() -> 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, "QSortFilterProxyModel.setFilterCaseSensitivity(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, "QSortFilterProxyModel.setFilterWildcard(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, "QSortFilterProxyModel.setFilterFixedString(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, "QSortFilterProxyModel.filterAcceptsRow(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 || sipIsDerived((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, "QSortFilterProxyModel.filterAcceptsColumn(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 || sipIsDerived((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, "QSortFilterProxyModel.lessThan(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 || sipIsDerived((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, "QSortFilterProxyModel.index(int, int, QModelIndex parent=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 || sipIsDerived((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, "QSortFilterProxyModel.parent(QModelIndex) -> QModelIndex\n"
    "QSortFilterProxyModel.parent() -> 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 || sipIsDerived((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, "QSortFilterProxyModel.rowCount(QModelIndex parent=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 || sipIsDerived((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, "QSortFilterProxyModel.columnCount(QModelIndex parent=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 || sipIsDerived((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, "QSortFilterProxyModel.hasChildren(QModelIndex parent=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 || sipIsDerived((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, "QSortFilterProxyModel.data(QModelIndex, int role=Qt.DisplayRole) -> QVariant");

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 || sipIsDerived((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, "QSortFilterProxyModel.setData(QModelIndex, QVariant, int role=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 || sipIsDerived((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, "QSortFilterProxyModel.headerData(int, Qt.Orientation, int role=Qt.EditRole) -> QVariant");

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 || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        Qt::Orientation a1;
        int a2 = Qt::EditRole;
        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, "QSortFilterProxyModel.setHeaderData(int, Qt.Orientation, QVariant, int role=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 || sipIsDerived((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, "QSortFilterProxyModel.mimeData(list-of-QModelIndex) -> 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 || sipIsDerived((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, "QSortFilterProxyModel.dropMimeData(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 || sipIsDerived((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, "QSortFilterProxyModel.insertRows(int, int, QModelIndex parent=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 || sipIsDerived((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, "QSortFilterProxyModel.insertColumns(int, int, QModelIndex parent=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 || sipIsDerived((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, "QSortFilterProxyModel.removeRows(int, int, QModelIndex parent=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 || sipIsDerived((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, "QSortFilterProxyModel.removeColumns(int, int, QModelIndex parent=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 || sipIsDerived((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, "QSortFilterProxyModel.fetchMore(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 || sipIsDerived((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, "QSortFilterProxyModel.canFetchMore(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 || sipIsDerived((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, "QSortFilterProxyModel.flags(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 || sipIsDerived((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, "QSortFilterProxyModel.buddy(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 || sipIsDerived((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, "QSortFilterProxyModel.span(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 || sipIsDerived((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, "QSortFilterProxyModel.match(QModelIndex, int, QVariant, int hits=1, Qt.MatchFlags flags=Qt.MatchStartsWith|Qt.MatchWrap) -> list-of-QModelIndex");

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 || sipIsDerived((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, "QSortFilterProxyModel.sort(int, Qt.SortOrder order=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 || sipIsDerived((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, "QSortFilterProxyModel.sortCaseSensitivity() -> 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, "QSortFilterProxyModel.setSortCaseSensitivity(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, "QSortFilterProxyModel.dynamicSortFilter() -> 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, "QSortFilterProxyModel.setDynamicSortFilter(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, "QSortFilterProxyModel.sortRole() -> 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, "QSortFilterProxyModel.setSortRole(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, "QSortFilterProxyModel.sortColumn() -> 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, "QSortFilterProxyModel.sortOrder() -> 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, "QSortFilterProxyModel.filterRole() -> 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, "QSortFilterProxyModel.setFilterRole(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, "QSortFilterProxyModel.mimeTypes() -> list-of-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 || sipIsDerived((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, "QSortFilterProxyModel.supportedDropActions() -> 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 || sipIsDerived((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, "QSortFilterProxyModel.isSortLocaleAware() -> 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, "QSortFilterProxyModel.setSortLocaleAware(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, "QSortFilterProxyModel.sibling(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 || sipIsDerived((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, "QSortFilterProxyModel.invalidate()");

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, "QSortFilterProxyModel.invalidateFilter()");

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 superclass hierarchy. */
extern "C" {static void *cast_QSortFilterProxyModel(void *, const sipTypeDef *);}
static void *cast_QSortFilterProxyModel(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSortFilterProxyModel)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractProxyModel)->ctd_cast((QAbstractProxyModel *)(QSortFilterProxyModel *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQSortFilterProxyModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QSortFilterProxyModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSortFilterProxyModel,
        {0}
    },
    {
        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
},
    &QSortFilterProxyModel::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsocketnotifier.sip"
#include <qsocketnotifier.h>
#line 56461 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 163 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 56465 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 56468 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 56471 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 56474 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 56477 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 56480 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 56483 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 56486 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 56489 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 56492 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 56495 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 56498 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 56501 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 56504 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 56507 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 56510 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 56513 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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:
    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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQSocketNotifier::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QSocketNotifier);
}

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));
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(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_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return 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, "QSocketNotifier.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 56814 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QSocketNotifier.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 56873 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QSocketNotifier.timerEvent(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 || sipIsDerived((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, "QSocketNotifier.childEvent(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 || sipIsDerived((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, "QSocketNotifier.customEvent(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 || sipIsDerived((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, "QSocketNotifier.connectNotify(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 || sipIsDerived((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, "QSocketNotifier.disconnectNotify(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 || sipIsDerived((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, "QSocketNotifier.senderSignalIndex() -> 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, "QSocketNotifier.isSignalConnected(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, "QSocketNotifier.socket() -> 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, "QSocketNotifier.type() -> 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, "QSocketNotifier.isEnabled() -> 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, "QSocketNotifier.setEnabled(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, "QSocketNotifier.event(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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QSocketNotifier(void *, const sipTypeDef *);}
static void *cast_QSocketNotifier(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSocketNotifier)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QSocketNotifier *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQSocketNotifier *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{162, 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), 215},
    {sipName_Read, static_cast<int>(QSocketNotifier::Read), 215},
    {sipName_Write, static_cast<int>(QSocketNotifier::Write), 215},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QSocketNotifier[] = {
    {"activated(int)", "\1QSocketNotifier.activated[int]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QSocketNotifier, "\1QSocketNotifier(sip.voidptr, QSocketNotifier.Type, QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QSocketNotifier = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSocketNotifier,
        {0}
    },
    {
        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
},
    &QSocketNotifier::staticMetaObject,
    0,
    signals_QSocketNotifier,
    0
};

#line 101 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 57394 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 57398 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 57401 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QSizeF_transpose, "QSizeF.transpose()");

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, "QSizeF.scale(QSizeF, Qt.AspectRatioMode)\n"
    "QSizeF.scale(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, "QSizeF.isNull() -> 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, "QSizeF.isEmpty() -> 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, "QSizeF.isValid() -> 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, "QSizeF.width() -> 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, "QSizeF.height() -> 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, "QSizeF.setWidth(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, "QSizeF.setHeight(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, "QSizeF.expandedTo(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, "QSizeF.boundedTo(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, "QSizeF.toSize() -> 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, "QSizeF.scaled(QSizeF, Qt.AspectRatioMode) -> QSizeF\n"
    "QSizeF.scaled(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, "QSizeF.transposed() -> 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 152 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsize.sip"
        sipRes = sipCpp->isValid();
#line 58184 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 116 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 58237 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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

    return NULL;
}


/* 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 105 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsize.sip"
    sipRes = Py_BuildValue((char *)"dd", sipCpp->width(), sipCpp->height());
#line 58274 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (sipIsPyOwned(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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QSizeF = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSizeF,
        {0}
    },
    {
        sipNameNr_QSizeF,
        {0, 0, 1},
        14, methods_QSizeF,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSizeF,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QSizeF,
    0,
    0,
    0,
    pickle_QSizeF,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 58461 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 58465 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QSize_transpose, "QSize.transpose()");

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, "QSize.scale(QSize, Qt.AspectRatioMode)\n"
    "QSize.scale(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, "QSize.isNull() -> 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, "QSize.isEmpty() -> 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, "QSize.isValid() -> 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, "QSize.width() -> 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, "QSize.height() -> 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, "QSize.setWidth(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, "QSize.setHeight(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, "QSize.expandedTo(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, "QSize.boundedTo(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, "QSize.scaled(QSize, Qt.AspectRatioMode) -> QSize\n"
    "QSize.scaled(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, "QSize.transposed() -> 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 69 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsize.sip"
        sipRes = sipCpp->isValid();
#line 59221 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 44 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 59263 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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

    return NULL;
}


/* 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 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsize.sip"
    sipRes = Py_BuildValue((char *)"ii", sipCpp->width(), sipCpp->height());
#line 59300 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (sipIsPyOwned(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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QSize = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSize,
        {0}
    },
    {
        sipNameNr_QSize,
        {0, 0, 1},
        13, methods_QSize,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSize,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QSize,
    0,
    0,
    0,
    pickle_QSize,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsignaltransition.sip"
#include <qsignaltransition.h>
#line 59474 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstate.sip"
#include <qstate.h>
#line 59478 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 59481 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 59484 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 59487 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 59490 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 59493 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 59496 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 59499 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 59502 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 59505 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 59508 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 59511 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 59514 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 59517 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 59520 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 59523 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 59526 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 59529 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 59532 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 59535 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 59538 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 59541 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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*);
    void onTransition(QEvent*);
    bool eventTest(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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQSignalTransition::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QSignalTransition);
}

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_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(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_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(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_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(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_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(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_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(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_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSignalTransition::onTransition(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QSignalTransition::onTransition(a0);
        return;
    }

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQSignalTransition::eventTest(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSignalTransition::eventTest(a0);

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(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, "QSignalTransition.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 59891 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QSignalTransition.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 59950 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QSignalTransition.timerEvent(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 || sipIsDerived((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, "QSignalTransition.childEvent(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 || sipIsDerived((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, "QSignalTransition.customEvent(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 || sipIsDerived((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, "QSignalTransition.connectNotify(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 || sipIsDerived((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, "QSignalTransition.disconnectNotify(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 || sipIsDerived((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, "QSignalTransition.senderSignalIndex() -> 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, "QSignalTransition.isSignalConnected(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, "QSignalTransition.senderObject() -> 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, "QSignalTransition.setSenderObject(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, "QSignalTransition.signal() -> 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, "QSignalTransition.setSignal(QByteArray)");

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, "QSignalTransition.eventTest(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 || sipIsDerived((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, "QSignalTransition.onTransition(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 || sipIsDerived((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, "QSignalTransition.event(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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QSignalTransition(void *, const sipTypeDef *);}
static void *cast_QSignalTransition(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSignalTransition)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractTransition)->ctd_cast((QAbstractTransition *)(QSignalTransition *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQSignalTransition *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 60453 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QSignalTransition[] = {
    {"signalChanged()", "\1QSignalTransition.signalChanged", 0, 0},
    {"senderObjectChanged()", "\1QSignalTransition.senderObjectChanged", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QSignalTransition, "\1QSignalTransition(QState sourceState=None)\n"
    "QSignalTransition(signal, QState sourceState=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QSignalTransition = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSignalTransition,
        {0}
    },
    {
        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
},
    &QSignalTransition::staticMetaObject,
    0,
    signals_QSignalTransition,
    0
};

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsignalmapper.sip"
#include <qsignalmapper.h>
#line 60570 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 60574 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 60577 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 60580 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 60583 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 60586 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 60589 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 60592 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 60595 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 60598 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 60601 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 60604 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 60607 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 60610 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 60613 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 60616 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 60619 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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:
    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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQSignalMapper::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QSignalMapper);
}

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));
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(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_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return 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, "QSignalMapper.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 60914 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QSignalMapper.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 60973 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QSignalMapper.timerEvent(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 || sipIsDerived((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, "QSignalMapper.childEvent(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 || sipIsDerived((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, "QSignalMapper.customEvent(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 || sipIsDerived((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, "QSignalMapper.connectNotify(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 || sipIsDerived((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, "QSignalMapper.disconnectNotify(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 || sipIsDerived((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, "QSignalMapper.senderSignalIndex() -> 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, "QSignalMapper.isSignalConnected(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, "QSignalMapper.setMapping(QObject, int)\n"
    "QSignalMapper.setMapping(QObject, str)\n"
    "QSignalMapper.setMapping(QObject, QWidget)\n"
    "QSignalMapper.setMapping(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, "QSignalMapper.removeMappings(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, "QSignalMapper.mapping(int) -> QObject\n"
    "QSignalMapper.mapping(str) -> QObject\n"
    "QSignalMapper.mapping(QWidget) -> QObject\n"
    "QSignalMapper.mapping(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, "QSignalMapper.map()\n"
    "QSignalMapper.map(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 superclass hierarchy. */
extern "C" {static void *cast_QSignalMapper(void *, const sipTypeDef *);}
static void *cast_QSignalMapper(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSignalMapper)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QSignalMapper *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQSignalMapper *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{162, 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}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QSignalMapper[] = {
    {"mapped(int)", "\1QSignalMapper.mapped[int]", 0, 0},
    {"mapped(QString)", "\1QSignalMapper.mapped[str]", 0, 0},
    {"mapped(QWidget*)", "\1QSignalMapper.mapped[QWidget]", 0, 0},
    {"mapped(QObject*)", "\1QSignalMapper.mapped[QObject]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QSignalMapper, "\1QSignalMapper(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QSignalMapper = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSignalMapper,
        {0}
    },
    {
        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
},
    &QSignalMapper::staticMetaObject,
    0,
    signals_QSignalMapper,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsharedmemory.sip"
#include <qsharedmemory.h>
#line 61564 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 61568 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 61571 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 61574 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 61577 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 61580 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 61583 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 61586 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 61589 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 61592 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 61595 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 61598 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 61601 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 61604 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 61607 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 61610 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 61613 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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:
    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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQSharedMemory::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QSharedMemory);
}

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));
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(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_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return 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, "QSharedMemory.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 61914 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QSharedMemory.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 61973 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QSharedMemory.timerEvent(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 || sipIsDerived((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, "QSharedMemory.childEvent(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 || sipIsDerived((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, "QSharedMemory.customEvent(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 || sipIsDerived((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, "QSharedMemory.connectNotify(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 || sipIsDerived((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, "QSharedMemory.disconnectNotify(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 || sipIsDerived((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, "QSharedMemory.senderSignalIndex() -> 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, "QSharedMemory.isSignalConnected(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, "QSharedMemory.setKey(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, "QSharedMemory.key() -> 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, "QSharedMemory.create(int, QSharedMemory.AccessMode mode=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, "QSharedMemory.size() -> 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, "QSharedMemory.attach(QSharedMemory.AccessMode mode=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, "QSharedMemory.isAttached() -> 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, "QSharedMemory.detach() -> 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, "QSharedMemory.data() -> 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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsharedmemory.sip"
        sipRes = sipConvertFromVoidPtrAndSize(sipCpp->data(), sipCpp->size());
#line 62408 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QSharedMemory.constData() -> 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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsharedmemory.sip"
        sipRes = sipConvertFromConstVoidPtrAndSize(sipCpp->constData(), sipCpp->size());
#line 62437 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QSharedMemory.lock() -> 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, "QSharedMemory.unlock() -> 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, "QSharedMemory.error() -> 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, "QSharedMemory.errorString() -> 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, "QSharedMemory.setNativeKey(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, "QSharedMemory.nativeKey() -> 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 superclass hierarchy. */
extern "C" {static void *cast_QSharedMemory(void *, const sipTypeDef *);}
static void *cast_QSharedMemory(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSharedMemory)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QSharedMemory *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQSharedMemory *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{162, 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), 208},
    {sipName_InvalidSize, static_cast<int>(QSharedMemory::InvalidSize), 208},
    {sipName_KeyError, static_cast<int>(QSharedMemory::KeyError), 208},
    {sipName_LockError, static_cast<int>(QSharedMemory::LockError), 208},
    {sipName_NoError, static_cast<int>(QSharedMemory::NoError), 208},
    {sipName_NotFound, static_cast<int>(QSharedMemory::NotFound), 208},
    {sipName_OutOfResources, static_cast<int>(QSharedMemory::OutOfResources), 208},
    {sipName_PermissionDenied, static_cast<int>(QSharedMemory::PermissionDenied), 208},
    {sipName_ReadOnly, static_cast<int>(QSharedMemory::ReadOnly), 207},
    {sipName_ReadWrite, static_cast<int>(QSharedMemory::ReadWrite), 207},
    {sipName_UnknownError, static_cast<int>(QSharedMemory::UnknownError), 208},
};

PyDoc_STRVAR(doc_QSharedMemory, "\1QSharedMemory(QObject parent=None)\n"
    "QSharedMemory(str, QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QSharedMemory = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSharedMemory,
        {0}
    },
    {
        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
},
    &QSharedMemory::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsettings.sip"
#include <qsettings.h>
#line 62809 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 62813 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 62816 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 62819 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 62822 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 62825 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 62828 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 62831 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 62834 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 62837 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 62840 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 62843 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 62846 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 62849 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 62852 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 62855 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 62858 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 62861 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 62864 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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:
    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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQSettings::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QSettings);
}

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));
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(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_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return 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, "QSettings.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 63189 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QSettings.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 63248 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QSettings.timerEvent(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 || sipIsDerived((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, "QSettings.childEvent(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 || sipIsDerived((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, "QSettings.customEvent(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 || sipIsDerived((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, "QSettings.connectNotify(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 || sipIsDerived((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, "QSettings.disconnectNotify(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 || sipIsDerived((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, "QSettings.senderSignalIndex() -> 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, "QSettings.isSignalConnected(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, "QSettings.clear()");

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, "QSettings.sync()");

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, "QSettings.status() -> 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, "QSettings.beginGroup(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, "QSettings.endGroup()");

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, "QSettings.group() -> 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, "QSettings.beginReadArray(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, "QSettings.beginWriteArray(str, int size=-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, "QSettings.endArray()");

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, "QSettings.setArrayIndex(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, "QSettings.allKeys() -> list-of-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, "QSettings.childKeys() -> list-of-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, "QSettings.childGroups() -> list-of-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, "QSettings.isWritable() -> 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, "QSettings.setValue(str, QVariant)");

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, "QSettings.value(str, QVariant defaultValue=None, object 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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 63922 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QSettings.remove(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, "QSettings.contains(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, "QSettings.setFallbacksEnabled(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, "QSettings.fallbacksEnabled() -> 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, "QSettings.fileName() -> 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, "QSettings.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, "QSettings.format() -> 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, "QSettings.scope() -> 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, "QSettings.organizationName() -> 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, "QSettings.applicationName() -> 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, "QSettings.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, "QSettings.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, "QSettings.setIniCodec(QTextCodec)\n"
    "QSettings.setIniCodec(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, -4, 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, "QSettings.iniCodec() -> 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, "QSettings.event(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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QSettings(void *, const sipTypeDef *);}
static void *cast_QSettings(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSettings)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QSettings *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQSettings *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{162, 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), 205},
    {sipName_FormatError, static_cast<int>(QSettings::FormatError), 205},
    {sipName_IniFormat, static_cast<int>(QSettings::IniFormat), 203},
    {sipName_InvalidFormat, static_cast<int>(QSettings::InvalidFormat), 203},
    {sipName_NativeFormat, static_cast<int>(QSettings::NativeFormat), 203},
    {sipName_NoError, static_cast<int>(QSettings::NoError), 205},
    {sipName_SystemScope, static_cast<int>(QSettings::SystemScope), 204},
    {sipName_UserScope, static_cast<int>(QSettings::UserScope), 204},
};

PyDoc_STRVAR(doc_QSettings, "\1QSettings(str, str application='', QObject parent=None)\n"
    "QSettings(QSettings.Scope, str, str application='', QObject parent=None)\n"
    "QSettings(QSettings.Format, QSettings.Scope, str, str application='', QObject parent=None)\n"
    "QSettings(str, QSettings.Format, QObject parent=None)\n"
    "QSettings(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QSettings = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSettings,
        {0}
    },
    {
        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
},
    &QSettings::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsequentialanimationgroup.sip"
#include <qsequentialanimationgroup.h>
#line 64668 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 64672 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 64675 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 64678 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpauseanimation.sip"
#include <qpauseanimation.h>
#line 64681 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qanimationgroup.sip"
#include <qanimationgroup.h>
#line 64684 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 64687 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 64690 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 64693 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 64696 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 64699 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 64702 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 64705 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 64708 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 64711 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 64714 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 64717 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 64720 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 64723 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 64726 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void updateDirection(QAbstractAnimation::Direction);
    void updateState(QAbstractAnimation::State,QAbstractAnimation::State);
    void updateCurrentTime(int);
    bool event(QEvent*);
    int duration() const;

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQSequentialAnimationGroup::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QSequentialAnimationGroup);
}

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::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(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_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQSequentialAnimationGroup::updateDirection(QAbstractAnimation::Direction a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QSequentialAnimationGroup::updateDirection(a0);
        return;
    }

    extern void sipVH_QtCore_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractAnimation::Direction);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_41(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[7],sipPySelf,NULL,sipName_updateState);

    if (!sipMeth)
    {
        QSequentialAnimationGroup::updateState(a0,a1);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractAnimation::State,QAbstractAnimation::State);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQSequentialAnimationGroup::updateCurrentTime(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QSequentialAnimationGroup::updateCurrentTime(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

int sipQSequentialAnimationGroup::duration() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSequentialAnimationGroup::duration();

    extern int sipVH_QtCore_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_6(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

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, "QSequentialAnimationGroup.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 65122 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QSequentialAnimationGroup.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 65181 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QSequentialAnimationGroup.timerEvent(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 || sipIsDerived((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, "QSequentialAnimationGroup.childEvent(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 || sipIsDerived((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, "QSequentialAnimationGroup.customEvent(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 || sipIsDerived((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, "QSequentialAnimationGroup.connectNotify(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 || sipIsDerived((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, "QSequentialAnimationGroup.disconnectNotify(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 || sipIsDerived((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, "QSequentialAnimationGroup.senderSignalIndex() -> 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, "QSequentialAnimationGroup.isSignalConnected(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, "QSequentialAnimationGroup.addPause(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, "QSequentialAnimationGroup.insertPause(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, "QSequentialAnimationGroup.currentAnimation() -> 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, "QSequentialAnimationGroup.duration() -> 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 || sipIsDerived((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, "QSequentialAnimationGroup.event(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 || sipIsDerived((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, "QSequentialAnimationGroup.updateCurrentTime(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 || sipIsDerived((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, "QSequentialAnimationGroup.updateState(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 || sipIsDerived((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, "QSequentialAnimationGroup.updateDirection(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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QSequentialAnimationGroup(void *, const sipTypeDef *);}
static void *cast_QSequentialAnimationGroup(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSequentialAnimationGroup)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAnimationGroup)->ctd_cast((QAnimationGroup *)(QSequentialAnimationGroup *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQSequentialAnimationGroup *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{14, 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)}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QSequentialAnimationGroup[] = {
    {"currentAnimationChanged(QAbstractAnimation*)", "\1QSequentialAnimationGroup.currentAnimationChanged[QAbstractAnimation]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QSequentialAnimationGroup, "\1QSequentialAnimationGroup(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QSequentialAnimationGroup = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSequentialAnimationGroup,
        {0}
    },
    {
        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
},
    &QSequentialAnimationGroup::staticMetaObject,
    0,
    signals_QSequentialAnimationGroup,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsemaphore.sip"
#include <qsemaphore.h>
#line 65782 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"



PyDoc_STRVAR(doc_QSemaphore_acquire, "QSemaphore.acquire(int n=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, "QSemaphore.tryAcquire(int n=1) -> bool\n"
    "QSemaphore.tryAcquire(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, "QSemaphore.release(int n=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, "QSemaphore.available() -> 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;
}


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

    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 (sipIsPyOwned(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(int n=0)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QSemaphore = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSemaphore,
        {0}
    },
    {
        sipNameNr_QSemaphore,
        {0, 0, 1},
        4, methods_QSemaphore,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSemaphore,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QSemaphore,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsavefile.sip"
#include <qsavefile.h>
#line 66047 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 66051 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 66054 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 66057 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 66060 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 66063 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 66066 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 66069 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 66072 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 66075 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 66078 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 66081 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 66084 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 66087 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 66090 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 66093 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 66096 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 66099 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 66102 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 66105 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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 waitForBytesWritten(int);
    bool waitForReadyRead(int);
    bool canReadLine() const;
    qint64 bytesToWrite() const;
    qint64 bytesAvailable() const;
    bool reset();
    qint64 readLineData(char*,qint64);
    qint64 readData(char*,qint64);
    bool setPermissions(QFileDevice::Permissions);
    QFileDevice::Permissions permissions() const;
    bool resize(qint64);
    qint64 size() const;
    bool atEnd() const;
    bool seek(qint64);
    qint64 pos() const;
    bool isSequential() const;
    qint64 writeData(const char*,PY_LONG_LONG);
    bool open(QIODevice::OpenMode);
    QString fileName() const;

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQSaveFile::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QSaveFile);
}

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));
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQSaveFile::waitForBytesWritten(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSaveFile::waitForBytesWritten(a0);

    extern bool sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQSaveFile::waitForReadyRead(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSaveFile::waitForReadyRead(a0);

    extern bool sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQSaveFile::canReadLine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSaveFile::canReadLine();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

qint64 sipQSaveFile::bytesToWrite() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSaveFile::bytesToWrite();

    extern PY_LONG_LONG sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

qint64 sipQSaveFile::bytesAvailable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSaveFile::bytesAvailable();

    extern PY_LONG_LONG sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQSaveFile::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSaveFile::reset();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

qint64 sipQSaveFile::readLineData(char*a0,qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSaveFile::readLineData(a0,a1);

    extern PY_LONG_LONG sipVH_QtCore_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_43(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[14],sipPySelf,NULL,sipName_readData);

    if (!sipMeth)
        return QSaveFile::readData(a0,a1);

    extern PY_LONG_LONG sipVH_QtCore_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_43(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQSaveFile::setPermissions(QFileDevice::Permissions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSaveFile::setPermissions(a0);

    extern bool sipVH_QtCore_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFileDevice::Permissions);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_54(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[16]),sipPySelf,NULL,sipName_permissions);

    if (!sipMeth)
        return QSaveFile::permissions();

    extern QFileDevice::Permissions sipVH_QtCore_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_55(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQSaveFile::resize(qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSaveFile::resize(a0);

    extern bool sipVH_QtCore_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_53(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

qint64 sipQSaveFile::size() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSaveFile::size();

    extern PY_LONG_LONG sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQSaveFile::atEnd() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSaveFile::atEnd();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQSaveFile::seek(qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSaveFile::seek(a0);

    extern bool sipVH_QtCore_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_53(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

qint64 sipQSaveFile::pos() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSaveFile::pos();

    extern PY_LONG_LONG sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQSaveFile::isSequential() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSaveFile::isSequential();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

qint64 sipQSaveFile::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 QSaveFile::writeData(a0,a1);

    extern PY_LONG_LONG sipVH_QtCore_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*,PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_42(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQSaveFile::open(QIODevice::OpenMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSaveFile::open(a0);

    extern bool sipVH_QtCore_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QIODevice::OpenMode);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_15(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

QString sipQSaveFile::fileName() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSaveFile::fileName();

    extern QString sipVH_QtCore_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_16(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

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, "QSaveFile.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 66765 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QSaveFile.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 66824 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QSaveFile.timerEvent(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 || sipIsDerived((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, "QSaveFile.childEvent(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 || sipIsDerived((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, "QSaveFile.customEvent(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 || sipIsDerived((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, "QSaveFile.connectNotify(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 || sipIsDerived((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, "QSaveFile.disconnectNotify(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 || sipIsDerived((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, "QSaveFile.senderSignalIndex() -> 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, "QSaveFile.isSignalConnected(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, "QSaveFile.setOpenMode(QIODevice.OpenMode)");

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, "QSaveFile.setErrorString(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, "QSaveFile.readData(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 || sipIsDerived((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 108 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 67150 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QSaveFile.readLineData(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 || sipIsDerived((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 147 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 67218 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QSaveFile.fileName() -> 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 || sipIsDerived((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, "QSaveFile.setFileName(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, "QSaveFile.open(QIODevice.OpenMode) -> 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 || sipIsDerived((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, "QSaveFile.commit() -> 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, "QSaveFile.cancelWriting()");

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, "QSaveFile.setDirectWriteFallback(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, "QSaveFile.directWriteFallback() -> 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, "QSaveFile.writeData(str) -> 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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QSaveFile(void *, const sipTypeDef *);}
static void *cast_QSaveFile(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSaveFile)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QFileDevice)->ctd_cast((QFileDevice *)(QSaveFile *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQSaveFile *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{61, 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(QObject parent=None)\n"
    "QSaveFile(str, QObject)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QSaveFile = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSaveFile,
        {0}
    },
    {
        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
},
    &QSaveFile::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qrunnable.sip"
#include <qrunnable.h>
#line 67664 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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()
{
    sipCommonDtor(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_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QRunnable_run, "QRunnable.run()");

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, "QRunnable.autoDelete() -> 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, "QRunnable.setAutoDelete(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;
}


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

    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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQRunnable *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QRunnable = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QRunnable,
        {0}
    },
    {
        sipNameNr_QRunnable,
        {0, 0, 1},
        3, methods_QRunnable,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QRunnable,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    -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,
    cast_QRunnable,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qresource.sip"
#include <qresource.h>
#line 67946 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 67950 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 67953 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 67956 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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()
{
    sipCommonDtor(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, "QResource.absoluteFilePath() -> 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, "QResource.data() -> 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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 68061 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QResource.fileName() -> 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, "QResource.isCompressed() -> 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, "QResource.isValid() -> 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, "QResource.locale() -> 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, "QResource.setFileName(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, "QResource.setLocale(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, "QResource.size() -> 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, "QResource.registerResource(str, str mapRoot='') -> 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, "QResource.registerResourceData(str, str mapRoot='') -> 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, "QResource.unregisterResource(str, str mapRoot='') -> 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, "QResource.unregisterResourceData(str, str mapRoot='') -> 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, "QResource.children() -> list-of-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, "QResource.isDir() -> 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, "QResource.isFile() -> 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;
}


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

    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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQResource *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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_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(str fileName='', QLocale locale=QLocale())");


pyqt5ClassTypeDef sipTypeDef_QtCore_QResource = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QResource,
        {0}
    },
    {
        sipNameNr_QResource,
        {0, 0, 1},
        16, methods_QResource,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QResource,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QResource,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 180 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 68643 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 68647 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 68650 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 149 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 68653 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QRegularExpressionMatchIterator_swap, "QRegularExpressionMatchIterator.swap(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, "QRegularExpressionMatchIterator.isValid() -> 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, "QRegularExpressionMatchIterator.hasNext() -> 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, "QRegularExpressionMatchIterator.next() -> 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, "QRegularExpressionMatchIterator.peekNext() -> 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, "QRegularExpressionMatchIterator.regularExpression() -> 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, "QRegularExpressionMatchIterator.matchType() -> 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, "QRegularExpressionMatchIterator.matchOptions() -> 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;
}


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

    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 (sipIsPyOwned(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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QRegularExpressionMatchIterator = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QRegularExpressionMatchIterator,
        {0}
    },
    {
        sipNameNr_QRegularExpressionMatchIterator,
        {0, 0, 1},
        8, methods_QRegularExpressionMatchIterator,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QRegularExpressionMatchIterator,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QRegularExpressionMatchIterator,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 149 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 69023 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 69027 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 69030 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 69033 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 69036 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QRegularExpressionMatch_swap, "QRegularExpressionMatch.swap(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, "QRegularExpressionMatch.regularExpression() -> 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, "QRegularExpressionMatch.matchType() -> 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, "QRegularExpressionMatch.matchOptions() -> 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, "QRegularExpressionMatch.hasMatch() -> 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, "QRegularExpressionMatch.hasPartialMatch() -> 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, "QRegularExpressionMatch.isValid() -> 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, "QRegularExpressionMatch.lastCapturedIndex() -> 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, "QRegularExpressionMatch.captured(int nth=0) -> str\n"
    "QRegularExpressionMatch.captured(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, "QRegularExpressionMatch.capturedTexts() -> list-of-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, "QRegularExpressionMatch.capturedStart(int nth=0) -> int\n"
    "QRegularExpressionMatch.capturedStart(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, "QRegularExpressionMatch.capturedLength(int nth=0) -> int\n"
    "QRegularExpressionMatch.capturedLength(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, "QRegularExpressionMatch.capturedEnd(int nth=0) -> int\n"
    "QRegularExpressionMatch.capturedEnd(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;
}


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

    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 (sipIsPyOwned(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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QRegularExpressionMatch = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QRegularExpressionMatch,
        {0}
    },
    {
        sipNameNr_QRegularExpressionMatch,
        {0, 0, 1},
        13, methods_QRegularExpressionMatch,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QRegularExpressionMatch,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QRegularExpressionMatch,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 69634 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 69638 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QRegularExpression::MatchOptions::Int() != 0);
#line 69656 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QRegularExpression::MatchOptions::Int() != a0->operator QRegularExpression::MatchOptions::Int());
#line 69686 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QRegularExpression::MatchOptions::Int() == a0->operator QRegularExpression::MatchOptions::Int());
#line 69722 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QRegularExpression_MatchOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QRegularExpression::MatchOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QRegularExpression_MatchOptions, &a0, &a0State, &a1))
        {
            QRegularExpression::MatchOptions*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QRegularExpression::MatchOptions(*a0 ^ a1);
#line 69825 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QRegularExpression_MatchOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QRegularExpression::MatchOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QRegularExpression_MatchOptions, &a0, &a0State, &a1))
        {
            QRegularExpression::MatchOptions*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QRegularExpression::MatchOptions(*a0 | a1);
#line 69875 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        QRegularExpression::MatchOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QRegularExpression_MatchOptions, &a0, &a0State))
        {
            sipCpp->QRegularExpression::MatchOptions::operator^=(*a0);
            sipReleaseType(a0,sipType_QRegularExpression_MatchOptions,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_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;

    {
        QRegularExpression::MatchOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QRegularExpression_MatchOptions, &a0, &a0State))
        {
            sipCpp->QRegularExpression::MatchOptions::operator|=(*a0);
            sipReleaseType(a0,sipType_QRegularExpression_MatchOptions,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_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;
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QRegularExpression::MatchOptions(a0);

            return sipCpp;
        }
    }

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

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 70152 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QRegularExpression_MatchOptions[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QRegularExpression_MatchOptions___and__, and_slot},
    {(void *)slot_QRegularExpression_MatchOptions___xor__, xor_slot},
    {(void *)slot_QRegularExpression_MatchOptions___or__, or_slot},
    {(void *)slot_QRegularExpression_MatchOptions___int__, int_slot},
    {(void *)slot_QRegularExpression_MatchOptions___ixor__, ixor_slot},
    {(void *)slot_QRegularExpression_MatchOptions___ior__, ior_slot},
    {(void *)slot_QRegularExpression_MatchOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QRegularExpression_MatchOptions, "\1QRegularExpression.MatchOptions(QRegularExpression.MatchOptions)\n"
    "QRegularExpression.MatchOptions(int)\n"
    "QRegularExpression.MatchOptions()");


pyqt5ClassTypeDef sipTypeDef_QtCore_QRegularExpression_MatchOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QRegularExpression__MatchOptions,
        {0}
    },
    {
        sipNameNr_MatchOptions,
        {188, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QRegularExpression_MatchOptions,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QRegularExpression_MatchOptions,
    convertTo_QRegularExpression_MatchOptions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 70234 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 70238 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QRegularExpression::PatternOptions::Int() != 0);
#line 70256 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QRegularExpression::PatternOptions::Int() != a0->operator QRegularExpression::PatternOptions::Int());
#line 70286 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QRegularExpression::PatternOptions::Int() == a0->operator QRegularExpression::PatternOptions::Int());
#line 70322 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QRegularExpression_PatternOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QRegularExpression::PatternOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QRegularExpression_PatternOptions, &a0, &a0State, &a1))
        {
            QRegularExpression::PatternOptions*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QRegularExpression::PatternOptions(*a0 ^ a1);
#line 70425 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QRegularExpression_PatternOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QRegularExpression::PatternOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QRegularExpression_PatternOptions, &a0, &a0State, &a1))
        {
            QRegularExpression::PatternOptions*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QRegularExpression::PatternOptions(*a0 | a1);
#line 70475 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        QRegularExpression::PatternOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QRegularExpression_PatternOptions, &a0, &a0State))
        {
            sipCpp->QRegularExpression::PatternOptions::operator^=(*a0);
            sipReleaseType(a0,sipType_QRegularExpression_PatternOptions,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_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;

    {
        QRegularExpression::PatternOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QRegularExpression_PatternOptions, &a0, &a0State))
        {
            sipCpp->QRegularExpression::PatternOptions::operator|=(*a0);
            sipReleaseType(a0,sipType_QRegularExpression_PatternOptions,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_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;
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QRegularExpression::PatternOptions(a0);

            return sipCpp;
        }
    }

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

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 70752 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QRegularExpression_PatternOptions[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QRegularExpression_PatternOptions___and__, and_slot},
    {(void *)slot_QRegularExpression_PatternOptions___xor__, xor_slot},
    {(void *)slot_QRegularExpression_PatternOptions___or__, or_slot},
    {(void *)slot_QRegularExpression_PatternOptions___int__, int_slot},
    {(void *)slot_QRegularExpression_PatternOptions___ixor__, ixor_slot},
    {(void *)slot_QRegularExpression_PatternOptions___ior__, ior_slot},
    {(void *)slot_QRegularExpression_PatternOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QRegularExpression_PatternOptions, "\1QRegularExpression.PatternOptions(QRegularExpression.PatternOptions)\n"
    "QRegularExpression.PatternOptions(int)\n"
    "QRegularExpression.PatternOptions()");


pyqt5ClassTypeDef sipTypeDef_QtCore_QRegularExpression_PatternOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QRegularExpression__PatternOptions,
        {0}
    },
    {
        sipNameNr_PatternOptions,
        {188, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QRegularExpression_PatternOptions,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QRegularExpression_PatternOptions,
    convertTo_QRegularExpression_PatternOptions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 70834 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 70838 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 70841 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 70844 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 180 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 70847 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 70850 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 149 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 70853 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QRegularExpression_patternOptions, "QRegularExpression.patternOptions() -> 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, "QRegularExpression.setPatternOptions(QRegularExpression.PatternOptions)");

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, "QRegularExpression.swap(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, "QRegularExpression.pattern() -> 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, "QRegularExpression.setPattern(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, "QRegularExpression.isValid() -> 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, "QRegularExpression.patternErrorOffset() -> 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, "QRegularExpression.errorString() -> 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, "QRegularExpression.captureCount() -> 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, "QRegularExpression.match(str, int offset=0, QRegularExpression.MatchType matchType=QRegularExpression.NormalMatch, QRegularExpression.MatchOptions matchOptions=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, "QRegularExpression.globalMatch(str, int offset=0, QRegularExpression.MatchType matchType=QRegularExpression.NormalMatch, QRegularExpression.MatchOptions matchOptions=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, "QRegularExpression.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, "QRegularExpression.namedCaptureGroups() -> list-of-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, "QRegularExpression.optimize()");

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 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 61 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 71386 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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___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), 189},
    {sipName_CaseInsensitiveOption, static_cast<int>(QRegularExpression::CaseInsensitiveOption), 192},
    {sipName_DontAutomaticallyOptimizeOption, static_cast<int>(QRegularExpression::DontAutomaticallyOptimizeOption), 192},
    {sipName_DontCaptureOption, static_cast<int>(QRegularExpression::DontCaptureOption), 192},
    {sipName_DontCheckSubjectStringMatchOption, static_cast<int>(QRegularExpression::DontCheckSubjectStringMatchOption), 189},
    {sipName_DotMatchesEverythingOption, static_cast<int>(QRegularExpression::DotMatchesEverythingOption), 192},
    {sipName_ExtendedPatternSyntaxOption, static_cast<int>(QRegularExpression::ExtendedPatternSyntaxOption), 192},
    {sipName_InvertedGreedinessOption, static_cast<int>(QRegularExpression::InvertedGreedinessOption), 192},
    {sipName_MultilineOption, static_cast<int>(QRegularExpression::MultilineOption), 192},
    {sipName_NoMatch, static_cast<int>(QRegularExpression::NoMatch), 191},
    {sipName_NoMatchOption, static_cast<int>(QRegularExpression::NoMatchOption), 189},
    {sipName_NoPatternOption, static_cast<int>(QRegularExpression::NoPatternOption), 192},
    {sipName_NormalMatch, static_cast<int>(QRegularExpression::NormalMatch), 191},
    {sipName_OptimizeOnFirstUsageOption, static_cast<int>(QRegularExpression::OptimizeOnFirstUsageOption), 192},
    {sipName_PartialPreferCompleteMatch, static_cast<int>(QRegularExpression::PartialPreferCompleteMatch), 191},
    {sipName_PartialPreferFirstMatch, static_cast<int>(QRegularExpression::PartialPreferFirstMatch), 191},
    {sipName_UseUnicodePropertiesOption, static_cast<int>(QRegularExpression::UseUnicodePropertiesOption), 192},
};

PyDoc_STRVAR(doc_QRegularExpression, "\1QRegularExpression()\n"
    "QRegularExpression(str, QRegularExpression.PatternOptions options=QRegularExpression.NoPatternOption)\n"
    "QRegularExpression(QRegularExpression)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QRegularExpression = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QRegularExpression,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QRegularExpression,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 71605 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 71609 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 71612 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 71615 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QRegExp_isEmpty, "QRegExp.isEmpty() -> 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, "QRegExp.isValid() -> 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, "QRegExp.pattern() -> 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, "QRegExp.setPattern(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, "QRegExp.caseSensitivity() -> 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, "QRegExp.setCaseSensitivity(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, "QRegExp.patternSyntax() -> 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, "QRegExp.setPatternSyntax(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, "QRegExp.isMinimal() -> 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, "QRegExp.setMinimal(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, "QRegExp.exactMatch(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, "QRegExp.indexIn(str, int offset=0, QRegExp.CaretMode 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, "QRegExp.lastIndexIn(str, int offset=-1, QRegExp.CaretMode 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, "QRegExp.matchedLength() -> 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, "QRegExp.capturedTexts() -> list-of-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, "QRegExp.cap(int nth=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, "QRegExp.pos(int nth=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, "QRegExp.errorString() -> 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, "QRegExp.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, "QRegExp.captureCount() -> 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, "QRegExp.swap(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 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 57 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 72351 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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___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), 186},
    {sipName_CaretAtZero, static_cast<int>(QRegExp::CaretAtZero), 186},
    {sipName_CaretWontMatch, static_cast<int>(QRegExp::CaretWontMatch), 186},
    {sipName_FixedString, static_cast<int>(QRegExp::FixedString), 187},
    {sipName_RegExp, static_cast<int>(QRegExp::RegExp), 187},
    {sipName_RegExp2, static_cast<int>(QRegExp::RegExp2), 187},
    {sipName_W3CXmlSchema11, static_cast<int>(QRegExp::W3CXmlSchema11), 187},
    {sipName_Wildcard, static_cast<int>(QRegExp::Wildcard), 187},
    {sipName_WildcardUnix, static_cast<int>(QRegExp::WildcardUnix), 187},
};

PyDoc_STRVAR(doc_QRegExp, "\1QRegExp()\n"
    "QRegExp(str, Qt.CaseSensitivity cs=Qt.CaseSensitive, QRegExp.PatternSyntax syntax=QRegExp.RegExp)\n"
    "QRegExp(QRegExp)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QRegExp = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QRegExp,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QRegExp,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 165 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 72568 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 99 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 72572 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 101 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 72575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 72578 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 72581 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QRectF_normalized, "QRectF.normalized() -> 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, "QRectF.left() -> 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, "QRectF.top() -> 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, "QRectF.right() -> 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, "QRectF.bottom() -> 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, "QRectF.setX(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, "QRectF.setY(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, "QRectF.topLeft() -> 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, "QRectF.bottomRight() -> 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, "QRectF.topRight() -> 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, "QRectF.bottomLeft() -> 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, "QRectF.contains(QPointF) -> bool\n"
    "QRectF.contains(QRectF) -> bool\n"
    "QRectF.contains(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, "QRectF.intersects(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, "QRectF.isNull() -> 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, "QRectF.isEmpty() -> 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, "QRectF.isValid() -> 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, "QRectF.x() -> 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, "QRectF.y() -> 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, "QRectF.setLeft(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, "QRectF.setRight(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, "QRectF.setTop(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, "QRectF.setBottom(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, "QRectF.setTopLeft(QPointF)");

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, "QRectF.setTopRight(QPointF)");

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, "QRectF.setBottomLeft(QPointF)");

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, "QRectF.setBottomRight(QPointF)");

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, "QRectF.center() -> 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, "QRectF.moveLeft(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, "QRectF.moveTop(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, "QRectF.moveRight(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, "QRectF.moveBottom(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, "QRectF.moveTopLeft(QPointF)");

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, "QRectF.moveTopRight(QPointF)");

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, "QRectF.moveBottomLeft(QPointF)");

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, "QRectF.moveBottomRight(QPointF)");

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, "QRectF.moveCenter(QPointF)");

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, "QRectF.width() -> 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, "QRectF.height() -> 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, "QRectF.size() -> 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, "QRectF.translate(float, float)\n"
    "QRectF.translate(QPointF)");

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, "QRectF.moveTo(float, float)\n"
    "QRectF.moveTo(QPointF)");

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, "QRectF.translated(float, float) -> QRectF\n"
    "QRectF.translated(QPointF) -> 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, "QRectF.getRect() -> (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, "QRectF.setRect(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, "QRectF.getCoords() -> (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, "QRectF.setCoords(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, "QRectF.adjust(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, "QRectF.adjusted(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, "QRectF.setWidth(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, "QRectF.setHeight(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, "QRectF.setSize(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, "QRectF.intersected(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, "QRectF.united(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, "QRectF.toAlignedRect() -> 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, "QRectF.toRect() -> 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, "QRectF.marginsAdded(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, "QRectF.marginsRemoved(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;
}


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 251 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qrect.sip"
        sipRes = sipCpp->isValid();
#line 74545 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 236 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qrect.sip"
        sipRes = sipCpp->contains(*a0);
#line 74575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 242 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qrect.sip"
        sipRes = sipCpp->contains(*a0);
#line 74591 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 180 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 74712 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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

    return NULL;
}


/* 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 169 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qrect.sip"
    sipRes = Py_BuildValue((char *)"dddd", sipCpp->x(), sipCpp->y(), sipCpp->width(), sipCpp->height());
#line 74749 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (sipIsPyOwned(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_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(QPointF, QSizeF)\n"
    "QRectF(QPointF, QPointF)\n"
    "QRectF(float, float, float, float)\n"
    "QRectF(QRect)\n"
    "QRectF(QRectF)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QRectF = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QRectF,
        {0}
    },
    {
        sipNameNr_QRectF,
        {0, 0, 1},
        57, methods_QRectF,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QRectF,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QRectF,
    0,
    0,
    0,
    pickle_QRectF,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 75014 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 75018 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 75021 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 75024 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QRect_normalized, "QRect.normalized() -> 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, "QRect.moveCenter(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, "QRect.contains(QPoint, bool proper=False) -> bool\n"
    "QRect.contains(QRect, bool proper=False) -> bool\n"
    "QRect.contains(int, int, bool) -> bool\n"
    "QRect.contains(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, "QRect.intersects(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, "QRect.isNull() -> 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, "QRect.isEmpty() -> 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, "QRect.isValid() -> 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, "QRect.left() -> 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, "QRect.top() -> 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, "QRect.right() -> 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, "QRect.bottom() -> 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, "QRect.x() -> 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, "QRect.y() -> 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, "QRect.setLeft(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, "QRect.setTop(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, "QRect.setRight(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, "QRect.setBottom(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, "QRect.setTopLeft(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, "QRect.setBottomRight(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, "QRect.setTopRight(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, "QRect.setBottomLeft(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, "QRect.setX(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, "QRect.setY(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, "QRect.topLeft() -> 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, "QRect.bottomRight() -> 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, "QRect.topRight() -> 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, "QRect.bottomLeft() -> 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, "QRect.center() -> 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, "QRect.width() -> 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, "QRect.height() -> 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, "QRect.size() -> 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, "QRect.translate(int, int)\n"
    "QRect.translate(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, "QRect.translated(int, int) -> QRect\n"
    "QRect.translated(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, "QRect.moveTo(int, int)\n"
    "QRect.moveTo(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, "QRect.moveLeft(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, "QRect.moveTop(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, "QRect.moveRight(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, "QRect.moveBottom(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, "QRect.moveTopLeft(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, "QRect.moveBottomRight(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, "QRect.moveTopRight(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, "QRect.moveBottomLeft(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, "QRect.getRect() -> (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, "QRect.setRect(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, "QRect.getCoords() -> (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, "QRect.setCoords(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, "QRect.adjusted(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, "QRect.adjust(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, "QRect.setWidth(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, "QRect.setHeight(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, "QRect.setSize(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, "QRect.intersected(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, "QRect.united(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, "QRect.marginsAdded(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, "QRect.marginsRemoved(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;
}


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 87 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qrect.sip"
        sipRes = sipCpp->isValid();
#line 76937 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 61 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 76980 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 46 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qrect.sip"
        sipRes = sipCpp->contains(*a0);
#line 77009 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    {
        const QRect* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QRect, &a0))
        {
            int sipRes = 0;

#line 52 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qrect.sip"
        sipRes = sipCpp->contains(*a0);
#line 77024 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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);
}


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

    return NULL;
}


/* 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 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qrect.sip"
    sipRes = Py_BuildValue((char *)"iiii", sipCpp->x(), sipCpp->y(), sipCpp->width(), sipCpp->height());
#line 77120 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (sipIsPyOwned(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_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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QRect = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QRect,
        {0}
    },
    {
        sipNameNr_QRect,
        {0, 0, 1},
        55, methods_QRect,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QRect,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QRect,
    0,
    0,
    0,
    pickle_QRect,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 81 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qreadwritelock.sip"
#include <qreadwritelock.h>
#line 77365 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qreadwritelock.sip"
#include <qreadwritelock.h>
#line 77369 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QWriteLocker_unlock, "QWriteLocker.unlock()");

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, "QWriteLocker.relock()");

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, "QWriteLocker.readWriteLock() -> 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__, "QWriteLocker.__enter__() -> 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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qreadwritelock.sip"
        // Just return a reference to self.
        sipRes = sipSelf;
        Py_INCREF(sipRes);
#line 77471 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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__, "QWriteLocker.__exit__(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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qreadwritelock.sip"
        sipCpp->unlock();
#line 77501 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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;
}


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

    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 (sipIsPyOwned(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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QWriteLocker = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NONLAZY|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QWriteLocker,
        {0}
    },
    {
        sipNameNr_QWriteLocker,
        {0, 0, 1},
        5, methods_QWriteLocker,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QWriteLocker,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QWriteLocker,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 53 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qreadwritelock.sip"
#include <qreadwritelock.h>
#line 77634 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qreadwritelock.sip"
#include <qreadwritelock.h>
#line 77638 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QReadLocker_unlock, "QReadLocker.unlock()");

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, "QReadLocker.relock()");

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, "QReadLocker.readWriteLock() -> 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__, "QReadLocker.__enter__() -> 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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qreadwritelock.sip"
        // Just return a reference to self.
        sipRes = sipSelf;
        Py_INCREF(sipRes);
#line 77740 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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__, "QReadLocker.__exit__(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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qreadwritelock.sip"
        sipCpp->unlock();
#line 77770 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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;
}


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

    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 (sipIsPyOwned(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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QReadLocker = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NONLAZY|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QReadLocker,
        {0}
    },
    {
        sipNameNr_QReadLocker,
        {0, 0, 1},
        5, methods_QReadLocker,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QReadLocker,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QReadLocker,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qreadwritelock.sip"
#include <qreadwritelock.h>
#line 77903 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"



PyDoc_STRVAR(doc_QReadWriteLock_lockForRead, "QReadWriteLock.lockForRead()");

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, "QReadWriteLock.tryLockForRead() -> bool\n"
    "QReadWriteLock.tryLockForRead(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, "QReadWriteLock.lockForWrite()");

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, "QReadWriteLock.tryLockForWrite() -> bool\n"
    "QReadWriteLock.tryLockForWrite(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, "QReadWriteLock.unlock()");

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;
}


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

    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 (sipIsPyOwned(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), 182},
    {sipName_Recursive, static_cast<int>(QReadWriteLock::Recursive), 182},
};

PyDoc_STRVAR(doc_QReadWriteLock, "\1QReadWriteLock(QReadWriteLock.RecursionMode recursionMode=QReadWriteLock.NonRecursive)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QReadWriteLock = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QReadWriteLock,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QReadWriteLock,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 220 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qprocess.sip"
#include <qprocess.h>
#line 78203 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 78207 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 78210 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QProcessEnvironment_isEmpty, "QProcessEnvironment.isEmpty() -> 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, "QProcessEnvironment.clear()");

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, "QProcessEnvironment.contains(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, "QProcessEnvironment.insert(str, str)\n"
    "QProcessEnvironment.insert(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, "QProcessEnvironment.remove(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, "QProcessEnvironment.value(str, str defaultValue='') -> 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, "QProcessEnvironment.toStringList() -> list-of-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, "QProcessEnvironment.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, "QProcessEnvironment.keys() -> list-of-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, "QProcessEnvironment.swap(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);
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QProcessEnvironment = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QProcessEnvironment,
        {0}
    },
    {
        sipNameNr_QProcessEnvironment,
        {0, 0, 1},
        10, methods_QProcessEnvironment,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QProcessEnvironment,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QProcessEnvironment,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 33 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qprocess.sip"
#include <qprocess.h>
#line 78741 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 78745 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 78748 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 78751 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 78754 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 220 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qprocess.sip"
#include <qprocess.h>
#line 78757 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 78760 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 78763 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 78766 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 78769 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 78772 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 78775 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 78778 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 78781 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 78784 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 78787 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 78790 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 78793 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 78796 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 78799 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    qint64 readLineData(char*,qint64);
    bool reset();
    bool seek(qint64);
    qint64 size() const;
    qint64 pos() const;
    bool open(QIODevice::OpenMode);
    qint64 writeData(const char*,PY_LONG_LONG);
    qint64 readData(char*,qint64);
    void setupChildProcess();
    bool atEnd() const;
    void close();
    bool canReadLine() const;
    bool isSequential() const;
    qint64 bytesToWrite() const;
    qint64 bytesAvailable() const;
    bool waitForBytesWritten(int);
    bool waitForReadyRead(int);

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQProcess::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QProcess);
}

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::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

qint64 sipQProcess::readLineData(char*a0,qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QProcess::readLineData(a0,a1);

    extern PY_LONG_LONG sipVH_QtCore_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_43(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQProcess::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QProcess::reset();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQProcess::seek(qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QProcess::seek(a0);

    extern bool sipVH_QtCore_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_53(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

qint64 sipQProcess::size() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QProcess::size();

    extern PY_LONG_LONG sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_44(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 PY_LONG_LONG sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQProcess::open(QIODevice::OpenMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QProcess::open(a0);

    extern bool sipVH_QtCore_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QIODevice::OpenMode);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_15(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

qint64 sipQProcess::writeData(const char*a0,PY_LONG_LONG a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QProcess::writeData(a0,a1);

    extern PY_LONG_LONG sipVH_QtCore_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*,PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_42(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

qint64 sipQProcess::readData(char*a0,qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QProcess::readData(a0,a1);

    extern PY_LONG_LONG sipVH_QtCore_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_43(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQProcess::setupChildProcess()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QProcess::setupChildProcess();
        return;
    }

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQProcess::atEnd() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QProcess::atEnd();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQProcess::close()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QProcess::close();
        return;
    }

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_11(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_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQProcess::isSequential() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QProcess::isSequential();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

qint64 sipQProcess::bytesToWrite() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QProcess::bytesToWrite();

    extern PY_LONG_LONG sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

qint64 sipQProcess::bytesAvailable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QProcess::bytesAvailable();

    extern PY_LONG_LONG sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQProcess::waitForBytesWritten(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QProcess::waitForBytesWritten(a0);

    extern bool sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQProcess::waitForReadyRead(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QProcess::waitForReadyRead(a0);

    extern bool sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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, "QProcess.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 79431 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QProcess.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 79490 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QProcess.timerEvent(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 || sipIsDerived((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, "QProcess.childEvent(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 || sipIsDerived((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, "QProcess.customEvent(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 || sipIsDerived((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, "QProcess.connectNotify(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 || sipIsDerived((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, "QProcess.disconnectNotify(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 || sipIsDerived((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, "QProcess.senderSignalIndex() -> 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, "QProcess.isSignalConnected(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, "QProcess.readLineData(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 || sipIsDerived((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 232 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 79758 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QProcess.setOpenMode(QIODevice.OpenMode)");

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, "QProcess.setErrorString(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, "QProcess.start(str, list-of-str, QIODevice.OpenMode mode=QIODevice.ReadWrite)\n"
    "QProcess.start(str, QIODevice.OpenMode mode=QIODevice.ReadWrite)\n"
    "QProcess.start(QIODevice.OpenMode mode=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, "QProcess.readChannel() -> 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, "QProcess.setReadChannel(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, "QProcess.closeReadChannel(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, "QProcess.closeWriteChannel()");

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, "QProcess.workingDirectory() -> 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, "QProcess.setWorkingDirectory(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, "QProcess.error() -> 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, "QProcess.state() -> 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, "QProcess.pid() -> 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, "QProcess.waitForStarted(int msecs=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, "QProcess.waitForReadyRead(int msecs=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 || sipIsDerived((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, "QProcess.waitForBytesWritten(int msecs=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 || sipIsDerived((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, "QProcess.waitForFinished(int msecs=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, "QProcess.readAllStandardOutput() -> 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, "QProcess.readAllStandardError() -> 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, "QProcess.exitCode() -> 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, "QProcess.exitStatus() -> 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, "QProcess.bytesAvailable() -> 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 || sipIsDerived((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, "QProcess.bytesToWrite() -> 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 || sipIsDerived((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, "QProcess.isSequential() -> 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 || sipIsDerived((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, "QProcess.canReadLine() -> 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 || sipIsDerived((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, "QProcess.close()");

extern "C" {static PyObject *meth_QProcess_close(PyObject *, PyObject *);}
static PyObject *meth_QProcess_close(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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, "QProcess.atEnd() -> 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 || sipIsDerived((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, "QProcess.execute(str, list-of-str) -> int\n"
    "QProcess.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, "QProcess.startDetached(str, list-of-str, str) -> (bool, int)\n"
    "QProcess.startDetached(str, list-of-str) -> bool\n"
    "QProcess.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, "QProcess.systemEnvironment() -> list-of-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, "QProcess.processChannelMode() -> 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, "QProcess.setProcessChannelMode(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, "QProcess.setStandardInputFile(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, "QProcess.setStandardOutputFile(str, QIODevice.OpenMode mode=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, "QProcess.setStandardErrorFile(str, QIODevice.OpenMode mode=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, "QProcess.setStandardOutputProcess(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, "QProcess.terminate()");

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, "QProcess.kill()");

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, "QProcess.setProcessState(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, "QProcess.setupChildProcess()");

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 || sipIsDerived((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, "QProcess.readData(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 || sipIsDerived((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 139 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 81079 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QProcess.writeData(str) -> 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 || sipIsDerived((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, "QProcess.setProcessEnvironment(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, "QProcess.processEnvironment() -> 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, "QProcess.program() -> 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, "QProcess.setProgram(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, "QProcess.arguments() -> list-of-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, "QProcess.setArguments(list-of-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, "QProcess.open(QIODevice.OpenMode mode=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 || sipIsDerived((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, "QProcess.inputChannelMode() -> 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, "QProcess.setInputChannelMode(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, "QProcess.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, "QProcess.processId() -> 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 superclass hierarchy. */
extern "C" {static void *cast_QProcess(void *, const sipTypeDef *);}
static void *cast_QProcess(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QProcess)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QIODevice)->ctd_cast((QIODevice *)(QProcess *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQProcess *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{78, 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), 172},
    {sipName_Crashed, static_cast<int>(QProcess::Crashed), 176},
    {sipName_FailedToStart, static_cast<int>(QProcess::FailedToStart), 176},
    {sipName_ForwardedChannels, static_cast<int>(QProcess::ForwardedChannels), 175},
    {sipName_ForwardedErrorChannel, static_cast<int>(QProcess::ForwardedErrorChannel), 175},
    {sipName_ForwardedInputChannel, static_cast<int>(QProcess::ForwardedInputChannel), 173},
    {sipName_ForwardedOutputChannel, static_cast<int>(QProcess::ForwardedOutputChannel), 175},
    {sipName_ManagedInputChannel, static_cast<int>(QProcess::ManagedInputChannel), 173},
    {sipName_MergedChannels, static_cast<int>(QProcess::MergedChannels), 175},
    {sipName_NormalExit, static_cast<int>(QProcess::NormalExit), 172},
    {sipName_NotRunning, static_cast<int>(QProcess::NotRunning), 177},
    {sipName_ReadError, static_cast<int>(QProcess::ReadError), 176},
    {sipName_Running, static_cast<int>(QProcess::Running), 177},
    {sipName_SeparateChannels, static_cast<int>(QProcess::SeparateChannels), 175},
    {sipName_StandardError, static_cast<int>(QProcess::StandardError), 174},
    {sipName_StandardOutput, static_cast<int>(QProcess::StandardOutput), 174},
    {sipName_Starting, static_cast<int>(QProcess::Starting), 177},
    {sipName_Timedout, static_cast<int>(QProcess::Timedout), 176},
    {sipName_UnknownError, static_cast<int>(QProcess::UnknownError), 176},
    {sipName_WriteError, static_cast<int>(QProcess::WriteError), 176},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QProcess[] = {
    {"readyReadStandardError()", "\1QProcess.readyReadStandardError", 0, 0},
    {"readyReadStandardOutput()", "\1QProcess.readyReadStandardOutput", 0, 0},
    {"stateChanged(QProcess::ProcessState)", "\1QProcess.stateChanged[QProcess.ProcessState]", 0, 0},
    {"finished(int,QProcess::ExitStatus)", "\1QProcess.finished[int, QProcess.ExitStatus]", 0, 0},
    {"started()", "\1QProcess.started", 0, 0},
    {"error(QProcess::ProcessError)", "\1QProcess.error[QProcess.ProcessError]", &methods_QProcess[12], 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QProcess, "\1QProcess(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QProcess = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QProcess,
        {0}
    },
    {
        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
},
    &QProcess::staticMetaObject,
    0,
    signals_QProcess,
    0
};

#line 99 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 81669 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 81673 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QPointF_isNull, "QPointF.isNull() -> 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, "QPointF.x() -> 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, "QPointF.y() -> 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, "QPointF.setX(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, "QPointF.setY(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, "QPointF.toPoint() -> 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, "QPointF.manhattanLength() -> 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, "QPointF.dotProduct(QPointF, QPointF) -> 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 178 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpoint.sip"
        sipRes = !sipCpp->isNull();
#line 82330 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 82383 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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

    return NULL;
}


/* 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 135 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpoint.sip"
    sipRes = Py_BuildValue((char *)"dd", sipCpp->x(), sipCpp->y());
#line 82420 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (sipIsPyOwned(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 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 82546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QPointF = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QPointF,
        {0}
    },
    {
        sipNameNr_QPointF,
        {0, 0, 1},
        8, methods_QPointF,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QPointF,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QPointF,
    convertTo_QPointF,
    0,
    0,
    pickle_QPointF,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 82644 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"



PyDoc_STRVAR(doc_QPoint_manhattanLength, "QPoint.manhattanLength() -> 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, "QPoint.isNull() -> 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, "QPoint.x() -> 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, "QPoint.y() -> 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, "QPoint.setX(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, "QPoint.setY(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, "QPoint.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 66 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpoint.sip"
        sipRes = !sipCpp->isNull();
#line 83289 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 43 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 83331 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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

    return NULL;
}


/* 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 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpoint.sip"
    sipRes = Py_BuildValue((char *)"ii", sipCpp->x(), sipCpp->y());
#line 83368 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (sipIsPyOwned(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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QPoint = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QPoint,
        {0}
    },
    {
        sipNameNr_QPoint,
        {0, 0, 1},
        7, methods_QPoint,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QPoint,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QPoint,
    0,
    0,
    0,
    pickle_QPoint,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpluginloader.sip"
#include <qpluginloader.h>
#line 83538 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 83542 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 83545 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlibrary.sip"
#include <qlibrary.h>
#line 83548 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 83551 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 83554 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 83557 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 83560 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 83563 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 83566 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 83569 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 83572 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 83575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 83578 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 83581 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 83584 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 83587 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 83590 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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:
    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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQPluginLoader::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QPluginLoader);
}

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));
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(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_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return 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, "QPluginLoader.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 83891 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QPluginLoader.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 83950 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QPluginLoader.timerEvent(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 || sipIsDerived((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, "QPluginLoader.childEvent(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 || sipIsDerived((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, "QPluginLoader.customEvent(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 || sipIsDerived((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, "QPluginLoader.connectNotify(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 || sipIsDerived((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, "QPluginLoader.disconnectNotify(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 || sipIsDerived((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, "QPluginLoader.senderSignalIndex() -> 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, "QPluginLoader.isSignalConnected(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, "QPluginLoader.instance() -> 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, "QPluginLoader.staticInstances() -> list-of-QObject");

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, "QPluginLoader.load() -> 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, "QPluginLoader.unload() -> 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, "QPluginLoader.isLoaded() -> 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, "QPluginLoader.setFileName(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, "QPluginLoader.fileName() -> 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, "QPluginLoader.errorString() -> 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, "QPluginLoader.setLoadHints(QLibrary.LoadHints)");

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, "QPluginLoader.loadHints() -> 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 superclass hierarchy. */
extern "C" {static void *cast_QPluginLoader(void *, const sipTypeDef *);}
static void *cast_QPluginLoader(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QPluginLoader)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QPluginLoader *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQPluginLoader *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{162, 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(QObject parent=None)\n"
    "QPluginLoader(str, QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QPluginLoader = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QPluginLoader,
        {0}
    },
    {
        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
},
    &QPluginLoader::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpropertyanimation.sip"
#include <qpropertyanimation.h>
#line 84614 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 84618 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 84621 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 84624 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 84627 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 84630 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qeasingcurve.sip"
#include <qeasingcurve.h>
#line 84633 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 135 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#include <qpair.h>
#line 84637 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qanimationgroup.sip"
#include <qanimationgroup.h>
#line 84640 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 84643 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 84646 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 84649 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 84652 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 84655 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 84658 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 84661 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 84664 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 84667 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 84670 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 84673 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 84676 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void updateDirection(QAbstractAnimation::Direction);
    QVariant interpolated(const QVariant&,const QVariant&,qreal) const;
    void updateCurrentTime(int);
    int duration() const;
    void updateState(QAbstractAnimation::State,QAbstractAnimation::State);
    void updateCurrentValue(const QVariant&);
    bool event(QEvent*);

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQPropertyAnimation::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QPropertyAnimation);
}

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::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(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_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQPropertyAnimation::updateDirection(QAbstractAnimation::Direction a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QPropertyAnimation::updateDirection(a0);
        return;
    }

    extern void sipVH_QtCore_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractAnimation::Direction);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_41(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[7]),sipPySelf,NULL,sipName_interpolated);

    if (!sipMeth)
        return QPropertyAnimation::interpolated(a0,a1,a2);

    extern QVariant sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&,const QVariant&,double);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQPropertyAnimation::updateCurrentTime(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QPropertyAnimation::updateCurrentTime(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

int sipQPropertyAnimation::duration() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QPropertyAnimation::duration();

    extern int sipVH_QtCore_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_6(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQPropertyAnimation::updateState(QAbstractAnimation::State a0,QAbstractAnimation::State a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QPropertyAnimation::updateState(a0,a1);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractAnimation::State,QAbstractAnimation::State);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

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_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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, "QPropertyAnimation.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 85127 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QPropertyAnimation.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 85186 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QPropertyAnimation.timerEvent(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 || sipIsDerived((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, "QPropertyAnimation.childEvent(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 || sipIsDerived((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, "QPropertyAnimation.customEvent(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 || sipIsDerived((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, "QPropertyAnimation.connectNotify(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 || sipIsDerived((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, "QPropertyAnimation.disconnectNotify(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 || sipIsDerived((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, "QPropertyAnimation.senderSignalIndex() -> 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, "QPropertyAnimation.isSignalConnected(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, "QPropertyAnimation.updateDirection(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 || sipIsDerived((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, "QPropertyAnimation.updateCurrentTime(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 || sipIsDerived((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, "QPropertyAnimation.interpolated(QVariant, QVariant, float) -> QVariant");

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 || sipIsDerived((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, "QPropertyAnimation.targetObject() -> 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, "QPropertyAnimation.setTargetObject(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, "QPropertyAnimation.propertyName() -> 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, "QPropertyAnimation.setPropertyName(QByteArray)");

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, "QPropertyAnimation.event(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 || sipIsDerived((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, "QPropertyAnimation.updateCurrentValue(QVariant)");

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 || sipIsDerived((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, "QPropertyAnimation.updateState(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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QPropertyAnimation(void *, const sipTypeDef *);}
static void *cast_QPropertyAnimation(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QPropertyAnimation)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QVariantAnimation)->ctd_cast((QVariantAnimation *)(QPropertyAnimation *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQPropertyAnimation *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{288, 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(QObject parent=None)\n"
    "QPropertyAnimation(QObject, QByteArray, QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QPropertyAnimation = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QPropertyAnimation,
        {0}
    },
    {
        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
},
    &QPropertyAnimation::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariantanimation.sip"
#include <qvariantanimation.h>
#line 85875 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 85879 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 85882 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 85885 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 85888 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qeasingcurve.sip"
#include <qeasingcurve.h>
#line 85891 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 135 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#include <qpair.h>
#line 85895 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qanimationgroup.sip"
#include <qanimationgroup.h>
#line 85898 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 85901 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 85904 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 85907 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 85910 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 85913 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 85916 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 85919 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 85922 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 85925 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 85928 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 85931 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 85934 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 85937 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void updateDirection(QAbstractAnimation::Direction);
    QVariant interpolated(const QVariant&,const QVariant&,qreal) const;
    void updateCurrentValue(const QVariant&);
    void updateState(QAbstractAnimation::State,QAbstractAnimation::State);
    void updateCurrentTime(int);
    bool event(QEvent*);
    int duration() const;

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQVariantAnimation::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QVariantAnimation);
}

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));
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQVariantAnimation::updateDirection(QAbstractAnimation::Direction a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QVariantAnimation::updateDirection(a0);
        return;
    }

    extern void sipVH_QtCore_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractAnimation::Direction);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_41(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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[7]),sipPySelf,NULL,sipName_interpolated);

    if (!sipMeth)
        return QVariantAnimation::interpolated(a0,a1,a2);

    extern QVariant sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&,const QVariant&,double);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_1(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[8],sipPySelf,NULL,sipName_updateCurrentValue);

    if (!sipMeth)
    {
        QVariantAnimation::updateCurrentValue(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_2(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[9],sipPySelf,NULL,sipName_updateState);

    if (!sipMeth)
    {
        QVariantAnimation::updateState(a0,a1);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractAnimation::State,QAbstractAnimation::State);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

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_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

int sipQVariantAnimation::duration() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QVariantAnimation::duration();

    extern int sipVH_QtCore_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_6(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

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, "QVariantAnimation.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 86382 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QVariantAnimation.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 86441 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QVariantAnimation.timerEvent(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 || sipIsDerived((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, "QVariantAnimation.childEvent(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 || sipIsDerived((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, "QVariantAnimation.customEvent(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 || sipIsDerived((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, "QVariantAnimation.connectNotify(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 || sipIsDerived((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, "QVariantAnimation.disconnectNotify(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 || sipIsDerived((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, "QVariantAnimation.senderSignalIndex() -> 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, "QVariantAnimation.isSignalConnected(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, "QVariantAnimation.updateDirection(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 || sipIsDerived((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, "QVariantAnimation.startValue() -> QVariant");

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, "QVariantAnimation.setStartValue(QVariant)");

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, "QVariantAnimation.endValue() -> QVariant");

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, "QVariantAnimation.setEndValue(QVariant)");

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, "QVariantAnimation.keyValueAt(float) -> QVariant");

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, "QVariantAnimation.setKeyValueAt(float, QVariant)");

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, "QVariantAnimation.keyValues() -> list-of-tuple-of-float-QVariant");

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, "QVariantAnimation.setKeyValues(list-of-tuple-of-float-QVariant)");

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, "QVariantAnimation.currentValue() -> QVariant");

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, "QVariantAnimation.duration() -> 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 || sipIsDerived((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, "QVariantAnimation.setDuration(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, "QVariantAnimation.easingCurve() -> 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, "QVariantAnimation.setEasingCurve(QEasingCurve)");

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, "QVariantAnimation.event(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 || sipIsDerived((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, "QVariantAnimation.updateCurrentTime(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 || sipIsDerived((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, "QVariantAnimation.updateState(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 || sipIsDerived((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, "QVariantAnimation.updateCurrentValue(QVariant)");

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 || sipIsDerived((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, "QVariantAnimation.interpolated(QVariant, QVariant, float) -> QVariant");

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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QVariantAnimation(void *, const sipTypeDef *);}
static void *cast_QVariantAnimation(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QVariantAnimation)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractAnimation)->ctd_cast((QAbstractAnimation *)(QVariantAnimation *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQVariantAnimation *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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)}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QVariantAnimation[] = {
    {"valueChanged(QVariant)", "\1QVariantAnimation.valueChanged[QVariant]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QVariantAnimation, "\1QVariantAnimation(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QVariantAnimation = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QVariantAnimation,
        {0}
    },
    {
        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
},
    &QVariantAnimation::staticMetaObject,
    0,
    signals_QVariantAnimation,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpauseanimation.sip"
#include <qpauseanimation.h>
#line 87370 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 87374 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 87377 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 87380 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qanimationgroup.sip"
#include <qanimationgroup.h>
#line 87383 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 87386 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 87389 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 87392 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 87395 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 87398 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 87401 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 87404 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 87407 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 87410 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 87413 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 87416 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 87419 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 87422 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 87425 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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*);
    void updateDirection(QAbstractAnimation::Direction);
    void updateState(QAbstractAnimation::State,QAbstractAnimation::State);
    void updateCurrentTime(int);
    bool event(QEvent*);
    int duration() const;

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQPauseAnimation::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QPauseAnimation);
}

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_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(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_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(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_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(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_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(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_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQPauseAnimation::updateDirection(QAbstractAnimation::Direction a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QPauseAnimation::updateDirection(a0);
        return;
    }

    extern void sipVH_QtCore_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractAnimation::Direction);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_41(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[7],sipPySelf,NULL,sipName_updateState);

    if (!sipMeth)
    {
        QPauseAnimation::updateState(a0,a1);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractAnimation::State,QAbstractAnimation::State);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

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_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

int sipQPauseAnimation::duration() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QPauseAnimation::duration();

    extern int sipVH_QtCore_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_6(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

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, "QPauseAnimation.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 87827 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QPauseAnimation.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 87886 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QPauseAnimation.timerEvent(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 || sipIsDerived((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, "QPauseAnimation.childEvent(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 || sipIsDerived((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, "QPauseAnimation.customEvent(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 || sipIsDerived((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, "QPauseAnimation.connectNotify(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 || sipIsDerived((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, "QPauseAnimation.disconnectNotify(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 || sipIsDerived((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, "QPauseAnimation.senderSignalIndex() -> 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, "QPauseAnimation.isSignalConnected(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, "QPauseAnimation.updateState(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 || sipIsDerived((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, "QPauseAnimation.updateDirection(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 || sipIsDerived((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, "QPauseAnimation.duration() -> 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 || sipIsDerived((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, "QPauseAnimation.setDuration(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, "QPauseAnimation.event(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 || sipIsDerived((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, "QPauseAnimation.updateCurrentTime(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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QPauseAnimation(void *, const sipTypeDef *);}
static void *cast_QPauseAnimation(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QPauseAnimation)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractAnimation)->ctd_cast((QAbstractAnimation *)(QPauseAnimation *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQPauseAnimation *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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(QObject parent=None)\n"
    "QPauseAnimation(int, QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QPauseAnimation = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QPauseAnimation,
        {0}
    },
    {
        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
},
    &QPauseAnimation::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qparallelanimationgroup.sip"
#include <qparallelanimationgroup.h>
#line 88441 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 88445 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 88448 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 88451 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qanimationgroup.sip"
#include <qanimationgroup.h>
#line 88454 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 88457 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 88460 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 88463 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 88466 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 88469 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 88472 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 88475 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 88478 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 88481 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 88484 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 88487 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 88490 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 88493 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 88496 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void updateDirection(QAbstractAnimation::Direction);
    void updateState(QAbstractAnimation::State,QAbstractAnimation::State);
    void updateCurrentTime(int);
    bool event(QEvent*);
    int duration() const;

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQParallelAnimationGroup::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QParallelAnimationGroup);
}

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::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(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_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQParallelAnimationGroup::updateDirection(QAbstractAnimation::Direction a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QParallelAnimationGroup::updateDirection(a0);
        return;
    }

    extern void sipVH_QtCore_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractAnimation::Direction);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_41(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[7],sipPySelf,NULL,sipName_updateState);

    if (!sipMeth)
    {
        QParallelAnimationGroup::updateState(a0,a1);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractAnimation::State,QAbstractAnimation::State);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQParallelAnimationGroup::updateCurrentTime(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QParallelAnimationGroup::updateCurrentTime(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

int sipQParallelAnimationGroup::duration() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QParallelAnimationGroup::duration();

    extern int sipVH_QtCore_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_6(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

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, "QParallelAnimationGroup.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 88892 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QParallelAnimationGroup.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 88951 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QParallelAnimationGroup.timerEvent(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 || sipIsDerived((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, "QParallelAnimationGroup.childEvent(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 || sipIsDerived((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, "QParallelAnimationGroup.customEvent(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 || sipIsDerived((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, "QParallelAnimationGroup.connectNotify(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 || sipIsDerived((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, "QParallelAnimationGroup.disconnectNotify(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 || sipIsDerived((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, "QParallelAnimationGroup.senderSignalIndex() -> 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, "QParallelAnimationGroup.isSignalConnected(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, "QParallelAnimationGroup.duration() -> 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 || sipIsDerived((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, "QParallelAnimationGroup.event(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 || sipIsDerived((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, "QParallelAnimationGroup.updateCurrentTime(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 || sipIsDerived((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, "QParallelAnimationGroup.updateState(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 || sipIsDerived((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, "QParallelAnimationGroup.updateDirection(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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QParallelAnimationGroup(void *, const sipTypeDef *);}
static void *cast_QParallelAnimationGroup(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QParallelAnimationGroup)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAnimationGroup)->ctd_cast((QAnimationGroup *)(QParallelAnimationGroup *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQParallelAnimationGroup *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{14, 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(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QParallelAnimationGroup = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QParallelAnimationGroup,
        {0}
    },
    {
        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
},
    &QParallelAnimationGroup::staticMetaObject,
    0,
    0,
    0
};

#line 159 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 89458 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"



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

    return NULL;
}


/* 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 (sipIsPyOwned(sipSelf))
    {
        release_QGenericReturnArgument(sipGetAddress(sipSelf),0);
    }
}


pyqt5ClassTypeDef sipTypeDef_QtCore_QGenericReturnArgument = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGenericReturnArgument,
        {0}
    },
    {
        sipNameNr_QGenericReturnArgument,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QGenericReturnArgument,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 142 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 89547 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"



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

    return NULL;
}


/* 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 (sipIsPyOwned(sipSelf))
    {
        release_QGenericArgument(sipGetAddress(sipSelf),0);
    }
}


pyqt5ClassTypeDef sipTypeDef_QtCore_QGenericArgument = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGenericArgument,
        {0}
    },
    {
        sipNameNr_QGenericArgument,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QGenericArgument,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 89636 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 89640 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 89643 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 89646 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 159 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 89649 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 142 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 89652 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 89655 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 202 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 89658 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 167 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 89661 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 146 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 89664 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 89671 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QMetaObject_className, "QMetaObject.className() -> 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, "QMetaObject.superClass() -> 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, "QMetaObject.userProperty() -> 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, "QMetaObject.methodOffset() -> 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, "QMetaObject.enumeratorOffset() -> 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, "QMetaObject.propertyOffset() -> 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, "QMetaObject.classInfoOffset() -> 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, "QMetaObject.methodCount() -> 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, "QMetaObject.enumeratorCount() -> 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, "QMetaObject.propertyCount() -> 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, "QMetaObject.classInfoCount() -> 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, "QMetaObject.indexOfMethod(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, "QMetaObject.indexOfSignal(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, "QMetaObject.indexOfSlot(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, "QMetaObject.indexOfEnumerator(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, "QMetaObject.indexOfProperty(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, "QMetaObject.indexOfClassInfo(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, "QMetaObject.method(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, "QMetaObject.enumerator(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, "QMetaObject.property(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, "QMetaObject.classInfo(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, "QMetaObject.checkConnectArgs(str, str) -> bool\n"
    "QMetaObject.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, "QMetaObject.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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
        qpycore_qmetaobject_connectslotsbyname(a0, a0Wrapper);
#line 90331 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QMetaObject.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, "QMetaObject.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, "QMetaObject.invokeMethod(QObject, str, Qt.ConnectionType, QGenericReturnArgument, QGenericArgument value0=QGenericArgument(0,0), QGenericArgument value1=QGenericArgument(0,0), QGenericArgument value2=QGenericArgument(0,0), QGenericArgument value3=QGenericArgument(0,0), QGenericArgument value4=QGenericArgument(0,0), QGenericArgument value5=QGenericArgument(0,0), QGenericArgument value6=QGenericArgument(0,0), QGenericArgument value7=QGenericArgument(0,0), QGenericArgument value8=QGenericArgument(0,0), QGenericArgument value9=QGenericArgument(0,0)) -> object\n"
    "QMetaObject.invokeMethod(QObject, str, QGenericReturnArgument, QGenericArgument value0=QGenericArgument(0,0), QGenericArgument value1=QGenericArgument(0,0), QGenericArgument value2=QGenericArgument(0,0), QGenericArgument value3=QGenericArgument(0,0), QGenericArgument value4=QGenericArgument(0,0), QGenericArgument value5=QGenericArgument(0,0), QGenericArgument value6=QGenericArgument(0,0), QGenericArgument value7=QGenericArgument(0,0), QGenericArgument value8=QGenericArgument(0,0), QGenericArgument value9=QGenericArgument(0,0)) -> object\n"
    "QMetaObject.invokeMethod(QObject, str, Qt.ConnectionType, QGenericArgument value0=QGenericArgument(0,0), QGenericArgument value1=QGenericArgument(0,0), QGenericArgument value2=QGenericArgument(0,0), QGenericArgument value3=QGenericArgument(0,0), QGenericArgument value4=QGenericArgument(0,0), QGenericArgument value5=QGenericArgument(0,0), QGenericArgument value6=QGenericArgument(0,0), QGenericArgument value7=QGenericArgument(0,0), QGenericArgument value8=QGenericArgument(0,0), QGenericArgument value9=QGenericArgument(0,0)) -> object\n"
    "QMetaObject.invokeMethod(QObject, str, QGenericArgument value0=QGenericArgument(0,0), QGenericArgument value1=QGenericArgument(0,0), QGenericArgument value2=QGenericArgument(0,0), QGenericArgument value3=QGenericArgument(0,0), QGenericArgument value4=QGenericArgument(0,0), QGenericArgument value5=QGenericArgument(0,0), QGenericArgument value6=QGenericArgument(0,0), QGenericArgument value7=QGenericArgument(0,0), QGenericArgument value8=QGenericArgument(0,0), QGenericArgument value9=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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 90474 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 90540 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 90608 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 90674 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QMetaObject.constructorCount() -> 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, "QMetaObject.indexOfConstructor(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, "QMetaObject.constructor(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;
}


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

    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 (sipIsPyOwned(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_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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QMetaObject = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMetaObject,
        {0}
    },
    {
        sipNameNr_QMetaObject,
        {0, 0, 1},
        29, methods_QMetaObject,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMetaObject,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QMetaObject,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectcleanuphandler.sip"
#include <qobjectcleanuphandler.h>
#line 90945 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 90949 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 90952 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 90955 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 90958 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 90961 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 90964 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 90967 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 90970 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 90973 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 90976 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 90979 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 90982 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 90985 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 90988 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 90991 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 90994 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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:
    sipQObjectCleanupHandler(const sipQObjectCleanupHandler &);
    sipQObjectCleanupHandler &operator = (const sipQObjectCleanupHandler &);

    char sipPyMethods[7];
};

sipQObjectCleanupHandler::sipQObjectCleanupHandler(): QObjectCleanupHandler(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipQObjectCleanupHandler::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QObjectCleanupHandler);
}

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));
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(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_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return 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, "QObjectCleanupHandler.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 91289 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QObjectCleanupHandler.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 91348 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QObjectCleanupHandler.timerEvent(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 || sipIsDerived((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, "QObjectCleanupHandler.childEvent(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 || sipIsDerived((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, "QObjectCleanupHandler.customEvent(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 || sipIsDerived((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, "QObjectCleanupHandler.connectNotify(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 || sipIsDerived((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, "QObjectCleanupHandler.disconnectNotify(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 || sipIsDerived((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, "QObjectCleanupHandler.senderSignalIndex() -> 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, "QObjectCleanupHandler.isSignalConnected(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, "QObjectCleanupHandler.add(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, "QObjectCleanupHandler.remove(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, "QObjectCleanupHandler.isEmpty() -> 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, "QObjectCleanupHandler.clear()");

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 superclass hierarchy. */
extern "C" {static void *cast_QObjectCleanupHandler(void *, const sipTypeDef *);}
static void *cast_QObjectCleanupHandler(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QObjectCleanupHandler)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QObjectCleanupHandler *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQObjectCleanupHandler *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{162, 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()");


pyqt5ClassTypeDef sipTypeDef_QtCore_QObjectCleanupHandler = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QObjectCleanupHandler,
        {0}
    },
    {
        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
},
    &QObjectCleanupHandler::staticMetaObject,
    0,
    0,
    0
};

#line 678 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 91814 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 91818 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QSignalBlocker_reblock, "QSignalBlocker.reblock()");

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, "QSignalBlocker.unblock()");

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__, "QSignalBlocker.__enter__() -> 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 688 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
        // Just return a reference to self.
        sipRes = sipSelf;
        Py_INCREF(sipRes);
#line 91891 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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__, "QSignalBlocker.__exit__(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 695 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
        sipCpp->unblock();
#line 91921 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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;
}


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

    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 (sipIsPyOwned(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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QSignalBlocker = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NONLAZY|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSignalBlocker,
        {0}
    },
    {
        sipNameNr_QSignalBlocker,
        {0, 0, 1},
        4, methods_QSignalBlocker,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSignalBlocker,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QSignalBlocker,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 54 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmutex.sip"
#include <qmutex.h>
#line 92051 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"



PyDoc_STRVAR(doc_QMutex_lock, "QMutex.lock()");

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, "QMutex.tryLock(int timeout=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, "QMutex.unlock()");

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, "QMutex.isRecursive() -> bool");

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

    {
        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;
}


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

    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 (sipIsPyOwned(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), 160},
    {sipName_Recursive, static_cast<int>(QMutex::Recursive), 160},
};

PyDoc_STRVAR(doc_QMutex, "\1QMutex(QMutex.RecursionMode mode=QMutex.NonRecursive)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QMutex = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMutex,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QMutex,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmutex.sip"
#include <qmutex.h>
#line 92297 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 54 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmutex.sip"
#include <qmutex.h>
#line 92301 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QMutexLocker_unlock, "QMutexLocker.unlock()");

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, "QMutexLocker.relock()");

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, "QMutexLocker.mutex() -> 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__, "QMutexLocker.__enter__() -> 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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmutex.sip"
        // Just return a reference to self.
        sipRes = sipSelf;
        Py_INCREF(sipRes);
#line 92403 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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__, "QMutexLocker.__exit__(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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmutex.sip"
        sipCpp->unlock();
#line 92433 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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;
}


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

    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 (sipIsPyOwned(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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QMutexLocker = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NONLAZY|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMutexLocker,
        {0}
    },
    {
        sipNameNr_QMutexLocker,
        {0, 0, 1},
        5, methods_QMutexLocker,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMutexLocker,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QMutexLocker,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmimetype.sip"
#include <qmimetype.h>
#line 92566 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 92570 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 92573 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QMimeType_swap, "QMimeType.swap(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, "QMimeType.isValid() -> 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, "QMimeType.isDefault() -> 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, "QMimeType.name() -> 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, "QMimeType.comment() -> 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, "QMimeType.genericIconName() -> 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, "QMimeType.iconName() -> 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, "QMimeType.globPatterns() -> list-of-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, "QMimeType.parentMimeTypes() -> list-of-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, "QMimeType.allAncestors() -> list-of-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, "QMimeType.aliases() -> list-of-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, "QMimeType.suffixes() -> list-of-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, "QMimeType.preferredSuffix() -> 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, "QMimeType.inherits(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, "QMimeType.filterString() -> 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 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);
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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___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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QMimeType = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMimeType,
        {0}
    },
    {
        sipNameNr_QMimeType,
        {0, 0, 1},
        15, methods_QMimeType,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMimeType,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QMimeType,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmimedatabase.sip"
#include <qmimedatabase.h>
#line 93214 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 93218 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmimetype.sip"
#include <qmimetype.h>
#line 93221 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 93224 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 93227 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 93230 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 93233 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 93236 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QMimeDatabase_mimeTypeForName, "QMimeDatabase.mimeTypeForName(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, "QMimeDatabase.mimeTypeForFile(str, QMimeDatabase.MatchMode mode=QMimeDatabase.MatchDefault) -> QMimeType\n"
    "QMimeDatabase.mimeTypeForFile(QFileInfo, QMimeDatabase.MatchMode mode=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, "QMimeDatabase.mimeTypesForFileName(str) -> list-of-QMimeType");

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, "QMimeDatabase.mimeTypeForData(QByteArray) -> QMimeType\n"
    "QMimeDatabase.mimeTypeForData(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, "QMimeDatabase.mimeTypeForUrl(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, "QMimeDatabase.mimeTypeForFileNameAndData(str, QIODevice) -> QMimeType\n"
    "QMimeDatabase.mimeTypeForFileNameAndData(str, QByteArray) -> 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, "QMimeDatabase.suffixForFileName(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, "QMimeDatabase.allMimeTypes() -> list-of-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;
}


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

    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 (sipIsPyOwned(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), 156},
    {sipName_MatchDefault, static_cast<int>(QMimeDatabase::MatchDefault), 156},
    {sipName_MatchExtension, static_cast<int>(QMimeDatabase::MatchExtension), 156},
};

PyDoc_STRVAR(doc_QMimeDatabase, "\1QMimeDatabase()");


pyqt5ClassTypeDef sipTypeDef_QtCore_QMimeDatabase = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMimeDatabase,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QMimeDatabase,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 93661 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 93665 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 93668 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 93671 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 93674 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 93677 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 93680 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 93683 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 93686 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 93689 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 93692 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 93695 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 93698 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 93701 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 93704 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 93707 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 93710 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 93713 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 93716 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 93719 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QVariant retrieveData(const QString&,QVariant::Type) const;
    QStringList formats() const;
    bool hasFormat(const QString&) const;

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQMimeData::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QMimeData);
}

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));
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

QVariant sipQMimeData::retrieveData(const QString& a0,QVariant::Type a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QMimeData::retrieveData(a0,a1);

    extern QVariant sipVH_QtCore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,QVariant::Type);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_48(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[8]),sipPySelf,NULL,sipName_formats);

    if (!sipMeth)
        return QMimeData::formats();

    extern QStringList sipVH_QtCore_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_27(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[9]),sipPySelf,NULL,sipName_hasFormat);

    if (!sipMeth)
        return QMimeData::hasFormat(a0);

    extern bool sipVH_QtCore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_49(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, "QMimeData.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 94071 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QMimeData.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 94130 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QMimeData.timerEvent(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 || sipIsDerived((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, "QMimeData.childEvent(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 || sipIsDerived((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, "QMimeData.customEvent(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 || sipIsDerived((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, "QMimeData.connectNotify(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 || sipIsDerived((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, "QMimeData.disconnectNotify(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 || sipIsDerived((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, "QMimeData.senderSignalIndex() -> 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, "QMimeData.isSignalConnected(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, "QMimeData.urls() -> list-of-QUrl");

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, "QMimeData.setUrls(list-of-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, "QMimeData.hasUrls() -> 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, "QMimeData.text() -> 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, "QMimeData.setText(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, "QMimeData.hasText() -> 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, "QMimeData.html() -> 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, "QMimeData.setHtml(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, "QMimeData.hasHtml() -> 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, "QMimeData.imageData() -> QVariant");

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, "QMimeData.setImageData(QVariant)");

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, "QMimeData.hasImage() -> 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, "QMimeData.colorData() -> QVariant");

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, "QMimeData.setColorData(QVariant)");

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, "QMimeData.hasColor() -> 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, "QMimeData.data(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, "QMimeData.setData(str, QByteArray)");

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, "QMimeData.hasFormat(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 || sipIsDerived((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, "QMimeData.formats() -> list-of-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 || sipIsDerived((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, "QMimeData.clear()");

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, "QMimeData.removeFormat(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, "QMimeData.retrieveData(str, QVariant.Type) -> QVariant");

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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QMimeData(void *, const sipTypeDef *);}
static void *cast_QMimeData(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QMimeData)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QMimeData *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQMimeData *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{162, 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()");


pyqt5ClassTypeDef sipTypeDef_QtCore_QMimeData = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMimeData,
        {0}
    },
    {
        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
},
    &QMimeData::staticMetaObject,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetatype.sip"
#include <qmetatype.h>
#line 95129 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetatype.sip"
#include <qmetatype.h>
#line 95133 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMetaType::TypeFlags::Int() != 0);
#line 95151 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMetaType::TypeFlags::Int() != a0->operator QMetaType::TypeFlags::Int());
#line 95181 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMetaType::TypeFlags::Int() == a0->operator QMetaType::TypeFlags::Int());
#line 95217 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QMetaType_TypeFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QMetaType::TypeFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QMetaType_TypeFlags, &a0, &a0State, &a1))
        {
            QMetaType::TypeFlags*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QMetaType::TypeFlags(*a0 ^ a1);
#line 95320 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QMetaType_TypeFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QMetaType::TypeFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QMetaType_TypeFlags, &a0, &a0State, &a1))
        {
            QMetaType::TypeFlags*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QMetaType::TypeFlags(*a0 | a1);
#line 95370 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        QMetaType::TypeFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QMetaType_TypeFlags, &a0, &a0State))
        {
            sipCpp->QMetaType::TypeFlags::operator^=(*a0);
            sipReleaseType(a0,sipType_QMetaType_TypeFlags,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_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;

    {
        QMetaType::TypeFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QMetaType_TypeFlags, &a0, &a0State))
        {
            sipCpp->QMetaType::TypeFlags::operator|=(*a0);
            sipReleaseType(a0,sipType_QMetaType_TypeFlags,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_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;
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QMetaType::TypeFlags(a0);

            return sipCpp;
        }
    }

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

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 95647 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QMetaType_TypeFlags[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QMetaType_TypeFlags___and__, and_slot},
    {(void *)slot_QMetaType_TypeFlags___xor__, xor_slot},
    {(void *)slot_QMetaType_TypeFlags___or__, or_slot},
    {(void *)slot_QMetaType_TypeFlags___int__, int_slot},
    {(void *)slot_QMetaType_TypeFlags___ixor__, ixor_slot},
    {(void *)slot_QMetaType_TypeFlags___ior__, ior_slot},
    {(void *)slot_QMetaType_TypeFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QMetaType_TypeFlags, "\1QMetaType.TypeFlags(QMetaType.TypeFlags)\n"
    "QMetaType.TypeFlags(int)\n"
    "QMetaType.TypeFlags()");


pyqt5ClassTypeDef sipTypeDef_QtCore_QMetaType_TypeFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMetaType__TypeFlags,
        {0}
    },
    {
        sipNameNr_TypeFlags,
        {150, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMetaType_TypeFlags,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QMetaType_TypeFlags,
    convertTo_QMetaType_TypeFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetatype.sip"
#include <qmetatype.h>
#line 95729 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 95733 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetatype.sip"
#include <qmetatype.h>
#line 95736 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QMetaType_type, "QMetaType.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, "QMetaType.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, "QMetaType.isRegistered(int) -> bool\n"
    "QMetaType.isRegistered() -> 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, "QMetaType.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_isValid, "QMetaType.isValid() -> 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_flags, "QMetaType.flags() -> 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_metaObjectForType, "QMetaType.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;
}


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

    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 (sipIsPyOwned(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), 151},
    {sipName_Char, static_cast<int>(QMetaType::Char), 151},
    {sipName_Double, static_cast<int>(QMetaType::Double), 151},
    {sipName_FirstGuiType, static_cast<int>(QMetaType::FirstGuiType), 151},
    {sipName_Float, static_cast<int>(QMetaType::Float), 151},
    {sipName_Int, static_cast<int>(QMetaType::Int), 151},
    {sipName_LastCoreType, static_cast<int>(QMetaType::LastCoreType), 151},
    {sipName_Long, static_cast<int>(QMetaType::Long), 151},
    {sipName_LongLong, static_cast<int>(QMetaType::LongLong), 151},
    {sipName_MovableType, static_cast<int>(QMetaType::MovableType), 152},
    {sipName_NeedsConstruction, static_cast<int>(QMetaType::NeedsConstruction), 152},
    {sipName_NeedsDestruction, static_cast<int>(QMetaType::NeedsDestruction), 152},
    {sipName_QBitArray, static_cast<int>(QMetaType::QBitArray), 151},
    {sipName_QBitmap, static_cast<int>(QMetaType::QBitmap), 151},
    {sipName_QBrush, static_cast<int>(QMetaType::QBrush), 151},
    {sipName_QByteArray, static_cast<int>(QMetaType::QByteArray), 151},
    {sipName_QByteArrayList, static_cast<int>(QMetaType::QByteArrayList), 151},
    {sipName_QChar, static_cast<int>(QMetaType::QChar), 151},
    {sipName_QColor, static_cast<int>(QMetaType::QColor), 151},
    {sipName_QCursor, static_cast<int>(QMetaType::QCursor), 151},
    {sipName_QDate, static_cast<int>(QMetaType::QDate), 151},
    {sipName_QDateTime, static_cast<int>(QMetaType::QDateTime), 151},
    {sipName_QEasingCurve, static_cast<int>(QMetaType::QEasingCurve), 151},
    {sipName_QFont, static_cast<int>(QMetaType::QFont), 151},
    {sipName_QIcon, static_cast<int>(QMetaType::QIcon), 151},
    {sipName_QImage, static_cast<int>(QMetaType::QImage), 151},
    {sipName_QJsonArray, static_cast<int>(QMetaType::QJsonArray), 151},
    {sipName_QJsonDocument, static_cast<int>(QMetaType::QJsonDocument), 151},
    {sipName_QJsonObject, static_cast<int>(QMetaType::QJsonObject), 151},
    {sipName_QJsonValue, static_cast<int>(QMetaType::QJsonValue), 151},
    {sipName_QKeySequence, static_cast<int>(QMetaType::QKeySequence), 151},
    {sipName_QLine, static_cast<int>(QMetaType::QLine), 151},
    {sipName_QLineF, static_cast<int>(QMetaType::QLineF), 151},
    {sipName_QLocale, static_cast<int>(QMetaType::QLocale), 151},
    {sipName_QMatrix, static_cast<int>(QMetaType::QMatrix), 151},
    {sipName_QMatrix4x4, static_cast<int>(QMetaType::QMatrix4x4), 151},
    {sipName_QModelIndex, static_cast<int>(QMetaType::QModelIndex), 151},
    {sipName_QObjectStar, static_cast<int>(QMetaType::QObjectStar), 151},
    {sipName_QPalette, static_cast<int>(QMetaType::QPalette), 151},
    {sipName_QPen, static_cast<int>(QMetaType::QPen), 151},
    {sipName_QPixmap, static_cast<int>(QMetaType::QPixmap), 151},
    {sipName_QPoint, static_cast<int>(QMetaType::QPoint), 151},
    {sipName_QPointF, static_cast<int>(QMetaType::QPointF), 151},
    {sipName_QPolygon, static_cast<int>(QMetaType::QPolygon), 151},
    {sipName_QPolygonF, static_cast<int>(QMetaType::QPolygonF), 151},
    {sipName_QQuaternion, static_cast<int>(QMetaType::QQuaternion), 151},
    {sipName_QRect, static_cast<int>(QMetaType::QRect), 151},
    {sipName_QRectF, static_cast<int>(QMetaType::QRectF), 151},
    {sipName_QRegExp, static_cast<int>(QMetaType::QRegExp), 151},
    {sipName_QRegion, static_cast<int>(QMetaType::QRegion), 151},
    {sipName_QRegularExpression, static_cast<int>(QMetaType::QRegularExpression), 151},
    {sipName_QSize, static_cast<int>(QMetaType::QSize), 151},
    {sipName_QSizeF, static_cast<int>(QMetaType::QSizeF), 151},
    {sipName_QSizePolicy, static_cast<int>(QMetaType::QSizePolicy), 151},
    {sipName_QString, static_cast<int>(QMetaType::QString), 151},
    {sipName_QStringList, static_cast<int>(QMetaType::QStringList), 151},
    {sipName_QTextFormat, static_cast<int>(QMetaType::QTextFormat), 151},
    {sipName_QTextLength, static_cast<int>(QMetaType::QTextLength), 151},
    {sipName_QTime, static_cast<int>(QMetaType::QTime), 151},
    {sipName_QTransform, static_cast<int>(QMetaType::QTransform), 151},
    {sipName_QUrl, static_cast<int>(QMetaType::QUrl), 151},
    {sipName_QUuid, static_cast<int>(QMetaType::QUuid), 151},
    {sipName_QVariant, static_cast<int>(QMetaType::QVariant), 151},
    {sipName_QVariantHash, static_cast<int>(QMetaType::QVariantHash), 151},
    {sipName_QVariantList, static_cast<int>(QMetaType::QVariantList), 151},
    {sipName_QVariantMap, static_cast<int>(QMetaType::QVariantMap), 151},
    {sipName_QVector2D, static_cast<int>(QMetaType::QVector2D), 151},
    {sipName_QVector3D, static_cast<int>(QMetaType::QVector3D), 151},
    {sipName_QVector4D, static_cast<int>(QMetaType::QVector4D), 151},
    {sipName_SChar, static_cast<int>(QMetaType::SChar), 151},
    {sipName_Short, static_cast<int>(QMetaType::Short), 151},
    {sipName_UChar, static_cast<int>(QMetaType::UChar), 151},
    {sipName_UInt, static_cast<int>(QMetaType::UInt), 151},
    {sipName_ULong, static_cast<int>(QMetaType::ULong), 151},
    {sipName_ULongLong, static_cast<int>(QMetaType::ULongLong), 151},
    {sipName_UShort, static_cast<int>(QMetaType::UShort), 151},
    {sipName_UnknownType, static_cast<int>(QMetaType::UnknownType), 151},
    {sipName_User, static_cast<int>(QMetaType::User), 151},
    {sipName_Void, static_cast<int>(QMetaType::Void), 151},
    {sipName_VoidStar, static_cast<int>(QMetaType::VoidStar), 151},
};

PyDoc_STRVAR(doc_QMetaType, "\1QMetaType(int)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QMetaType = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMetaType,
        {0}
    },
    {
        sipNameNr_QMetaType,
        {0, 0, 1},
        7, methods_QMetaType,
        80, enummembers_QMetaType,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMetaType,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QMetaType,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 202 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 96152 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"



PyDoc_STRVAR(doc_QMetaClassInfo_name, "QMetaClassInfo.name() -> 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, "QMetaClassInfo.value() -> 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;
}


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

    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 (sipIsPyOwned(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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QMetaClassInfo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMetaClassInfo,
        {0}
    },
    {
        sipNameNr_QMetaClassInfo,
        {0, 0, 1},
        2, methods_QMetaClassInfo,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMetaClassInfo,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QMetaClassInfo,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 167 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 96367 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 96371 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 96374 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 96377 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 146 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 96380 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QMetaProperty_name, "QMetaProperty.name() -> 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, "QMetaProperty.typeName() -> 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, "QMetaProperty.type() -> 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, "QMetaProperty.isReadable() -> 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, "QMetaProperty.isWritable() -> 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, "QMetaProperty.isDesignable(QObject object=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, "QMetaProperty.isScriptable(QObject object=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, "QMetaProperty.isStored(QObject object=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, "QMetaProperty.isFlagType() -> 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, "QMetaProperty.isEnumType() -> 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, "QMetaProperty.enumerator() -> 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, "QMetaProperty.read(QObject) -> QVariant");

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, "QMetaProperty.write(QObject, QVariant) -> 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, "QMetaProperty.reset(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, "QMetaProperty.hasStdCppSet() -> 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, "QMetaProperty.isValid() -> 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, "QMetaProperty.isResettable() -> 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, "QMetaProperty.isUser(QObject object=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, "QMetaProperty.userType() -> 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, "QMetaProperty.hasNotifySignal() -> 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, "QMetaProperty.notifySignal() -> 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, "QMetaProperty.notifySignalIndex() -> 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, "QMetaProperty.propertyIndex() -> 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, "QMetaProperty.isConstant() -> 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, "QMetaProperty.isFinal() -> 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;
}


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

    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 (sipIsPyOwned(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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QMetaProperty = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMetaProperty,
        {0}
    },
    {
        sipNameNr_QMetaProperty,
        {0, 0, 1},
        25, methods_QMetaProperty,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMetaProperty,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QMetaProperty,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 146 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 97264 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 97268 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QMetaEnum_name, "QMetaEnum.name() -> 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, "QMetaEnum.isFlag() -> 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, "QMetaEnum.keyCount() -> 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, "QMetaEnum.key(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, "QMetaEnum.value(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, "QMetaEnum.scope() -> 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, "QMetaEnum.keyToValue(str) -> (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, "QMetaEnum.valueToKey(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, "QMetaEnum.keysToValue(str) -> (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, "QMetaEnum.valueToKeys(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, "QMetaEnum.isValid() -> 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;
}


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

    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 (sipIsPyOwned(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_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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QMetaEnum = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMetaEnum,
        {0}
    },
    {
        sipNameNr_QMetaEnum,
        {0, 0, 1},
        11, methods_QMetaEnum,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMetaEnum,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QMetaEnum,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 97766 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 97770 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 97773 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 97776 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 159 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 97779 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 142 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 97782 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 97785 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 97792 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QMetaMethod_typeName, "QMetaMethod.typeName() -> 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, "QMetaMethod.parameterTypes() -> list-of-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, "QMetaMethod.parameterNames() -> list-of-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, "QMetaMethod.tag() -> 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, "QMetaMethod.access() -> 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, "QMetaMethod.methodType() -> 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, "QMetaMethod.invoke(QObject, Qt.ConnectionType, QGenericReturnArgument, QGenericArgument value0=QGenericArgument(0,0), QGenericArgument value1=QGenericArgument(0,0), QGenericArgument value2=QGenericArgument(0,0), QGenericArgument value3=QGenericArgument(0,0), QGenericArgument value4=QGenericArgument(0,0), QGenericArgument value5=QGenericArgument(0,0), QGenericArgument value6=QGenericArgument(0,0), QGenericArgument value7=QGenericArgument(0,0), QGenericArgument value8=QGenericArgument(0,0), QGenericArgument value9=QGenericArgument(0,0)) -> object\n"
    "QMetaMethod.invoke(QObject, QGenericReturnArgument, QGenericArgument value0=QGenericArgument(0,0), QGenericArgument value1=QGenericArgument(0,0), QGenericArgument value2=QGenericArgument(0,0), QGenericArgument value3=QGenericArgument(0,0), QGenericArgument value4=QGenericArgument(0,0), QGenericArgument value5=QGenericArgument(0,0), QGenericArgument value6=QGenericArgument(0,0), QGenericArgument value7=QGenericArgument(0,0), QGenericArgument value8=QGenericArgument(0,0), QGenericArgument value9=QGenericArgument(0,0)) -> object\n"
    "QMetaMethod.invoke(QObject, Qt.ConnectionType, QGenericArgument value0=QGenericArgument(0,0), QGenericArgument value1=QGenericArgument(0,0), QGenericArgument value2=QGenericArgument(0,0), QGenericArgument value3=QGenericArgument(0,0), QGenericArgument value4=QGenericArgument(0,0), QGenericArgument value5=QGenericArgument(0,0), QGenericArgument value6=QGenericArgument(0,0), QGenericArgument value7=QGenericArgument(0,0), QGenericArgument value8=QGenericArgument(0,0), QGenericArgument value9=QGenericArgument(0,0)) -> object\n"
    "QMetaMethod.invoke(QObject, QGenericArgument value0=QGenericArgument(0,0), QGenericArgument value1=QGenericArgument(0,0), QGenericArgument value2=QGenericArgument(0,0), QGenericArgument value3=QGenericArgument(0,0), QGenericArgument value4=QGenericArgument(0,0), QGenericArgument value5=QGenericArgument(0,0), QGenericArgument value6=QGenericArgument(0,0), QGenericArgument value7=QGenericArgument(0,0), QGenericArgument value8=QGenericArgument(0,0), QGenericArgument value9=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 68 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 98039 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 84 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 98103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 98168 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 118 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 98231 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QMetaMethod.methodIndex() -> 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, "QMetaMethod.isValid() -> 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, "QMetaMethod.methodSignature() -> 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, "QMetaMethod.name() -> 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, "QMetaMethod.returnType() -> 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, "QMetaMethod.parameterCount() -> 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, "QMetaMethod.parameterType(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);
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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), 147},
    {sipName_Method, static_cast<int>(QMetaMethod::Method), 147},
    {sipName_Private, static_cast<int>(QMetaMethod::Private), 146},
    {sipName_Protected, static_cast<int>(QMetaMethod::Protected), 146},
    {sipName_Public, static_cast<int>(QMetaMethod::Public), 146},
    {sipName_Signal, static_cast<int>(QMetaMethod::Signal), 147},
    {sipName_Slot, static_cast<int>(QMetaMethod::Slot), 147},
};

PyDoc_STRVAR(doc_QMetaMethod, "\1QMetaMethod()\n"
    "QMetaMethod(QMetaMethod)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QMetaMethod = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMetaMethod,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QMetaMethod,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmessageauthenticationcode.sip"
#include <qmessageauthenticationcode.h>
#line 98673 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcryptographichash.sip"
#include <qcryptographichash.h>
#line 98677 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 98680 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 98683 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QMessageAuthenticationCode_reset, "QMessageAuthenticationCode.reset()");

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, "QMessageAuthenticationCode.setKey(QByteArray)");

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, "QMessageAuthenticationCode.addData(str, int)\n"
    "QMessageAuthenticationCode.addData(QByteArray)\n"
    "QMessageAuthenticationCode.addData(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, "QMessageAuthenticationCode.result() -> 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, "QMessageAuthenticationCode.hash(QByteArray, QByteArray, 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;
}


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

    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 (sipIsPyOwned(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, QByteArray key=QByteArray())");


pyqt5ClassTypeDef sipTypeDef_QtCore_QMessageAuthenticationCode = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMessageAuthenticationCode,
        {0}
    },
    {
        sipNameNr_QMessageAuthenticationCode,
        {0, 0, 1},
        5, methods_QMessageAuthenticationCode,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMessageAuthenticationCode,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QMessageAuthenticationCode,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 98988 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 98992 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 165 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 98995 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QMarginsF_isNull, "QMarginsF.isNull() -> 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, "QMarginsF.left() -> 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, "QMarginsF.top() -> 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, "QMarginsF.right() -> 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, "QMarginsF.bottom() -> 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, "QMarginsF.setLeft(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, "QMarginsF.setTop(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, "QMarginsF.setRight(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, "QMarginsF.setBottom(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, "QMarginsF.toMargins() -> 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;
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QMarginsF = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMarginsF,
        {0}
    },
    {
        sipNameNr_QMarginsF,
        {0, 0, 1},
        10, methods_QMarginsF,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMarginsF,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QMarginsF,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 99942 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 99946 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QMargins_isNull, "QMargins.isNull() -> 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, "QMargins.left() -> 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, "QMargins.top() -> 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, "QMargins.right() -> 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, "QMargins.bottom() -> 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, "QMargins.setLeft(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, "QMargins.setTop(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, "QMargins.setRight(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, "QMargins.setBottom(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;
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QMargins = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMargins,
        {0}
    },
    {
        sipNameNr_QMargins,
        {0, 0, 1},
        9, methods_QMargins,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMargins,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QMargins,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 54 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlogging.sip"
#include <qlogging.h>
#line 100891 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"



PyDoc_STRVAR(doc_QMessageLogger_debug, "QMessageLogger.debug(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 65 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlogging.sip"
        Py_BEGIN_ALLOW_THREADS
        sipCpp->debug("%s", a0);
        Py_END_ALLOW_THREADS
#line 100913 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QMessageLogger.warning(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 72 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlogging.sip"
        Py_BEGIN_ALLOW_THREADS
        sipCpp->warning("%s", a0);
        Py_END_ALLOW_THREADS
#line 100946 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QMessageLogger.critical(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 79 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlogging.sip"
        Py_BEGIN_ALLOW_THREADS
        sipCpp->critical("%s", a0);
        Py_END_ALLOW_THREADS
#line 100979 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QMessageLogger.fatal(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 86 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlogging.sip"
        Py_BEGIN_ALLOW_THREADS
        sipCpp->fatal("%s", a0);
        Py_END_ALLOW_THREADS
#line 101012 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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;
}


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

    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 (sipIsPyOwned(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_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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QMessageLogger = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMessageLogger,
        {0}
    },
    {
        sipNameNr_QMessageLogger,
        {0, 0, 1},
        4, methods_QMessageLogger,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMessageLogger,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QMessageLogger,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 39 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlogging.sip"
#include <qlogging.h>
#line 101180 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"



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

    return NULL;
}


/* 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 (sipIsPyOwned(sipSelf))
    {
        release_QMessageLogContext(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static PyObject *varget_QMessageLogContext_category(void *, PyObject *, PyObject *);}
static PyObject *varget_QMessageLogContext_category(void *sipSelf, PyObject *, PyObject *)
{
    const char*sipVal;
    QMessageLogContext *sipCpp = reinterpret_cast<QMessageLogContext *>(sipSelf);

    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, -15, sipPy);

    return 0;
}


extern "C" {static PyObject *varget_QMessageLogContext_file(void *, PyObject *, PyObject *);}
static PyObject *varget_QMessageLogContext_file(void *sipSelf, PyObject *, PyObject *)
{
    const char*sipVal;
    QMessageLogContext *sipCpp = reinterpret_cast<QMessageLogContext *>(sipSelf);

    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, -16, sipPy);

    return 0;
}


extern "C" {static PyObject *varget_QMessageLogContext_function(void *, PyObject *, PyObject *);}
static PyObject *varget_QMessageLogContext_function(void *sipSelf, PyObject *, PyObject *)
{
    const char*sipVal;
    QMessageLogContext *sipCpp = reinterpret_cast<QMessageLogContext *>(sipSelf);

    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, -17, 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},
};


pyqt5ClassTypeDef sipTypeDef_QtCore_QMessageLogContext = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMessageLogContext,
        {0}
    },
    {
        sipNameNr_QMessageLogContext,
        {0, 0, 1},
        0, 0,
        0, 0,
        4, variables_QMessageLogContext,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QMessageLogContext,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlockfile.sip"
#include <qlockfile.h>
#line 101416 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 101420 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QLockFile_lock, "QLockFile.lock() -> 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, "QLockFile.tryLock(int timeout=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, "QLockFile.unlock()");

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, "QLockFile.setStaleLockTime(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, "QLockFile.staleLockTime() -> 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, "QLockFile.isLocked() -> 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, "QLockFile.getLockInfo() -> (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, "QLockFile.removeStaleLockFile() -> 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, "QLockFile.error() -> 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;
}


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

    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 (sipIsPyOwned(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), 135},
    {sipName_NoError, static_cast<int>(QLockFile::NoError), 135},
    {sipName_PermissionError, static_cast<int>(QLockFile::PermissionError), 135},
    {sipName_UnknownError, static_cast<int>(QLockFile::UnknownError), 135},
};

PyDoc_STRVAR(doc_QLockFile, "\1QLockFile(str)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QLockFile = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QLockFile,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QLockFile,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 101815 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 101819 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QLocale::NumberOptions::Int() != 0);
#line 101837 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QLocale::NumberOptions::Int() != a0->operator QLocale::NumberOptions::Int());
#line 101867 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QLocale::NumberOptions::Int() == a0->operator QLocale::NumberOptions::Int());
#line 101903 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QLocale_NumberOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QLocale::NumberOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QLocale_NumberOptions, &a0, &a0State, &a1))
        {
            QLocale::NumberOptions*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QLocale::NumberOptions(*a0 ^ a1);
#line 102006 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QLocale_NumberOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QLocale::NumberOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QLocale_NumberOptions, &a0, &a0State, &a1))
        {
            QLocale::NumberOptions*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QLocale::NumberOptions(*a0 | a1);
#line 102056 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        QLocale::NumberOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QLocale_NumberOptions, &a0, &a0State))
        {
            sipCpp->QLocale::NumberOptions::operator^=(*a0);
            sipReleaseType(a0,sipType_QLocale_NumberOptions,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_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;

    {
        QLocale::NumberOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QLocale_NumberOptions, &a0, &a0State))
        {
            sipCpp->QLocale::NumberOptions::operator|=(*a0);
            sipReleaseType(a0,sipType_QLocale_NumberOptions,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_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;
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QLocale::NumberOptions(a0);

            return sipCpp;
        }
    }

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

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 102333 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QLocale_NumberOptions[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QLocale_NumberOptions___and__, and_slot},
    {(void *)slot_QLocale_NumberOptions___xor__, xor_slot},
    {(void *)slot_QLocale_NumberOptions___or__, or_slot},
    {(void *)slot_QLocale_NumberOptions___int__, int_slot},
    {(void *)slot_QLocale_NumberOptions___ixor__, ixor_slot},
    {(void *)slot_QLocale_NumberOptions___ior__, ior_slot},
    {(void *)slot_QLocale_NumberOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QLocale_NumberOptions, "\1QLocale.NumberOptions(QLocale.NumberOptions)\n"
    "QLocale.NumberOptions(int)\n"
    "QLocale.NumberOptions()");


pyqt5ClassTypeDef sipTypeDef_QtCore_QLocale_NumberOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QLocale__NumberOptions,
        {0}
    },
    {
        sipNameNr_NumberOptions,
        {124, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QLocale_NumberOptions,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QLocale_NumberOptions,
    convertTo_QLocale_NumberOptions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 102415 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 102419 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 102422 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 102425 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 833 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <Qt>
#line 102428 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 102431 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 102434 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 102437 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 299 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 102440 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 157 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 102443 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 102446 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QLocale_language, "QLocale.language() -> 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, "QLocale.country() -> 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, "QLocale.name() -> 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, "QLocale.toShort(str) -> (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, "QLocale.toUShort(str) -> (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, "QLocale.toInt(str) -> (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, "QLocale.toUInt(str) -> (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, "QLocale.toLongLong(str) -> (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, "QLocale.toULongLong(str) -> (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, "QLocale.toFloat(str) -> (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, "QLocale.toDouble(str) -> (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, "QLocale.toString(int) -> str\n"
    "QLocale.toString(float, str format='g', int precision=6) -> str\n"
    "QLocale.toString(int) -> str\n"
    "QLocale.toString(int) -> str\n"
    "QLocale.toString(QDateTime, str) -> str\n"
    "QLocale.toString(QDateTime, QLocale.FormatType format=QLocale.LongFormat) -> str\n"
    "QLocale.toString(QDate, str) -> str\n"
    "QLocale.toString(QDate, QLocale.FormatType format=QLocale.LongFormat) -> str\n"
    "QLocale.toString(QTime, str) -> str\n"
    "QLocale.toString(QTime, QLocale.FormatType format=QLocale.LongFormat) -> 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;

    {
        int a0;
        const QLocale *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BXi", &sipSelf, sipType_QLocale, &sipCpp, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->toString(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,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);
        }
    }

    {
        qlonglong a0;
        const QLocale *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bn", &sipSelf, sipType_QLocale, &sipCpp, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->toString(a0));

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

    {
        qulonglong a0;
        const QLocale *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bo", &sipSelf, sipType_QLocale, &sipCpp, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->toString(a0));

            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);
        }
    }

    /* 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, "QLocale.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, "QLocale.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, "QLocale.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, "QLocale.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, "QLocale.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, "QLocale.dateFormat(QLocale.FormatType format=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, "QLocale.timeFormat(QLocale.FormatType format=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, "QLocale.dateTimeFormat(QLocale.FormatType format=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, "QLocale.toDate(str, QLocale.FormatType format=QLocale.LongFormat) -> QDate\n"
    "QLocale.toDate(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, "QLocale.toTime(str, QLocale.FormatType format=QLocale.LongFormat) -> QTime\n"
    "QLocale.toTime(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, "QLocale.toDateTime(str, QLocale.FormatType format=QLocale.LongFormat) -> QDateTime\n"
    "QLocale.toDateTime(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, "QLocale.decimalPoint() -> 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, "QLocale.groupSeparator() -> 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, "QLocale.percent() -> 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, "QLocale.zeroDigit() -> 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, "QLocale.negativeSign() -> 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, "QLocale.exponential() -> 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, "QLocale.monthName(int, QLocale.FormatType format=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, "QLocale.dayName(int, QLocale.FormatType format=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, "QLocale.setNumberOptions(QLocale.NumberOptions)");

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, "QLocale.numberOptions() -> 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, "QLocale.measurementSystem() -> 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, "QLocale.positiveSign() -> 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, "QLocale.standaloneMonthName(int, QLocale.FormatType format=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, "QLocale.standaloneDayName(int, QLocale.FormatType format=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, "QLocale.amText() -> 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, "QLocale.pmText() -> 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, "QLocale.textDirection() -> 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, "QLocale.script() -> 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, "QLocale.bcp47Name() -> 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, "QLocale.nativeLanguageName() -> 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, "QLocale.nativeCountryName() -> 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, "QLocale.firstDayOfWeek() -> 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, "QLocale.weekdays() -> list-of-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, "QLocale.toUpper(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, "QLocale.toLower(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, "QLocale.currencySymbol(QLocale.CurrencySymbolFormat format=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, "QLocale.toCurrencyString(int, str symbol='') -> str\n"
    "QLocale.toCurrencyString(float, str symbol='') -> str\n"
    "QLocale.toCurrencyString(int, str symbol='') -> str\n"
    "QLocale.toCurrencyString(int, str symbol='') -> 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;

    {
        int 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, "BXi|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& 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);
        }
    }

    {
        qlonglong 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, "Bn|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);
        }
    }

    {
        qulonglong 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, "Bo|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);
        }
    }

    /* 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, "QLocale.uiLanguages() -> list-of-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, "QLocale.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, "QLocale.matchingLocales(QLocale.Language, QLocale.Script, QLocale.Country) -> list-of-QLocale");

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, "QLocale.quoteString(str, QLocale.QuotationStyle style=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, "QLocale.createSeparatedList(list-of-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;
}


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);
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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___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_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), 128},
    {sipName_Afan, static_cast<int>(QLocale::Afan), 128},
    {sipName_Afar, static_cast<int>(QLocale::Afar), 128},
    {sipName_Afghanistan, static_cast<int>(QLocale::Afghanistan), 125},
    {sipName_Afrikaans, static_cast<int>(QLocale::Afrikaans), 128},
    {sipName_Aghem, static_cast<int>(QLocale::Aghem), 128},
    {sipName_Akan, static_cast<int>(QLocale::Akan), 128},
    {sipName_Akkadian, static_cast<int>(QLocale::Akkadian), 128},
    {sipName_Akoose, static_cast<int>(QLocale::Akoose), 128},
    {sipName_AlandIslands, static_cast<int>(QLocale::AlandIslands), 125},
    {sipName_Albania, static_cast<int>(QLocale::Albania), 125},
    {sipName_Albanian, static_cast<int>(QLocale::Albanian), 128},
    {sipName_Algeria, static_cast<int>(QLocale::Algeria), 125},
    {sipName_AlternateQuotation, static_cast<int>(QLocale::AlternateQuotation), 132},
    {sipName_AmericanSamoa, static_cast<int>(QLocale::AmericanSamoa), 125},
    {sipName_Amharic, static_cast<int>(QLocale::Amharic), 128},
    {sipName_AncientEgyptian, static_cast<int>(QLocale::AncientEgyptian), 128},
    {sipName_AncientGreek, static_cast<int>(QLocale::AncientGreek), 128},
    {sipName_Andorra, static_cast<int>(QLocale::Andorra), 125},
    {sipName_Angola, static_cast<int>(QLocale::Angola), 125},
    {sipName_Anguilla, static_cast<int>(QLocale::Anguilla), 125},
    {sipName_Antarctica, static_cast<int>(QLocale::Antarctica), 125},
    {sipName_AntiguaAndBarbuda, static_cast<int>(QLocale::AntiguaAndBarbuda), 125},
    {sipName_AnyCountry, static_cast<int>(QLocale::AnyCountry), 125},
    {sipName_AnyLanguage, static_cast<int>(QLocale::AnyLanguage), 128},
    {sipName_AnyScript, static_cast<int>(QLocale::AnyScript), 133},
    {sipName_Arabic, static_cast<int>(QLocale::Arabic), 128},
    {sipName_ArabicScript, static_cast<int>(QLocale::ArabicScript), 133},
    {sipName_Aragonese, static_cast<int>(QLocale::Aragonese), 128},
    {sipName_Aramaic, static_cast<int>(QLocale::Aramaic), 128},
    {sipName_Argentina, static_cast<int>(QLocale::Argentina), 125},
    {sipName_Armenia, static_cast<int>(QLocale::Armenia), 125},
    {sipName_Armenian, static_cast<int>(QLocale::Armenian), 128},
    {sipName_ArmenianScript, static_cast<int>(QLocale::ArmenianScript), 133},
    {sipName_Aruba, static_cast<int>(QLocale::Aruba), 125},
    {sipName_AscensionIsland, static_cast<int>(QLocale::AscensionIsland), 125},
    {sipName_Assamese, static_cast<int>(QLocale::Assamese), 128},
    {sipName_Asturian, static_cast<int>(QLocale::Asturian), 128},
    {sipName_Asu, static_cast<int>(QLocale::Asu), 128},
    {sipName_Atsam, static_cast<int>(QLocale::Atsam), 128},
    {sipName_Australia, static_cast<int>(QLocale::Australia), 125},
    {sipName_Austria, static_cast<int>(QLocale::Austria), 125},
    {sipName_Avaric, static_cast<int>(QLocale::Avaric), 128},
    {sipName_Avestan, static_cast<int>(QLocale::Avestan), 128},
    {sipName_AvestanScript, static_cast<int>(QLocale::AvestanScript), 133},
    {sipName_Aymara, static_cast<int>(QLocale::Aymara), 128},
    {sipName_Azerbaijan, static_cast<int>(QLocale::Azerbaijan), 125},
    {sipName_Azerbaijani, static_cast<int>(QLocale::Azerbaijani), 128},
    {sipName_Bafia, static_cast<int>(QLocale::Bafia), 128},
    {sipName_Bahamas, static_cast<int>(QLocale::Bahamas), 125},
    {sipName_Bahrain, static_cast<int>(QLocale::Bahrain), 125},
    {sipName_Balinese, static_cast<int>(QLocale::Balinese), 128},
    {sipName_BalineseScript, static_cast<int>(QLocale::BalineseScript), 133},
    {sipName_Bambara, static_cast<int>(QLocale::Bambara), 128},
    {sipName_BamumScript, static_cast<int>(QLocale::BamumScript), 133},
    {sipName_Bamun, static_cast<int>(QLocale::Bamun), 128},
    {sipName_Bangladesh, static_cast<int>(QLocale::Bangladesh), 125},
    {sipName_Barbados, static_cast<int>(QLocale::Barbados), 125},
    {sipName_Basaa, static_cast<int>(QLocale::Basaa), 128},
    {sipName_Bashkir, static_cast<int>(QLocale::Bashkir), 128},
    {sipName_Basque, static_cast<int>(QLocale::Basque), 128},
    {sipName_BatakScript, static_cast<int>(QLocale::BatakScript), 133},
    {sipName_BatakToba, static_cast<int>(QLocale::BatakToba), 128},
    {sipName_Belarus, static_cast<int>(QLocale::Belarus), 125},
    {sipName_Belarusian, static_cast<int>(QLocale::Belarusian), 128},
    {sipName_Belgium, static_cast<int>(QLocale::Belgium), 125},
    {sipName_Belize, static_cast<int>(QLocale::Belize), 125},
    {sipName_Bemba, static_cast<int>(QLocale::Bemba), 128},
    {sipName_Bena, static_cast<int>(QLocale::Bena), 128},
    {sipName_Bengali, static_cast<int>(QLocale::Bengali), 128},
    {sipName_BengaliScript, static_cast<int>(QLocale::BengaliScript), 133},
    {sipName_Benin, static_cast<int>(QLocale::Benin), 125},
    {sipName_Bermuda, static_cast<int>(QLocale::Bermuda), 125},
    {sipName_Bhutan, static_cast<int>(QLocale::Bhutan), 125},
    {sipName_Bhutani, static_cast<int>(QLocale::Bhutani), 128},
    {sipName_Bihari, static_cast<int>(QLocale::Bihari), 128},
    {sipName_Bislama, static_cast<int>(QLocale::Bislama), 128},
    {sipName_Blin, static_cast<int>(QLocale::Blin), 128},
    {sipName_Bodo, static_cast<int>(QLocale::Bodo), 128},
    {sipName_Bolivia, static_cast<int>(QLocale::Bolivia), 125},
    {sipName_Bonaire, static_cast<int>(QLocale::Bonaire), 125},
    {sipName_BopomofoScript, static_cast<int>(QLocale::BopomofoScript), 133},
    {sipName_BosniaAndHerzegowina, static_cast<int>(QLocale::BosniaAndHerzegowina), 125},
    {sipName_Bosnian, static_cast<int>(QLocale::Bosnian), 128},
    {sipName_Botswana, static_cast<int>(QLocale::Botswana), 125},
    {sipName_BouvetIsland, static_cast<int>(QLocale::BouvetIsland), 125},
    {sipName_BrahmiScript, static_cast<int>(QLocale::BrahmiScript), 133},
    {sipName_BrailleScript, static_cast<int>(QLocale::BrailleScript), 133},
    {sipName_Brazil, static_cast<int>(QLocale::Brazil), 125},
    {sipName_Breton, static_cast<int>(QLocale::Breton), 128},
    {sipName_BritishIndianOceanTerritory, static_cast<int>(QLocale::BritishIndianOceanTerritory), 125},
    {sipName_BritishVirginIslands, static_cast<int>(QLocale::BritishVirginIslands), 125},
    {sipName_Brunei, static_cast<int>(QLocale::Brunei), 125},
    {sipName_Buginese, static_cast<int>(QLocale::Buginese), 128},
    {sipName_BugineseScript, static_cast<int>(QLocale::BugineseScript), 133},
    {sipName_Buhid, static_cast<int>(QLocale::Buhid), 128},
    {sipName_BuhidScript, static_cast<int>(QLocale::BuhidScript), 133},
    {sipName_Bulgaria, static_cast<int>(QLocale::Bulgaria), 125},
    {sipName_Bulgarian, static_cast<int>(QLocale::Bulgarian), 128},
    {sipName_BurkinaFaso, static_cast<int>(QLocale::BurkinaFaso), 125},
    {sipName_Burmese, static_cast<int>(QLocale::Burmese), 128},
    {sipName_Burundi, static_cast<int>(QLocale::Burundi), 125},
    {sipName_Byelorussian, static_cast<int>(QLocale::Byelorussian), 128},
    {sipName_C, static_cast<int>(QLocale::C), 128},
    {sipName_Cambodia, static_cast<int>(QLocale::Cambodia), 125},
    {sipName_Cambodian, static_cast<int>(QLocale::Cambodian), 128},
    {sipName_Cameroon, static_cast<int>(QLocale::Cameroon), 125},
    {sipName_Canada, static_cast<int>(QLocale::Canada), 125},
    {sipName_CanadianAboriginalScript, static_cast<int>(QLocale::CanadianAboriginalScript), 133},
    {sipName_CanaryIslands, static_cast<int>(QLocale::CanaryIslands), 125},
    {sipName_CapeVerde, static_cast<int>(QLocale::CapeVerde), 125},
    {sipName_Carian, static_cast<int>(QLocale::Carian), 128},
    {sipName_CarianScript, static_cast<int>(QLocale::CarianScript), 133},
    {sipName_Catalan, static_cast<int>(QLocale::Catalan), 128},
    {sipName_CaymanIslands, static_cast<int>(QLocale::CaymanIslands), 125},
    {sipName_CentralAfricanRepublic, static_cast<int>(QLocale::CentralAfricanRepublic), 125},
    {sipName_CentralMoroccoTamazight, static_cast<int>(QLocale::CentralMoroccoTamazight), 128},
    {sipName_CeutaAndMelilla, static_cast<int>(QLocale::CeutaAndMelilla), 125},
    {sipName_Chad, static_cast<int>(QLocale::Chad), 125},
    {sipName_Chakma, static_cast<int>(QLocale::Chakma), 128},
    {sipName_ChakmaScript, static_cast<int>(QLocale::ChakmaScript), 133},
    {sipName_ChamScript, static_cast<int>(QLocale::ChamScript), 133},
    {sipName_Chamorro, static_cast<int>(QLocale::Chamorro), 128},
    {sipName_Chechen, static_cast<int>(QLocale::Chechen), 128},
    {sipName_Cherokee, static_cast<int>(QLocale::Cherokee), 128},
    {sipName_CherokeeScript, static_cast<int>(QLocale::CherokeeScript), 133},
    {sipName_Chewa, static_cast<int>(QLocale::Chewa), 128},
    {sipName_Chiga, static_cast<int>(QLocale::Chiga), 128},
    {sipName_Chile, static_cast<int>(QLocale::Chile), 125},
    {sipName_China, static_cast<int>(QLocale::China), 125},
    {sipName_Chinese, static_cast<int>(QLocale::Chinese), 128},
    {sipName_ChristmasIsland, static_cast<int>(QLocale::ChristmasIsland), 125},
    {sipName_Church, static_cast<int>(QLocale::Church), 128},
    {sipName_Chuvash, static_cast<int>(QLocale::Chuvash), 128},
    {sipName_ClassicalMandaic, static_cast<int>(QLocale::ClassicalMandaic), 128},
    {sipName_ClippertonIsland, static_cast<int>(QLocale::ClippertonIsland), 125},
    {sipName_CocosIslands, static_cast<int>(QLocale::CocosIslands), 125},
    {sipName_Colognian, static_cast<int>(QLocale::Colognian), 128},
    {sipName_Colombia, static_cast<int>(QLocale::Colombia), 125},
    {sipName_Comoros, static_cast<int>(QLocale::Comoros), 125},
    {sipName_CongoBrazzaville, static_cast<int>(QLocale::CongoBrazzaville), 125},
    {sipName_CongoKinshasa, static_cast<int>(QLocale::CongoKinshasa), 125},
    {sipName_CongoSwahili, static_cast<int>(QLocale::CongoSwahili), 128},
    {sipName_CookIslands, static_cast<int>(QLocale::CookIslands), 125},
    {sipName_Coptic, static_cast<int>(QLocale::Coptic), 128},
    {sipName_CopticScript, static_cast<int>(QLocale::CopticScript), 133},
    {sipName_Cornish, static_cast<int>(QLocale::Cornish), 128},
    {sipName_Corsican, static_cast<int>(QLocale::Corsican), 128},
    {sipName_CostaRica, static_cast<int>(QLocale::CostaRica), 125},
    {sipName_Cree, static_cast<int>(QLocale::Cree), 128},
    {sipName_Croatia, static_cast<int>(QLocale::Croatia), 125},
    {sipName_Croatian, static_cast<int>(QLocale::Croatian), 128},
    {sipName_Cuba, static_cast<int>(QLocale::Cuba), 125},
    {sipName_CuneiformScript, static_cast<int>(QLocale::CuneiformScript), 133},
    {sipName_CuraSao, static_cast<int>(QLocale::CuraSao), 125},
    {sipName_CurrencyDisplayName, static_cast<int>(QLocale::CurrencyDisplayName), 126},
    {sipName_CurrencyIsoCode, static_cast<int>(QLocale::CurrencyIsoCode), 126},
    {sipName_CurrencySymbol, static_cast<int>(QLocale::CurrencySymbol), 126},
    {sipName_CypriotScript, static_cast<int>(QLocale::CypriotScript), 133},
    {sipName_Cyprus, static_cast<int>(QLocale::Cyprus), 125},
    {sipName_CyrillicScript, static_cast<int>(QLocale::CyrillicScript), 133},
    {sipName_Czech, static_cast<int>(QLocale::Czech), 128},
    {sipName_CzechRepublic, static_cast<int>(QLocale::CzechRepublic), 125},
    {sipName_Danish, static_cast<int>(QLocale::Danish), 128},
    {sipName_DemocraticRepublicOfCongo, static_cast<int>(QLocale::DemocraticRepublicOfCongo), 125},
    {sipName_DemocraticRepublicOfKorea, static_cast<int>(QLocale::DemocraticRepublicOfKorea), 125},
    {sipName_Denmark, static_cast<int>(QLocale::Denmark), 125},
    {sipName_DeseretScript, static_cast<int>(QLocale::DeseretScript), 133},
    {sipName_DevanagariScript, static_cast<int>(QLocale::DevanagariScript), 133},
    {sipName_DiegoGarcia, static_cast<int>(QLocale::DiegoGarcia), 125},
    {sipName_Divehi, static_cast<int>(QLocale::Divehi), 128},
    {sipName_Djibouti, static_cast<int>(QLocale::Djibouti), 125},
    {sipName_Dogri, static_cast<int>(QLocale::Dogri), 128},
    {sipName_Dominica, static_cast<int>(QLocale::Dominica), 125},
    {sipName_DominicanRepublic, static_cast<int>(QLocale::DominicanRepublic), 125},
    {sipName_Duala, static_cast<int>(QLocale::Duala), 128},
    {sipName_Dutch, static_cast<int>(QLocale::Dutch), 128},
    {sipName_Dzongkha, static_cast<int>(QLocale::Dzongkha), 128},
    {sipName_EastTimor, static_cast<int>(QLocale::EastTimor), 125},
    {sipName_EasternCham, static_cast<int>(QLocale::EasternCham), 128},
    {sipName_EasternKayah, static_cast<int>(QLocale::EasternKayah), 128},
    {sipName_Ecuador, static_cast<int>(QLocale::Ecuador), 125},
    {sipName_Egypt, static_cast<int>(QLocale::Egypt), 125},
    {sipName_EgyptianHieroglyphsScript, static_cast<int>(QLocale::EgyptianHieroglyphsScript), 133},
    {sipName_ElSalvador, static_cast<int>(QLocale::ElSalvador), 125},
    {sipName_Embu, static_cast<int>(QLocale::Embu), 128},
    {sipName_English, static_cast<int>(QLocale::English), 128},
    {sipName_EquatorialGuinea, static_cast<int>(QLocale::EquatorialGuinea), 125},
    {sipName_Eritrea, static_cast<int>(QLocale::Eritrea), 125},
    {sipName_Esperanto, static_cast<int>(QLocale::Esperanto), 128},
    {sipName_Estonia, static_cast<int>(QLocale::Estonia), 125},
    {sipName_Estonian, static_cast<int>(QLocale::Estonian), 128},
    {sipName_Ethiopia, static_cast<int>(QLocale::Ethiopia), 125},
    {sipName_EthiopicScript, static_cast<int>(QLocale::EthiopicScript), 133},
    {sipName_Etruscan, static_cast<int>(QLocale::Etruscan), 128},
    {sipName_Ewe, static_cast<int>(QLocale::Ewe), 128},
    {sipName_Ewondo, static_cast<int>(QLocale::Ewondo), 128},
    {sipName_FalklandIslands, static_cast<int>(QLocale::FalklandIslands), 125},
    {sipName_FaroeIslands, static_cast<int>(QLocale::FaroeIslands), 125},
    {sipName_Faroese, static_cast<int>(QLocale::Faroese), 128},
    {sipName_Fiji, static_cast<int>(QLocale::Fiji), 125},
    {sipName_Fijian, static_cast<int>(QLocale::Fijian), 128},
    {sipName_Filipino, static_cast<int>(QLocale::Filipino), 128},
    {sipName_Finland, static_cast<int>(QLocale::Finland), 125},
    {sipName_Finnish, static_cast<int>(QLocale::Finnish), 128},
    {sipName_France, static_cast<int>(QLocale::France), 125},
    {sipName_FraserScript, static_cast<int>(QLocale::FraserScript), 133},
    {sipName_French, static_cast<int>(QLocale::French), 128},
    {sipName_FrenchGuiana, static_cast<int>(QLocale::FrenchGuiana), 125},
    {sipName_FrenchPolynesia, static_cast<int>(QLocale::FrenchPolynesia), 125},
    {sipName_FrenchSouthernTerritories, static_cast<int>(QLocale::FrenchSouthernTerritories), 125},
    {sipName_Frisian, static_cast<int>(QLocale::Frisian), 128},
    {sipName_Friulian, static_cast<int>(QLocale::Friulian), 128},
    {sipName_Fulah, static_cast<int>(QLocale::Fulah), 128},
    {sipName_Ga, static_cast<int>(QLocale::Ga), 128},
    {sipName_Gabon, static_cast<int>(QLocale::Gabon), 125},
    {sipName_Gaelic, static_cast<int>(QLocale::Gaelic), 128},
    {sipName_Galician, static_cast<int>(QLocale::Galician), 128},
    {sipName_Gambia, static_cast<int>(QLocale::Gambia), 125},
    {sipName_Ganda, static_cast<int>(QLocale::Ganda), 128},
    {sipName_Geez, static_cast<int>(QLocale::Geez), 128},
    {sipName_Georgia, static_cast<int>(QLocale::Georgia), 125},
    {sipName_Georgian, static_cast<int>(QLocale::Georgian), 128},
    {sipName_GeorgianScript, static_cast<int>(QLocale::GeorgianScript), 133},
    {sipName_German, static_cast<int>(QLocale::German), 128},
    {sipName_Germany, static_cast<int>(QLocale::Germany), 125},
    {sipName_Ghana, static_cast<int>(QLocale::Ghana), 125},
    {sipName_Gibraltar, static_cast<int>(QLocale::Gibraltar), 125},
    {sipName_GlagoliticScript, static_cast<int>(QLocale::GlagoliticScript), 133},
    {sipName_Gothic, static_cast<int>(QLocale::Gothic), 128},
    {sipName_GothicScript, static_cast<int>(QLocale::GothicScript), 133},
    {sipName_Greece, static_cast<int>(QLocale::Greece), 125},
    {sipName_Greek, static_cast<int>(QLocale::Greek), 128},
    {sipName_GreekScript, static_cast<int>(QLocale::GreekScript), 133},
    {sipName_Greenland, static_cast<int>(QLocale::Greenland), 125},
    {sipName_Greenlandic, static_cast<int>(QLocale::Greenlandic), 128},
    {sipName_Grenada, static_cast<int>(QLocale::Grenada), 125},
    {sipName_Guadeloupe, static_cast<int>(QLocale::Guadeloupe), 125},
    {sipName_Guam, static_cast<int>(QLocale::Guam), 125},
    {sipName_Guarani, static_cast<int>(QLocale::Guarani), 128},
    {sipName_Guatemala, static_cast<int>(QLocale::Guatemala), 125},
    {sipName_Guernsey, static_cast<int>(QLocale::Guernsey), 125},
    {sipName_Guinea, static_cast<int>(QLocale::Guinea), 125},
    {sipName_GuineaBissau, static_cast<int>(QLocale::GuineaBissau), 125},
    {sipName_Gujarati, static_cast<int>(QLocale::Gujarati), 128},
    {sipName_GujaratiScript, static_cast<int>(QLocale::GujaratiScript), 133},
    {sipName_GurmukhiScript, static_cast<int>(QLocale::GurmukhiScript), 133},
    {sipName_Gusii, static_cast<int>(QLocale::Gusii), 128},
    {sipName_Guyana, static_cast<int>(QLocale::Guyana), 125},
    {sipName_Haiti, static_cast<int>(QLocale::Haiti), 125},
    {sipName_Haitian, static_cast<int>(QLocale::Haitian), 128},
    {sipName_HanScript, static_cast<int>(QLocale::HanScript), 133},
    {sipName_HangulScript, static_cast<int>(QLocale::HangulScript), 133},
    {sipName_Hanunoo, static_cast<int>(QLocale::Hanunoo), 128},
    {sipName_HanunooScript, static_cast<int>(QLocale::HanunooScript), 133},
    {sipName_Hausa, static_cast<int>(QLocale::Hausa), 128},
    {sipName_Hawaiian, static_cast<int>(QLocale::Hawaiian), 128},
    {sipName_HeardAndMcDonaldIslands, static_cast<int>(QLocale::HeardAndMcDonaldIslands), 125},
    {sipName_Hebrew, static_cast<int>(QLocale::Hebrew), 128},
    {sipName_HebrewScript, static_cast<int>(QLocale::HebrewScript), 133},
    {sipName_Herero, static_cast<int>(QLocale::Herero), 128},
    {sipName_Hindi, static_cast<int>(QLocale::Hindi), 128},
    {sipName_HiraganaScript, static_cast<int>(QLocale::HiraganaScript), 133},
    {sipName_HiriMotu, static_cast<int>(QLocale::HiriMotu), 128},
    {sipName_Honduras, static_cast<int>(QLocale::Honduras), 125},
    {sipName_HongKong, static_cast<int>(QLocale::HongKong), 125},
    {sipName_Hungarian, static_cast<int>(QLocale::Hungarian), 128},
    {sipName_Hungary, static_cast<int>(QLocale::Hungary), 125},
    {sipName_Iceland, static_cast<int>(QLocale::Iceland), 125},
    {sipName_Icelandic, static_cast<int>(QLocale::Icelandic), 128},
    {sipName_Igbo, static_cast<int>(QLocale::Igbo), 128},
    {sipName_ImperialAramaicScript, static_cast<int>(QLocale::ImperialAramaicScript), 133},
    {sipName_ImperialSystem, static_cast<int>(QLocale::ImperialSystem), 129},
    {sipName_ImperialUKSystem, static_cast<int>(QLocale::ImperialUKSystem), 129},
    {sipName_ImperialUSSystem, static_cast<int>(QLocale::ImperialUSSystem), 129},
    {sipName_India, static_cast<int>(QLocale::India), 125},
    {sipName_Indonesia, static_cast<int>(QLocale::Indonesia), 125},
    {sipName_Indonesian, static_cast<int>(QLocale::Indonesian), 128},
    {sipName_Ingush, static_cast<int>(QLocale::Ingush), 128},
    {sipName_InscriptionalPahlaviScript, static_cast<int>(QLocale::InscriptionalPahlaviScript), 133},
    {sipName_InscriptionalParthianScript, static_cast<int>(QLocale::InscriptionalParthianScript), 133},
    {sipName_Interlingua, static_cast<int>(QLocale::Interlingua), 128},
    {sipName_Interlingue, static_cast<int>(QLocale::Interlingue), 128},
    {sipName_Inuktitut, static_cast<int>(QLocale::Inuktitut), 128},
    {sipName_Inupiak, static_cast<int>(QLocale::Inupiak), 128},
    {sipName_Iran, static_cast<int>(QLocale::Iran), 125},
    {sipName_Iraq, static_cast<int>(QLocale::Iraq), 125},
    {sipName_Ireland, static_cast<int>(QLocale::Ireland), 125},
    {sipName_Irish, static_cast<int>(QLocale::Irish), 128},
    {sipName_IsleOfMan, static_cast<int>(QLocale::IsleOfMan), 125},
    {sipName_Israel, static_cast<int>(QLocale::Israel), 125},
    {sipName_Italian, static_cast<int>(QLocale::Italian), 128},
    {sipName_Italy, static_cast<int>(QLocale::Italy), 125},
    {sipName_IvoryCoast, static_cast<int>(QLocale::IvoryCoast), 125},
    {sipName_Jamaica, static_cast<int>(QLocale::Jamaica), 125},
    {sipName_Japan, static_cast<int>(QLocale::Japan), 125},
    {sipName_Japanese, static_cast<int>(QLocale::Japanese), 128},
    {sipName_JapaneseScript, static_cast<int>(QLocale::JapaneseScript), 133},
    {sipName_Javanese, static_cast<int>(QLocale::Javanese), 128},
    {sipName_JavaneseScript, static_cast<int>(QLocale::JavaneseScript), 133},
    {sipName_Jersey, static_cast<int>(QLocale::Jersey), 125},
    {sipName_Jju, static_cast<int>(QLocale::Jju), 128},
    {sipName_JolaFonyi, static_cast<int>(QLocale::JolaFonyi), 128},
    {sipName_Jordan, static_cast<int>(QLocale::Jordan), 125},
    {sipName_Kabuverdianu, static_cast<int>(QLocale::Kabuverdianu), 128},
    {sipName_Kabyle, static_cast<int>(QLocale::Kabyle), 128},
    {sipName_KaithiScript, static_cast<int>(QLocale::KaithiScript), 133},
    {sipName_Kako, static_cast<int>(QLocale::Kako), 128},
    {sipName_Kalenjin, static_cast<int>(QLocale::Kalenjin), 128},
    {sipName_Kamba, static_cast<int>(QLocale::Kamba), 128},
    {sipName_Kannada, static_cast<int>(QLocale::Kannada), 128},
    {sipName_KannadaScript, static_cast<int>(QLocale::KannadaScript), 133},
    {sipName_Kanuri, static_cast<int>(QLocale::Kanuri), 128},
    {sipName_Kashmiri, static_cast<int>(QLocale::Kashmiri), 128},
    {sipName_KatakanaScript, static_cast<int>(QLocale::KatakanaScript), 133},
    {sipName_KayahLiScript, static_cast<int>(QLocale::KayahLiScript), 133},
    {sipName_Kazakh, static_cast<int>(QLocale::Kazakh), 128},
    {sipName_Kazakhstan, static_cast<int>(QLocale::Kazakhstan), 125},
    {sipName_Kenya, static_cast<int>(QLocale::Kenya), 125},
    {sipName_KharoshthiScript, static_cast<int>(QLocale::KharoshthiScript), 133},
    {sipName_Khmer, static_cast<int>(QLocale::Khmer), 128},
    {sipName_KhmerScript, static_cast<int>(QLocale::KhmerScript), 133},
    {sipName_Kikuyu, static_cast<int>(QLocale::Kikuyu), 128},
    {sipName_Kinyarwanda, static_cast<int>(QLocale::Kinyarwanda), 128},
    {sipName_Kirghiz, static_cast<int>(QLocale::Kirghiz), 128},
    {sipName_Kiribati, static_cast<int>(QLocale::Kiribati), 125},
    {sipName_Komi, static_cast<int>(QLocale::Komi), 128},
    {sipName_Kongo, static_cast<int>(QLocale::Kongo), 128},
    {sipName_Konkani, static_cast<int>(QLocale::Konkani), 128},
    {sipName_Korean, static_cast<int>(QLocale::Korean), 128},
    {sipName_KoreanScript, static_cast<int>(QLocale::KoreanScript), 133},
    {sipName_Koro, static_cast<int>(QLocale::Koro), 128},
    {sipName_Kosovo, static_cast<int>(QLocale::Kosovo), 125},
    {sipName_KoyraChiini, static_cast<int>(QLocale::KoyraChiini), 128},
    {sipName_KoyraboroSenni, static_cast<int>(QLocale::KoyraboroSenni), 128},
    {sipName_Kpelle, static_cast<int>(QLocale::Kpelle), 128},
    {sipName_Kurdish, static_cast<int>(QLocale::Kurdish), 128},
    {sipName_Kurundi, static_cast<int>(QLocale::Kurundi), 128},
    {sipName_Kuwait, static_cast<int>(QLocale::Kuwait), 125},
    {sipName_Kwanyama, static_cast<int>(QLocale::Kwanyama), 128},
    {sipName_Kwasio, static_cast<int>(QLocale::Kwasio), 128},
    {sipName_Kyrgyzstan, static_cast<int>(QLocale::Kyrgyzstan), 125},
    {sipName_Lakota, static_cast<int>(QLocale::Lakota), 128},
    {sipName_Langi, static_cast<int>(QLocale::Langi), 128},
    {sipName_LannaScript, static_cast<int>(QLocale::LannaScript), 133},
    {sipName_Lao, static_cast<int>(QLocale::Lao), 128},
    {sipName_LaoScript, static_cast<int>(QLocale::LaoScript), 133},
    {sipName_Laos, static_cast<int>(QLocale::Laos), 125},
    {sipName_LargeFloweryMiao, static_cast<int>(QLocale::LargeFloweryMiao), 128},
    {sipName_LastCountry, static_cast<int>(QLocale::LastCountry), 125},
    {sipName_LastLanguage, static_cast<int>(QLocale::LastLanguage), 128},
    {sipName_Latin, static_cast<int>(QLocale::Latin), 128},
    {sipName_LatinAmericaAndTheCaribbean, static_cast<int>(QLocale::LatinAmericaAndTheCaribbean), 125},
    {sipName_LatinScript, static_cast<int>(QLocale::LatinScript), 133},
    {sipName_Latvia, static_cast<int>(QLocale::Latvia), 125},
    {sipName_Latvian, static_cast<int>(QLocale::Latvian), 128},
    {sipName_Lebanon, static_cast<int>(QLocale::Lebanon), 125},
    {sipName_Lepcha, static_cast<int>(QLocale::Lepcha), 128},
    {sipName_LepchaScript, static_cast<int>(QLocale::LepchaScript), 133},
    {sipName_Lesotho, static_cast<int>(QLocale::Lesotho), 125},
    {sipName_Liberia, static_cast<int>(QLocale::Liberia), 125},
    {sipName_Libya, static_cast<int>(QLocale::Libya), 125},
    {sipName_Liechtenstein, static_cast<int>(QLocale::Liechtenstein), 125},
    {sipName_Limbu, static_cast<int>(QLocale::Limbu), 128},
    {sipName_LimbuScript, static_cast<int>(QLocale::LimbuScript), 133},
    {sipName_Limburgish, static_cast<int>(QLocale::Limburgish), 128},
    {sipName_LinearBScript, static_cast<int>(QLocale::LinearBScript), 133},
    {sipName_Lingala, static_cast<int>(QLocale::Lingala), 128},
    {sipName_Lisu, static_cast<int>(QLocale::Lisu), 128},
    {sipName_Lithuania, static_cast<int>(QLocale::Lithuania), 125},
    {sipName_Lithuanian, static_cast<int>(QLocale::Lithuanian), 128},
    {sipName_LongFormat, static_cast<int>(QLocale::LongFormat), 127},
    {sipName_LowGerman, static_cast<int>(QLocale::LowGerman), 128},
    {sipName_Lu, static_cast<int>(QLocale::Lu), 128},
    {sipName_LubaKatanga, static_cast<int>(QLocale::LubaKatanga), 128},
    {sipName_Luo, static_cast<int>(QLocale::Luo), 128},
    {sipName_Luxembourg, static_cast<int>(QLocale::Luxembourg), 125},
    {sipName_Luxembourgish, static_cast<int>(QLocale::Luxembourgish), 128},
    {sipName_Luyia, static_cast<int>(QLocale::Luyia), 128},
    {sipName_Lycian, static_cast<int>(QLocale::Lycian), 128},
    {sipName_LycianScript, static_cast<int>(QLocale::LycianScript), 133},
    {sipName_Lydian, static_cast<int>(QLocale::Lydian), 128},
    {sipName_LydianScript, static_cast<int>(QLocale::LydianScript), 133},
    {sipName_Macau, static_cast<int>(QLocale::Macau), 125},
    {sipName_Macedonia, static_cast<int>(QLocale::Macedonia), 125},
    {sipName_Macedonian, static_cast<int>(QLocale::Macedonian), 128},
    {sipName_Machame, static_cast<int>(QLocale::Machame), 128},
    {sipName_Madagascar, static_cast<int>(QLocale::Madagascar), 125},
    {sipName_MakhuwaMeetto, static_cast<int>(QLocale::MakhuwaMeetto), 128},
    {sipName_Makonde, static_cast<int>(QLocale::Makonde), 128},
    {sipName_Malagasy, static_cast<int>(QLocale::Malagasy), 128},
    {sipName_Malawi, static_cast<int>(QLocale::Malawi), 125},
    {sipName_Malay, static_cast<int>(QLocale::Malay), 128},
    {sipName_Malayalam, static_cast<int>(QLocale::Malayalam), 128},
    {sipName_MalayalamScript, static_cast<int>(QLocale::MalayalamScript), 133},
    {sipName_Malaysia, static_cast<int>(QLocale::Malaysia), 125},
    {sipName_Maldives, static_cast<int>(QLocale::Maldives), 125},
    {sipName_Mali, static_cast<int>(QLocale::Mali), 125},
    {sipName_Malta, static_cast<int>(QLocale::Malta), 125},
    {sipName_Maltese, static_cast<int>(QLocale::Maltese), 128},
    {sipName_MandaeanScript, static_cast<int>(QLocale::MandaeanScript), 133},
    {sipName_Mandingo, static_cast<int>(QLocale::Mandingo), 128},
    {sipName_Manipuri, static_cast<int>(QLocale::Manipuri), 128},
    {sipName_Manx, static_cast<int>(QLocale::Manx), 128},
    {sipName_Maori, static_cast<int>(QLocale::Maori), 128},
    {sipName_Marathi, static_cast<int>(QLocale::Marathi), 128},
    {sipName_MarshallIslands, static_cast<int>(QLocale::MarshallIslands), 125},
    {sipName_Marshallese, static_cast<int>(QLocale::Marshallese), 128},
    {sipName_Martinique, static_cast<int>(QLocale::Martinique), 125},
    {sipName_Masai, static_cast<int>(QLocale::Masai), 128},
    {sipName_Mauritania, static_cast<int>(QLocale::Mauritania), 125},
    {sipName_Mauritius, static_cast<int>(QLocale::Mauritius), 125},
    {sipName_Mayotte, static_cast<int>(QLocale::Mayotte), 125},
    {sipName_MeiteiMayekScript, static_cast<int>(QLocale::MeiteiMayekScript), 133},
    {sipName_Meroitic, static_cast<int>(QLocale::Meroitic), 128},
    {sipName_MeroiticCursiveScript, static_cast<int>(QLocale::MeroiticCursiveScript), 133},
    {sipName_MeroiticScript, static_cast<int>(QLocale::MeroiticScript), 133},
    {sipName_Meru, static_cast<int>(QLocale::Meru), 128},
    {sipName_Meta, static_cast<int>(QLocale::Meta), 128},
    {sipName_MetricSystem, static_cast<int>(QLocale::MetricSystem), 129},
    {sipName_Mexico, static_cast<int>(QLocale::Mexico), 125},
    {sipName_Micronesia, static_cast<int>(QLocale::Micronesia), 125},
    {sipName_Moldavian, static_cast<int>(QLocale::Moldavian), 128},
    {sipName_Moldova, static_cast<int>(QLocale::Moldova), 125},
    {sipName_Monaco, static_cast<int>(QLocale::Monaco), 125},
    {sipName_Mongolia, static_cast<int>(QLocale::Mongolia), 125},
    {sipName_Mongolian, static_cast<int>(QLocale::Mongolian), 128},
    {sipName_MongolianScript, static_cast<int>(QLocale::MongolianScript), 133},
    {sipName_Montenegro, static_cast<int>(QLocale::Montenegro), 125},
    {sipName_Montserrat, static_cast<int>(QLocale::Montserrat), 125},
    {sipName_Morisyen, static_cast<int>(QLocale::Morisyen), 128},
    {sipName_Morocco, static_cast<int>(QLocale::Morocco), 125},
    {sipName_Mozambique, static_cast<int>(QLocale::Mozambique), 125},
    {sipName_Mundang, static_cast<int>(QLocale::Mundang), 128},
    {sipName_Myanmar, static_cast<int>(QLocale::Myanmar), 125},
    {sipName_MyanmarScript, static_cast<int>(QLocale::MyanmarScript), 133},
    {sipName_Nama, static_cast<int>(QLocale::Nama), 128},
    {sipName_Namibia, static_cast<int>(QLocale::Namibia), 125},
    {sipName_NarrowFormat, static_cast<int>(QLocale::NarrowFormat), 127},
    {sipName_NauruCountry, static_cast<int>(QLocale::NauruCountry), 125},
    {sipName_NauruLanguage, static_cast<int>(QLocale::NauruLanguage), 128},
    {sipName_Navaho, static_cast<int>(QLocale::Navaho), 128},
    {sipName_Ndonga, static_cast<int>(QLocale::Ndonga), 128},
    {sipName_Nepal, static_cast<int>(QLocale::Nepal), 125},
    {sipName_Nepali, static_cast<int>(QLocale::Nepali), 128},
    {sipName_Netherlands, static_cast<int>(QLocale::Netherlands), 125},
    {sipName_NewCaledonia, static_cast<int>(QLocale::NewCaledonia), 125},
    {sipName_NewTaiLueScript, static_cast<int>(QLocale::NewTaiLueScript), 133},
    {sipName_NewZealand, static_cast<int>(QLocale::NewZealand), 125},
    {sipName_Ngiemboon, static_cast<int>(QLocale::Ngiemboon), 128},
    {sipName_Ngomba, static_cast<int>(QLocale::Ngomba), 128},
    {sipName_Nicaragua, static_cast<int>(QLocale::Nicaragua), 125},
    {sipName_Niger, static_cast<int>(QLocale::Niger), 125},
    {sipName_Nigeria, static_cast<int>(QLocale::Nigeria), 125},
    {sipName_Niue, static_cast<int>(QLocale::Niue), 125},
    {sipName_NkoScript, static_cast<int>(QLocale::NkoScript), 133},
    {sipName_NorfolkIsland, static_cast<int>(QLocale::NorfolkIsland), 125},
    {sipName_NorthKorea, static_cast<int>(QLocale::NorthKorea), 125},
    {sipName_NorthNdebele, static_cast<int>(QLocale::NorthNdebele), 128},
    {sipName_NorthernMarianaIslands, static_cast<int>(QLocale::NorthernMarianaIslands), 125},
    {sipName_NorthernSami, static_cast<int>(QLocale::NorthernSami), 128},
    {sipName_NorthernSotho, static_cast<int>(QLocale::NorthernSotho), 128},
    {sipName_NorthernThai, static_cast<int>(QLocale::NorthernThai), 128},
    {sipName_Norway, static_cast<int>(QLocale::Norway), 125},
    {sipName_Norwegian, static_cast<int>(QLocale::Norwegian), 128},
    {sipName_NorwegianBokmal, static_cast<int>(QLocale::NorwegianBokmal), 128},
    {sipName_NorwegianNynorsk, static_cast<int>(QLocale::NorwegianNynorsk), 128},
    {sipName_Nuer, static_cast<int>(QLocale::Nuer), 128},
    {sipName_Nyanja, static_cast<int>(QLocale::Nyanja), 128},
    {sipName_Nyankole, static_cast<int>(QLocale::Nyankole), 128},
    {sipName_Occitan, static_cast<int>(QLocale::Occitan), 128},
    {sipName_OghamScript, static_cast<int>(QLocale::OghamScript), 133},
    {sipName_Ojibwa, static_cast<int>(QLocale::Ojibwa), 128},
    {sipName_OlChikiScript, static_cast<int>(QLocale::OlChikiScript), 133},
    {sipName_OldIrish, static_cast<int>(QLocale::OldIrish), 128},
    {sipName_OldItalicScript, static_cast<int>(QLocale::OldItalicScript), 133},
    {sipName_OldNorse, static_cast<int>(QLocale::OldNorse), 128},
    {sipName_OldPersian, static_cast<int>(QLocale::OldPersian), 128},
    {sipName_OldPersianScript, static_cast<int>(QLocale::OldPersianScript), 133},
    {sipName_OldSouthArabianScript, static_cast<int>(QLocale::OldSouthArabianScript), 133},
    {sipName_OldTurkish, static_cast<int>(QLocale::OldTurkish), 128},
    {sipName_Oman, static_cast<int>(QLocale::Oman), 125},
    {sipName_OmitGroupSeparator, static_cast<int>(QLocale::OmitGroupSeparator), 130},
    {sipName_Oriya, static_cast<int>(QLocale::Oriya), 128},
    {sipName_OriyaScript, static_cast<int>(QLocale::OriyaScript), 133},
    {sipName_OrkhonScript, static_cast<int>(QLocale::OrkhonScript), 133},
    {sipName_Oromo, static_cast<int>(QLocale::Oromo), 128},
    {sipName_OsmanyaScript, static_cast<int>(QLocale::OsmanyaScript), 133},
    {sipName_Ossetic, static_cast<int>(QLocale::Ossetic), 128},
    {sipName_Pahlavi, static_cast<int>(QLocale::Pahlavi), 128},
    {sipName_Pakistan, static_cast<int>(QLocale::Pakistan), 125},
    {sipName_Palau, static_cast<int>(QLocale::Palau), 125},
    {sipName_PalestinianTerritories, static_cast<int>(QLocale::PalestinianTerritories), 125},
    {sipName_Pali, static_cast<int>(QLocale::Pali), 128},
    {sipName_Panama, static_cast<int>(QLocale::Panama), 125},
    {sipName_PapuaNewGuinea, static_cast<int>(QLocale::PapuaNewGuinea), 125},
    {sipName_Paraguay, static_cast<int>(QLocale::Paraguay), 125},
    {sipName_Parthian, static_cast<int>(QLocale::Parthian), 128},
    {sipName_Pashto, static_cast<int>(QLocale::Pashto), 128},
    {sipName_PeoplesRepublicOfCongo, static_cast<int>(QLocale::PeoplesRepublicOfCongo), 125},
    {sipName_Persian, static_cast<int>(QLocale::Persian), 128},
    {sipName_Peru, static_cast<int>(QLocale::Peru), 125},
    {sipName_PhagsPaScript, static_cast<int>(QLocale::PhagsPaScript), 133},
    {sipName_Philippines, static_cast<int>(QLocale::Philippines), 125},
    {sipName_Phoenician, static_cast<int>(QLocale::Phoenician), 128},
    {sipName_PhoenicianScript, static_cast<int>(QLocale::PhoenicianScript), 133},
    {sipName_Pitcairn, static_cast<int>(QLocale::Pitcairn), 125},
    {sipName_Poland, static_cast<int>(QLocale::Poland), 125},
    {sipName_Polish, static_cast<int>(QLocale::Polish), 128},
    {sipName_PollardPhoneticScript, static_cast<int>(QLocale::PollardPhoneticScript), 133},
    {sipName_Portugal, static_cast<int>(QLocale::Portugal), 125},
    {sipName_Portuguese, static_cast<int>(QLocale::Portuguese), 128},
    {sipName_PrakritLanguage, static_cast<int>(QLocale::PrakritLanguage), 128},
    {sipName_PuertoRico, static_cast<int>(QLocale::PuertoRico), 125},
    {sipName_Punjabi, static_cast<int>(QLocale::Punjabi), 128},
    {sipName_Qatar, static_cast<int>(QLocale::Qatar), 125},
    {sipName_Quechua, static_cast<int>(QLocale::Quechua), 128},
    {sipName_Rejang, static_cast<int>(QLocale::Rejang), 128},
    {sipName_RejangScript, static_cast<int>(QLocale::RejangScript), 133},
    {sipName_RejectGroupSeparator, static_cast<int>(QLocale::RejectGroupSeparator), 130},
    {sipName_RepublicOfKorea, static_cast<int>(QLocale::RepublicOfKorea), 125},
    {sipName_Reunion, static_cast<int>(QLocale::Reunion), 125},
    {sipName_RhaetoRomance, static_cast<int>(QLocale::RhaetoRomance), 128},
    {sipName_Romania, static_cast<int>(QLocale::Romania), 125},
    {sipName_Romanian, static_cast<int>(QLocale::Romanian), 128},
    {sipName_Romansh, static_cast<int>(QLocale::Romansh), 128},
    {sipName_Rombo, static_cast<int>(QLocale::Rombo), 128},
    {sipName_Rundi, static_cast<int>(QLocale::Rundi), 128},
    {sipName_RunicScript, static_cast<int>(QLocale::RunicScript), 133},
    {sipName_Russia, static_cast<int>(QLocale::Russia), 125},
    {sipName_Russian, static_cast<int>(QLocale::Russian), 128},
    {sipName_RussianFederation, static_cast<int>(QLocale::RussianFederation), 125},
    {sipName_Rwa, static_cast<int>(QLocale::Rwa), 128},
    {sipName_Rwanda, static_cast<int>(QLocale::Rwanda), 125},
    {sipName_Sabaean, static_cast<int>(QLocale::Sabaean), 128},
    {sipName_Saho, static_cast<int>(QLocale::Saho), 128},
    {sipName_SaintBarthelemy, static_cast<int>(QLocale::SaintBarthelemy), 125},
    {sipName_SaintHelena, static_cast<int>(QLocale::SaintHelena), 125},
    {sipName_SaintKittsAndNevis, static_cast<int>(QLocale::SaintKittsAndNevis), 125},
    {sipName_SaintLucia, static_cast<int>(QLocale::SaintLucia), 125},
    {sipName_SaintMartin, static_cast<int>(QLocale::SaintMartin), 125},
    {sipName_SaintPierreAndMiquelon, static_cast<int>(QLocale::SaintPierreAndMiquelon), 125},
    {sipName_SaintVincentAndTheGrenadines, static_cast<int>(QLocale::SaintVincentAndTheGrenadines), 125},
    {sipName_Sakha, static_cast<int>(QLocale::Sakha), 128},
    {sipName_Samaritan, static_cast<int>(QLocale::Samaritan), 128},
    {sipName_SamaritanScript, static_cast<int>(QLocale::SamaritanScript), 133},
    {sipName_Samburu, static_cast<int>(QLocale::Samburu), 128},
    {sipName_Samoa, static_cast<int>(QLocale::Samoa), 125},
    {sipName_Samoan, static_cast<int>(QLocale::Samoan), 128},
    {sipName_SanMarino, static_cast<int>(QLocale::SanMarino), 125},
    {sipName_Sango, static_cast<int>(QLocale::Sango), 128},
    {sipName_Sangu, static_cast<int>(QLocale::Sangu), 128},
    {sipName_Sanskrit, static_cast<int>(QLocale::Sanskrit), 128},
    {sipName_Santali, static_cast<int>(QLocale::Santali), 128},
    {sipName_SaoTomeAndPrincipe, static_cast<int>(QLocale::SaoTomeAndPrincipe), 125},
    {sipName_Sardinian, static_cast<int>(QLocale::Sardinian), 128},
    {sipName_SaudiArabia, static_cast<int>(QLocale::SaudiArabia), 125},
    {sipName_Saurashtra, static_cast<int>(QLocale::Saurashtra), 128},
    {sipName_SaurashtraScript, static_cast<int>(QLocale::SaurashtraScript), 133},
    {sipName_Sena, static_cast<int>(QLocale::Sena), 128},
    {sipName_Senegal, static_cast<int>(QLocale::Senegal), 125},
    {sipName_Serbia, static_cast<int>(QLocale::Serbia), 125},
    {sipName_Serbian, static_cast<int>(QLocale::Serbian), 128},
    {sipName_SerboCroatian, static_cast<int>(QLocale::SerboCroatian), 128},
    {sipName_Seychelles, static_cast<int>(QLocale::Seychelles), 125},
    {sipName_Shambala, static_cast<int>(QLocale::Shambala), 128},
    {sipName_SharadaScript, static_cast<int>(QLocale::SharadaScript), 133},
    {sipName_ShavianScript, static_cast<int>(QLocale::ShavianScript), 133},
    {sipName_Shona, static_cast<int>(QLocale::Shona), 128},
    {sipName_ShortFormat, static_cast<int>(QLocale::ShortFormat), 127},
    {sipName_SichuanYi, static_cast<int>(QLocale::SichuanYi), 128},
    {sipName_Sidamo, static_cast<int>(QLocale::Sidamo), 128},
    {sipName_SierraLeone, static_cast<int>(QLocale::SierraLeone), 125},
    {sipName_SimplifiedChineseScript, static_cast<int>(QLocale::SimplifiedChineseScript), 133},
    {sipName_SimplifiedHanScript, static_cast<int>(QLocale::SimplifiedHanScript), 133},
    {sipName_Sindhi, static_cast<int>(QLocale::Sindhi), 128},
    {sipName_Singapore, static_cast<int>(QLocale::Singapore), 125},
    {sipName_Sinhala, static_cast<int>(QLocale::Sinhala), 128},
    {sipName_SinhalaScript, static_cast<int>(QLocale::SinhalaScript), 133},
    {sipName_SintMaarten, static_cast<int>(QLocale::SintMaarten), 125},
    {sipName_Slovak, static_cast<int>(QLocale::Slovak), 128},
    {sipName_Slovakia, static_cast<int>(QLocale::Slovakia), 125},
    {sipName_Slovenia, static_cast<int>(QLocale::Slovenia), 125},
    {sipName_Slovenian, static_cast<int>(QLocale::Slovenian), 128},
    {sipName_Soga, static_cast<int>(QLocale::Soga), 128},
    {sipName_SolomonIslands, static_cast<int>(QLocale::SolomonIslands), 125},
    {sipName_Somali, static_cast<int>(QLocale::Somali), 128},
    {sipName_Somalia, static_cast<int>(QLocale::Somalia), 125},
    {sipName_Sora, static_cast<int>(QLocale::Sora), 128},
    {sipName_SoraSompengScript, static_cast<int>(QLocale::SoraSompengScript), 133},
    {sipName_SouthAfrica, static_cast<int>(QLocale::SouthAfrica), 125},
    {sipName_SouthGeorgiaAndTheSouthSandwichIslands, static_cast<int>(QLocale::SouthGeorgiaAndTheSouthSandwichIslands), 125},
    {sipName_SouthKorea, static_cast<int>(QLocale::SouthKorea), 125},
    {sipName_SouthNdebele, static_cast<int>(QLocale::SouthNdebele), 128},
    {sipName_SouthSudan, static_cast<int>(QLocale::SouthSudan), 125},
    {sipName_SouthernSotho, static_cast<int>(QLocale::SouthernSotho), 128},
    {sipName_Spain, static_cast<int>(QLocale::Spain), 125},
    {sipName_Spanish, static_cast<int>(QLocale::Spanish), 128},
    {sipName_SriLanka, static_cast<int>(QLocale::SriLanka), 125},
    {sipName_StandardMoroccanTamazight, static_cast<int>(QLocale::StandardMoroccanTamazight), 128},
    {sipName_StandardQuotation, static_cast<int>(QLocale::StandardQuotation), 132},
    {sipName_Sudan, static_cast<int>(QLocale::Sudan), 125},
    {sipName_Sundanese, static_cast<int>(QLocale::Sundanese), 128},
    {sipName_SundaneseScript, static_cast<int>(QLocale::SundaneseScript), 133},
    {sipName_Suriname, static_cast<int>(QLocale::Suriname), 125},
    {sipName_SvalbardAndJanMayenIslands, static_cast<int>(QLocale::SvalbardAndJanMayenIslands), 125},
    {sipName_Swahili, static_cast<int>(QLocale::Swahili), 128},
    {sipName_Swati, static_cast<int>(QLocale::Swati), 128},
    {sipName_Swaziland, static_cast<int>(QLocale::Swaziland), 125},
    {sipName_Sweden, static_cast<int>(QLocale::Sweden), 125},
    {sipName_Swedish, static_cast<int>(QLocale::Swedish), 128},
    {sipName_SwissGerman, static_cast<int>(QLocale::SwissGerman), 128},
    {sipName_Switzerland, static_cast<int>(QLocale::Switzerland), 125},
    {sipName_Sylheti, static_cast<int>(QLocale::Sylheti), 128},
    {sipName_SylotiNagriScript, static_cast<int>(QLocale::SylotiNagriScript), 133},
    {sipName_Syria, static_cast<int>(QLocale::Syria), 125},
    {sipName_Syriac, static_cast<int>(QLocale::Syriac), 128},
    {sipName_SyriacScript, static_cast<int>(QLocale::SyriacScript), 133},
    {sipName_SyrianArabRepublic, static_cast<int>(QLocale::SyrianArabRepublic), 125},
    {sipName_Tachelhit, static_cast<int>(QLocale::Tachelhit), 128},
    {sipName_Tagalog, static_cast<int>(QLocale::Tagalog), 128},
    {sipName_TagalogScript, static_cast<int>(QLocale::TagalogScript), 133},
    {sipName_Tagbanwa, static_cast<int>(QLocale::Tagbanwa), 128},
    {sipName_TagbanwaScript, static_cast<int>(QLocale::TagbanwaScript), 133},
    {sipName_Tahitian, static_cast<int>(QLocale::Tahitian), 128},
    {sipName_TaiDam, static_cast<int>(QLocale::TaiDam), 128},
    {sipName_TaiLeScript, static_cast<int>(QLocale::TaiLeScript), 133},
    {sipName_TaiNua, static_cast<int>(QLocale::TaiNua), 128},
    {sipName_TaiVietScript, static_cast<int>(QLocale::TaiVietScript), 133},
    {sipName_Taita, static_cast<int>(QLocale::Taita), 128},
    {sipName_Taiwan, static_cast<int>(QLocale::Taiwan), 125},
    {sipName_Tajik, static_cast<int>(QLocale::Tajik), 128},
    {sipName_Tajikistan, static_cast<int>(QLocale::Tajikistan), 125},
    {sipName_TakriScript, static_cast<int>(QLocale::TakriScript), 133},
    {sipName_Tamil, static_cast<int>(QLocale::Tamil), 128},
    {sipName_TamilScript, static_cast<int>(QLocale::TamilScript), 133},
    {sipName_Tanzania, static_cast<int>(QLocale::Tanzania), 125},
    {sipName_Taroko, static_cast<int>(QLocale::Taroko), 128},
    {sipName_Tasawaq, static_cast<int>(QLocale::Tasawaq), 128},
    {sipName_Tatar, static_cast<int>(QLocale::Tatar), 128},
    {sipName_Telugu, static_cast<int>(QLocale::Telugu), 128},
    {sipName_TeluguScript, static_cast<int>(QLocale::TeluguScript), 133},
    {sipName_Teso, static_cast<int>(QLocale::Teso), 128},
    {sipName_ThaanaScript, static_cast<int>(QLocale::ThaanaScript), 133},
    {sipName_Thai, static_cast<int>(QLocale::Thai), 128},
    {sipName_ThaiScript, static_cast<int>(QLocale::ThaiScript), 133},
    {sipName_Thailand, static_cast<int>(QLocale::Thailand), 125},
    {sipName_Tibetan, static_cast<int>(QLocale::Tibetan), 128},
    {sipName_TibetanScript, static_cast<int>(QLocale::TibetanScript), 133},
    {sipName_TifinaghScript, static_cast<int>(QLocale::TifinaghScript), 133},
    {sipName_Tigre, static_cast<int>(QLocale::Tigre), 128},
    {sipName_Tigrinya, static_cast<int>(QLocale::Tigrinya), 128},
    {sipName_Togo, static_cast<int>(QLocale::Togo), 125},
    {sipName_Tokelau, static_cast<int>(QLocale::Tokelau), 125},
    {sipName_Tonga, static_cast<int>(QLocale::Tonga), 125},
    {sipName_Tongan, static_cast<int>(QLocale::Tongan), 128},
    {sipName_TraditionalChineseScript, static_cast<int>(QLocale::TraditionalChineseScript), 133},
    {sipName_TraditionalHanScript, static_cast<int>(QLocale::TraditionalHanScript), 133},
    {sipName_TrinidadAndTobago, static_cast<int>(QLocale::TrinidadAndTobago), 125},
    {sipName_TristanDaCunha, static_cast<int>(QLocale::TristanDaCunha), 125},
    {sipName_Tsonga, static_cast<int>(QLocale::Tsonga), 128},
    {sipName_Tswana, static_cast<int>(QLocale::Tswana), 128},
    {sipName_Tunisia, static_cast<int>(QLocale::Tunisia), 125},
    {sipName_Turkey, static_cast<int>(QLocale::Turkey), 125},
    {sipName_Turkish, static_cast<int>(QLocale::Turkish), 128},
    {sipName_Turkmen, static_cast<int>(QLocale::Turkmen), 128},
    {sipName_Turkmenistan, static_cast<int>(QLocale::Turkmenistan), 125},
    {sipName_TurksAndCaicosIslands, static_cast<int>(QLocale::TurksAndCaicosIslands), 125},
    {sipName_Tuvalu, static_cast<int>(QLocale::Tuvalu), 125},
    {sipName_Twi, static_cast<int>(QLocale::Twi), 128},
    {sipName_Tyap, static_cast<int>(QLocale::Tyap), 128},
    {sipName_Uganda, static_cast<int>(QLocale::Uganda), 125},
    {sipName_Ugaritic, static_cast<int>(QLocale::Ugaritic), 128},
    {sipName_UgariticScript, static_cast<int>(QLocale::UgariticScript), 133},
    {sipName_Uighur, static_cast<int>(QLocale::Uighur), 128},
    {sipName_Uigur, static_cast<int>(QLocale::Uigur), 128},
    {sipName_Ukraine, static_cast<int>(QLocale::Ukraine), 125},
    {sipName_Ukrainian, static_cast<int>(QLocale::Ukrainian), 128},
    {sipName_UnitedArabEmirates, static_cast<int>(QLocale::UnitedArabEmirates), 125},
    {sipName_UnitedKingdom, static_cast<int>(QLocale::UnitedKingdom), 125},
    {sipName_UnitedStates, static_cast<int>(QLocale::UnitedStates), 125},
    {sipName_UnitedStatesMinorOutlyingIslands, static_cast<int>(QLocale::UnitedStatesMinorOutlyingIslands), 125},
    {sipName_UnitedStatesVirginIslands, static_cast<int>(QLocale::UnitedStatesVirginIslands), 125},
    {sipName_Urdu, static_cast<int>(QLocale::Urdu), 128},
    {sipName_Uruguay, static_cast<int>(QLocale::Uruguay), 125},
    {sipName_Uzbek, static_cast<int>(QLocale::Uzbek), 128},
    {sipName_Uzbekistan, static_cast<int>(QLocale::Uzbekistan), 125},
    {sipName_Vai, static_cast<int>(QLocale::Vai), 128},
    {sipName_VaiScript, static_cast<int>(QLocale::VaiScript), 133},
    {sipName_Vanuatu, static_cast<int>(QLocale::Vanuatu), 125},
    {sipName_VaticanCityState, static_cast<int>(QLocale::VaticanCityState), 125},
    {sipName_Venda, static_cast<int>(QLocale::Venda), 128},
    {sipName_Venezuela, static_cast<int>(QLocale::Venezuela), 125},
    {sipName_Vietnam, static_cast<int>(QLocale::Vietnam), 125},
    {sipName_Vietnamese, static_cast<int>(QLocale::Vietnamese), 128},
    {sipName_Volapuk, static_cast<int>(QLocale::Volapuk), 128},
    {sipName_Vunjo, static_cast<int>(QLocale::Vunjo), 128},
    {sipName_Walamo, static_cast<int>(QLocale::Walamo), 128},
    {sipName_WallisAndFutunaIslands, static_cast<int>(QLocale::WallisAndFutunaIslands), 125},
    {sipName_Walloon, static_cast<int>(QLocale::Walloon), 128},
    {sipName_Walser, static_cast<int>(QLocale::Walser), 128},
    {sipName_Welsh, static_cast<int>(QLocale::Welsh), 128},
    {sipName_WesternFrisian, static_cast<int>(QLocale::WesternFrisian), 128},
    {sipName_WesternSahara, static_cast<int>(QLocale::WesternSahara), 125},
    {sipName_Wolof, static_cast<int>(QLocale::Wolof), 128},
    {sipName_Xhosa, static_cast<int>(QLocale::Xhosa), 128},
    {sipName_Yangben, static_cast<int>(QLocale::Yangben), 128},
    {sipName_Yemen, static_cast<int>(QLocale::Yemen), 125},
    {sipName_YiScript, static_cast<int>(QLocale::YiScript), 133},
    {sipName_Yiddish, static_cast<int>(QLocale::Yiddish), 128},
    {sipName_Yoruba, static_cast<int>(QLocale::Yoruba), 128},
    {sipName_Zambia, static_cast<int>(QLocale::Zambia), 125},
    {sipName_Zarma, static_cast<int>(QLocale::Zarma), 128},
    {sipName_Zhuang, static_cast<int>(QLocale::Zhuang), 128},
    {sipName_Zimbabwe, static_cast<int>(QLocale::Zimbabwe), 125},
    {sipName_Zulu, static_cast<int>(QLocale::Zulu), 128},
};

PyDoc_STRVAR(doc_QLocale, "\1QLocale()\n"
    "QLocale(str)\n"
    "QLocale(QLocale.Language, QLocale.Country country=QLocale.AnyCountry)\n"
    "QLocale(QLocale)\n"
    "QLocale(QLocale.Language, QLocale.Script, QLocale.Country)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QLocale = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QLocale,
        {0}
    },
    {
        sipNameNr_QLocale,
        {0, 0, 1},
        55, methods_QLocale,
        716, enummembers_QLocale,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QLocale,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QLocale,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 96 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qline.sip"
#include <qline.h>
#line 105450 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qline.sip"
#include <qline.h>
#line 105454 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 99 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 105457 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QLineF_isNull, "QLineF.isNull() -> 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, "QLineF.length() -> 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, "QLineF.unitVector() -> 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, "QLineF.intersect(QLineF, QPointF) -> 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, "QLineF.x1() -> 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, "QLineF.y1() -> 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, "QLineF.x2() -> 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, "QLineF.y2() -> 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, "QLineF.p1() -> 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, "QLineF.p2() -> 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, "QLineF.dx() -> 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, "QLineF.dy() -> 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, "QLineF.normalVector() -> 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, "QLineF.translate(QPointF)\n"
    "QLineF.translate(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, "QLineF.setLength(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, "QLineF.pointAt(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, "QLineF.toLine() -> 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, "QLineF.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, "QLineF.angle() -> 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, "QLineF.setAngle(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, "QLineF.angleTo(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, "QLineF.translated(QPointF) -> QLineF\n"
    "QLineF.translated(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, "QLineF.setP1(QPointF)");

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, "QLineF.setP2(QPointF)");

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, "QLineF.setPoints(QPointF, QPointF)");

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, "QLineF.setLine(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;
}


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 127 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 106301 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 115 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qline.sip"
        sipRes = !sipCpp->isNull();
#line 106358 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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

    return NULL;
}


/* 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 100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qline.sip"
    sipRes = Py_BuildValue((char *)"dddd", sipCpp->x1(), sipCpp->y1(), sipCpp->x2(), sipCpp->y2());
#line 106395 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (sipIsPyOwned(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_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), 103},
    {sipName_NoIntersection, static_cast<int>(QLineF::NoIntersection), 103},
    {sipName_UnboundedIntersection, static_cast<int>(QLineF::UnboundedIntersection), 103},
};

PyDoc_STRVAR(doc_QLineF, "\1QLineF(QLine)\n"
    "QLineF()\n"
    "QLineF(QPointF, QPointF)\n"
    "QLineF(float, float, float, float)\n"
    "QLineF(QLineF)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QLineF = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QLineF,
        {0}
    },
    {
        sipNameNr_QLineF,
        {0, 0, 1},
        26, methods_QLineF,
        3, enummembers_QLineF,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QLineF,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QLineF,
    0,
    0,
    0,
    pickle_QLineF,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qline.sip"
#include <qline.h>
#line 106611 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 106615 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QLine_isNull, "QLine.isNull() -> 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, "QLine.x1() -> 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, "QLine.y1() -> 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, "QLine.x2() -> 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, "QLine.y2() -> 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, "QLine.p1() -> 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, "QLine.p2() -> 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, "QLine.dx() -> 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, "QLine.dy() -> 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, "QLine.translate(QPoint)\n"
    "QLine.translate(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, "QLine.translated(QPoint) -> QLine\n"
    "QLine.translated(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, "QLine.setP1(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, "QLine.setP2(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, "QLine.setPoints(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, "QLine.setLine(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;
}


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 68 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qline.sip"
        sipRes = !sipCpp->isNull();
#line 107106 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 44 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 107149 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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);
}


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

    return NULL;
}


/* 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 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qline.sip"
    sipRes = Py_BuildValue((char *)"iiii", sipCpp->x1(), sipCpp->y1(), sipCpp->x2(), sipCpp->y2());
#line 107218 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (sipIsPyOwned(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_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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QLine = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QLine,
        {0}
    },
    {
        sipNameNr_QLine,
        {0, 0, 1},
        15, methods_QLine,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QLine,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QLine,
    0,
    0,
    0,
    pickle_QLine,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlibraryinfo.sip"
#include <qlibraryinfo.h>
#line 107401 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 107405 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 107408 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QLibraryInfo_licensee, "QLibraryInfo.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, "QLibraryInfo.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, "QLibraryInfo.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, "QLibraryInfo.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, "QLibraryInfo.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;
}


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

    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 (sipIsPyOwned(sipSelf))
    {
        release_QLibraryInfo(sipGetAddress(sipSelf),0);
    }
}


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)}
};

static sipEnumMemberDef enummembers_QLibraryInfo[] = {
    {sipName_ArchDataPath, static_cast<int>(QLibraryInfo::ArchDataPath), 100},
    {sipName_BinariesPath, static_cast<int>(QLibraryInfo::BinariesPath), 100},
    {sipName_DataPath, static_cast<int>(QLibraryInfo::DataPath), 100},
    {sipName_DocumentationPath, static_cast<int>(QLibraryInfo::DocumentationPath), 100},
    {sipName_ExamplesPath, static_cast<int>(QLibraryInfo::ExamplesPath), 100},
    {sipName_HeadersPath, static_cast<int>(QLibraryInfo::HeadersPath), 100},
    {sipName_ImportsPath, static_cast<int>(QLibraryInfo::ImportsPath), 100},
    {sipName_LibrariesPath, static_cast<int>(QLibraryInfo::LibrariesPath), 100},
    {sipName_LibraryExecutablesPath, static_cast<int>(QLibraryInfo::LibraryExecutablesPath), 100},
    {sipName_PluginsPath, static_cast<int>(QLibraryInfo::PluginsPath), 100},
    {sipName_PrefixPath, static_cast<int>(QLibraryInfo::PrefixPath), 100},
    {sipName_Qml2ImportsPath, static_cast<int>(QLibraryInfo::Qml2ImportsPath), 100},
    {sipName_SettingsPath, static_cast<int>(QLibraryInfo::SettingsPath), 100},
    {sipName_TestsPath, static_cast<int>(QLibraryInfo::TestsPath), 100},
    {sipName_TranslationsPath, static_cast<int>(QLibraryInfo::TranslationsPath), 100},
};


pyqt5ClassTypeDef sipTypeDef_QtCore_QLibraryInfo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QLibraryInfo,
        {0}
    },
    {
        sipNameNr_QLibraryInfo,
        {0, 0, 1},
        5, methods_QLibraryInfo,
        15, enummembers_QLibraryInfo,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QLibraryInfo,
    0,
    0,
    0,
    release_QLibraryInfo,
    cast_QLibraryInfo,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlibrary.sip"
#include <qlibrary.h>
#line 107650 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlibrary.sip"
#include <qlibrary.h>
#line 107654 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QLibrary::LoadHints::Int() != 0);
#line 107672 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QLibrary::LoadHints::Int() != a0->operator QLibrary::LoadHints::Int());
#line 107702 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QLibrary::LoadHints::Int() == a0->operator QLibrary::LoadHints::Int());
#line 107738 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QLibrary_LoadHints___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QLibrary::LoadHints* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QLibrary_LoadHints, &a0, &a0State, &a1))
        {
            QLibrary::LoadHints*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QLibrary::LoadHints(*a0 ^ a1);
#line 107841 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QLibrary_LoadHints___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QLibrary::LoadHints* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QLibrary_LoadHints, &a0, &a0State, &a1))
        {
            QLibrary::LoadHints*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QLibrary::LoadHints(*a0 | a1);
#line 107891 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        QLibrary::LoadHints* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QLibrary_LoadHints, &a0, &a0State))
        {
            sipCpp->QLibrary::LoadHints::operator^=(*a0);
            sipReleaseType(a0,sipType_QLibrary_LoadHints,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_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;

    {
        QLibrary::LoadHints* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QLibrary_LoadHints, &a0, &a0State))
        {
            sipCpp->QLibrary::LoadHints::operator|=(*a0);
            sipReleaseType(a0,sipType_QLibrary_LoadHints,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_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;
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QLibrary::LoadHints(a0);

            return sipCpp;
        }
    }

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

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 108168 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QLibrary_LoadHints[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QLibrary_LoadHints___and__, and_slot},
    {(void *)slot_QLibrary_LoadHints___xor__, xor_slot},
    {(void *)slot_QLibrary_LoadHints___or__, or_slot},
    {(void *)slot_QLibrary_LoadHints___int__, int_slot},
    {(void *)slot_QLibrary_LoadHints___ixor__, ixor_slot},
    {(void *)slot_QLibrary_LoadHints___ior__, ior_slot},
    {(void *)slot_QLibrary_LoadHints___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QLibrary_LoadHints, "\1QLibrary.LoadHints(QLibrary.LoadHints)\n"
    "QLibrary.LoadHints(int)\n"
    "QLibrary.LoadHints()");


pyqt5ClassTypeDef sipTypeDef_QtCore_QLibrary_LoadHints = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QLibrary__LoadHints,
        {0}
    },
    {
        sipNameNr_LoadHints,
        {96, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QLibrary_LoadHints,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QLibrary_LoadHints,
    convertTo_QLibrary_LoadHints,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlibrary.sip"
#include <qlibrary.h>
#line 108250 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 108254 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 108257 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlibrary.sip"
#include <qlibrary.h>
#line 108260 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 108263 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 108266 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 108269 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 108272 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 108275 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 108278 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 108281 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 108284 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 108287 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 108290 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 108293 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 108296 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 108299 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 108302 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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:
    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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQLibrary::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QLibrary);
}

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));
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(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_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return 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, "QLibrary.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 108615 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QLibrary.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 108674 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QLibrary.timerEvent(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 || sipIsDerived((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, "QLibrary.childEvent(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 || sipIsDerived((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, "QLibrary.customEvent(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 || sipIsDerived((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, "QLibrary.connectNotify(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 || sipIsDerived((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, "QLibrary.disconnectNotify(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 || sipIsDerived((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, "QLibrary.senderSignalIndex() -> 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, "QLibrary.isSignalConnected(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, "QLibrary.errorString() -> 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, "QLibrary.fileName() -> 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, "QLibrary.isLoaded() -> 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, "QLibrary.load() -> 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, "QLibrary.loadHints() -> 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, "QLibrary.resolve(str) -> sip.voidptr\n"
    "QLibrary.resolve(str, str) -> sip.voidptr\n"
    "QLibrary.resolve(str, int, str) -> sip.voidptr\n"
    "QLibrary.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, "QLibrary.unload() -> 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, "QLibrary.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, "QLibrary.setFileName(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, "QLibrary.setFileNameAndVersion(str, int)\n"
    "QLibrary.setFileNameAndVersion(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, "QLibrary.setLoadHints(QLibrary.LoadHints)");

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 superclass hierarchy. */
extern "C" {static void *cast_QLibrary(void *, const sipTypeDef *);}
static void *cast_QLibrary(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QLibrary)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QLibrary *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQLibrary *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{162, 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_ExportExternalSymbolsHint, static_cast<int>(QLibrary::ExportExternalSymbolsHint), 97},
    {sipName_LoadArchiveMemberHint, static_cast<int>(QLibrary::LoadArchiveMemberHint), 97},
    {sipName_PreventUnloadHint, static_cast<int>(QLibrary::PreventUnloadHint), 97},
    {sipName_ResolveAllSymbolsHint, static_cast<int>(QLibrary::ResolveAllSymbolsHint), 97},
};

PyDoc_STRVAR(doc_QLibrary, "\1QLibrary(QObject parent=None)\n"
    "QLibrary(str, QObject parent=None)\n"
    "QLibrary(str, int, QObject parent=None)\n"
    "QLibrary(str, str, QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QLibrary = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QLibrary,
        {0}
    },
    {
        sipNameNr_QLibrary,
        {0, 0, 1},
        20, methods_QLibrary,
        4, 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
},
    &QLibrary::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qjsonvalue.sip"
#include <qjsonvalue.h>
#line 109513 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qjsonobject.sip"
#include <qjsonobject.h>
#line 109517 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qjsonarray.sip"
#include <qjsonarray.h>
#line 109520 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 109523 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 109526 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QJsonValue_fromVariant, "QJsonValue.fromVariant(QVariant) -> 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, "QJsonValue.toVariant() -> QVariant");

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, "QJsonValue.type() -> 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, "QJsonValue.isNull() -> 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, "QJsonValue.isBool() -> 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, "QJsonValue.isDouble() -> 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, "QJsonValue.isString() -> 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, "QJsonValue.isArray() -> 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, "QJsonValue.isObject() -> 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, "QJsonValue.isUndefined() -> 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, "QJsonValue.toBool(bool defaultValue=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, "QJsonValue.toInt(int defaultValue=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, "QJsonValue.toDouble(float defaultValue=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_toString, "QJsonValue.toString(str defaultValue=QString()) -> str");

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

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &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;
}


PyDoc_STRVAR(doc_QJsonValue_toArray, "QJsonValue.toArray() -> list-of-QJsonValue\n"
    "QJsonValue.toArray(list-of-QJsonValue) -> list-of-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, "QJsonValue.toObject() -> dict-of-str-QJsonValue\n"
    "QJsonValue.toObject(dict-of-str-QJsonValue) -> dict-of-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;
}


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);
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qjsonvalue.sip"
if (!sipIsErr)
    return qpycore_canConvertTo_QJsonValue(sipPy);

return qpycore_convertTo_QJsonValue(sipPy, sipTransferObj, sipCppPtr, sipIsErr);
#line 110185 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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), (PyCFunction)meth_QJsonValue_toString, METH_VARARGS|METH_KEYWORDS, 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), 95},
    {sipName_Bool, static_cast<int>(QJsonValue::Bool), 95},
    {sipName_Double, static_cast<int>(QJsonValue::Double), 95},
    {sipName_Null, static_cast<int>(QJsonValue::Null), 95},
    {sipName_Object, static_cast<int>(QJsonValue::Object), 95},
    {sipName_String, static_cast<int>(QJsonValue::String), 95},
    {sipName_Undefined, static_cast<int>(QJsonValue::Undefined), 95},
};

PyDoc_STRVAR(doc_QJsonValue, "\1QJsonValue(QJsonValue.Type type=QJsonValue.Null)\n"
    "QJsonValue(QJsonValue)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QJsonValue = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QJsonValue,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QJsonValue,
    convertTo_QJsonValue,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 58 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qjsondocument.sip"
#include <qjsondocument.h>
#line 110287 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qjsonobject.sip"
#include <qjsonobject.h>
#line 110291 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qjsonarray.sip"
#include <qjsonarray.h>
#line 110294 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 110297 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qjsondocument.sip"
#include <qjsondocument.h>
#line 110300 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 110303 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QJsonDocument_fromRawData, "QJsonDocument.fromRawData(str, int, QJsonDocument.DataValidation validation=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, "QJsonDocument.rawData() -> (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, "QJsonDocument.fromBinaryData(QByteArray, QJsonDocument.DataValidation validation=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, "QJsonDocument.toBinaryData() -> 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, "QJsonDocument.fromVariant(QVariant) -> 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, "QJsonDocument.toVariant() -> QVariant");

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, "QJsonDocument.fromJson(QByteArray, QJsonParseError error=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, "QJsonDocument.toJson() -> QByteArray\n"
    "QJsonDocument.toJson(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, "QJsonDocument.isEmpty() -> 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, "QJsonDocument.isArray() -> 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, "QJsonDocument.isObject() -> 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, "QJsonDocument.object() -> dict-of-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, "QJsonDocument.array() -> list-of-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, "QJsonDocument.setObject(dict-of-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, "QJsonDocument.setArray(list-of-QJsonValue)");

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, "QJsonDocument.isNull() -> 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);
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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), 89},
    {sipName_Compact, static_cast<int>(QJsonDocument::Compact), 90},
    {sipName_Indented, static_cast<int>(QJsonDocument::Indented), 90},
    {sipName_Validate, static_cast<int>(QJsonDocument::Validate), 89},
};

PyDoc_STRVAR(doc_QJsonDocument, "\1QJsonDocument()\n"
    "QJsonDocument(dict-of-str-QJsonValue)\n"
    "QJsonDocument(list-of-QJsonValue)\n"
    "QJsonDocument(QJsonDocument)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QJsonDocument = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QJsonDocument,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QJsonDocument,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qjsondocument.sip"
#include <qjsondocument.h>
#line 111050 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 111054 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QJsonParseError_errorString, "QJsonParseError.errorString() -> 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;
}


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

    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 (sipIsPyOwned(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), 93},
    {sipName_DocumentTooLarge, static_cast<int>(QJsonParseError::DocumentTooLarge), 93},
    {sipName_GarbageAtEnd, static_cast<int>(QJsonParseError::GarbageAtEnd), 93},
    {sipName_IllegalEscapeSequence, static_cast<int>(QJsonParseError::IllegalEscapeSequence), 93},
    {sipName_IllegalNumber, static_cast<int>(QJsonParseError::IllegalNumber), 93},
    {sipName_IllegalUTF8String, static_cast<int>(QJsonParseError::IllegalUTF8String), 93},
    {sipName_IllegalValue, static_cast<int>(QJsonParseError::IllegalValue), 93},
    {sipName_MissingNameSeparator, static_cast<int>(QJsonParseError::MissingNameSeparator), 93},
    {sipName_MissingObject, static_cast<int>(QJsonParseError::MissingObject), 93},
    {sipName_MissingValueSeparator, static_cast<int>(QJsonParseError::MissingValueSeparator), 93},
    {sipName_NoError, static_cast<int>(QJsonParseError::NoError), 93},
    {sipName_TerminationByNumber, static_cast<int>(QJsonParseError::TerminationByNumber), 93},
    {sipName_UnterminatedArray, static_cast<int>(QJsonParseError::UnterminatedArray), 93},
    {sipName_UnterminatedObject, static_cast<int>(QJsonParseError::UnterminatedObject), 93},
    {sipName_UnterminatedString, static_cast<int>(QJsonParseError::UnterminatedString), 93},
};


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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QJsonParseError = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QJsonParseError,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QJsonParseError,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 133 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 111309 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 111313 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 111316 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 68 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 111319 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 111322 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QItemSelection_select, "QItemSelection.select(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, "QItemSelection.contains(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, "QItemSelection.indexes() -> list-of-QModelIndex");

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, "QItemSelection.merge(QItemSelection, QItemSelectionModel.SelectionFlags)");

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, "QItemSelection.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, "QItemSelection.clear()");

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, "QItemSelection.isEmpty() -> 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, "QItemSelection.append(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, "QItemSelection.prepend(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, "QItemSelection.insert(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, "QItemSelection.replace(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, "QItemSelection.removeAt(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, "QItemSelection.removeAll(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, "QItemSelection.takeAt(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, "QItemSelection.takeFirst() -> 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, "QItemSelection.takeLast() -> 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, "QItemSelection.move(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, "QItemSelection.swap(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, "QItemSelection.count(QItemSelectionRange) -> int\n"
    "QItemSelection.count() -> 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, "QItemSelection.first() -> 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, "QItemSelection.last() -> 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, "QItemSelection.indexOf(QItemSelectionRange, int from=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, "QItemSelection.lastIndexOf(QItemSelectionRange, int from=-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 112042 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 231 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qitemselectionmodel.sip"
        SIP_SSIZE_T idx = sipConvertFromSequenceIndex(a0, sipCpp->count());
        
        if (idx < 0)
            sipIsErr = 1;
        else
            sipRes = new QItemSelectionRange(sipCpp->operator[]((int)idx));
#line 112141 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qitemselectionmodel.sip"
        SIP_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 112179 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 199 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qitemselectionmodel.sip"
        int len;
        
        len = sipCpp->count();
        
        if ((a0 = (int)sipConvertFromSequenceIndex(a0, len)) < 0)
            sipIsErr = 1;
        else
            sipCpp->removeAt(a0);
#line 112221 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return -1;

            return 0;
        }
    }

    {
        PyObject * a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1T", &PySlice_Type, &a0))
        {
            int sipIsErr = 0;

#line 211 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qitemselectionmodel.sip"
        SIP_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 112254 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 152 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qitemselectionmodel.sip"
        int len;
        
        len = sipCpp->count();
        
        if ((a0 = (int)sipConvertFromSequenceIndex(a0, len)) < 0)
            sipIsErr = 1;
        else
            (*sipCpp)[a0] = *a1;
#line 112297 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 164 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qitemselectionmodel.sip"
        SIP_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 112346 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 143 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qitemselectionmodel.sip"
        // It looks like you can't assign QBool to int.
        sipRes = bool(sipCpp->contains(*a0));
#line 112382 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName___contains__, NULL);

    return -1;
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QItemSelection = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QItemSelection,
        {0}
    },
    {
        sipNameNr_QItemSelection,
        {0, 0, 1},
        23, methods_QItemSelection,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QItemSelection,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QItemSelection,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 68 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 112588 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 68 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 112592 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QItemSelectionModel::SelectionFlags::Int() != 0);
#line 112610 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QItemSelectionModel::SelectionFlags::Int() != a0->operator QItemSelectionModel::SelectionFlags::Int());
#line 112640 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QItemSelectionModel::SelectionFlags::Int() == a0->operator QItemSelectionModel::SelectionFlags::Int());
#line 112676 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QItemSelectionModel_SelectionFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QItemSelectionModel::SelectionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QItemSelectionModel_SelectionFlags, &a0, &a0State, &a1))
        {
            QItemSelectionModel::SelectionFlags*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QItemSelectionModel::SelectionFlags(*a0 ^ a1);
#line 112779 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QItemSelectionModel_SelectionFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QItemSelectionModel::SelectionFlags* a0;
        int a0State = 0;
        QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QItemSelectionModel_SelectionFlags, &a0, &a0State, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            QItemSelectionModel::SelectionFlags*sipRes;

            sipRes = new QItemSelectionModel::SelectionFlags((*a0 | *a1));
            sipReleaseType(a0,sipType_QItemSelectionModel_SelectionFlags,a0State);
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QItemSelectionModel_SelectionFlags,NULL);
        }
    }

    {
        QItemSelectionModel::SelectionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QItemSelectionModel_SelectionFlags, &a0, &a0State, &a1))
        {
            QItemSelectionModel::SelectionFlags*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QItemSelectionModel::SelectionFlags(*a0 | a1);
#line 112829 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        QItemSelectionModel::SelectionFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QItemSelectionModel_SelectionFlags, &a0, &a0State))
        {
            sipCpp->QItemSelectionModel::SelectionFlags::operator^=(*a0);
            sipReleaseType(a0,sipType_QItemSelectionModel_SelectionFlags,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_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;

    {
        QItemSelectionModel::SelectionFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QItemSelectionModel_SelectionFlags, &a0, &a0State))
        {
            sipCpp->QItemSelectionModel::SelectionFlags::operator|=(*a0);
            sipReleaseType(a0,sipType_QItemSelectionModel_SelectionFlags,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QItemSelectionModel_SelectionFlags(void *, const sipTypeDef *);}
static void *cast_QItemSelectionModel_SelectionFlags(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QItemSelectionModel_SelectionFlags)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QItemSelectionModel::SelectionFlags(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QItemSelectionModel::SelectionFlags();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 113106 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QItemSelectionModel_SelectionFlags[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QItemSelectionModel_SelectionFlags___and__, and_slot},
    {(void *)slot_QItemSelectionModel_SelectionFlags___xor__, xor_slot},
    {(void *)slot_QItemSelectionModel_SelectionFlags___or__, or_slot},
    {(void *)slot_QItemSelectionModel_SelectionFlags___int__, int_slot},
    {(void *)slot_QItemSelectionModel_SelectionFlags___ixor__, ixor_slot},
    {(void *)slot_QItemSelectionModel_SelectionFlags___ior__, ior_slot},
    {(void *)slot_QItemSelectionModel_SelectionFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QItemSelectionModel_SelectionFlags, "\1QItemSelectionModel.SelectionFlags(QItemSelectionModel.SelectionFlags)\n"
    "QItemSelectionModel.SelectionFlags(int)\n"
    "QItemSelectionModel.SelectionFlags()");


pyqt5ClassTypeDef sipTypeDef_QtCore_QItemSelectionModel_SelectionFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QItemSelectionModel__SelectionFlags,
        {0}
    },
    {
        sipNameNr_SelectionFlags,
        {83, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QItemSelectionModel_SelectionFlags,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QItemSelectionModel_SelectionFlags,
    convertTo_QItemSelectionModel_SelectionFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 68 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 113188 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 105 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 113192 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 113195 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 113198 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 113201 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 133 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 113204 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 68 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 113207 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 113210 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 113213 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 113216 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 113219 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 113222 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 113225 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 113228 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 113231 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 113234 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 113237 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 113240 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 113243 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 113246 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 113249 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 113252 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void clearCurrentIndex();
    void setCurrentIndex(const QModelIndex&,QItemSelectionModel::SelectionFlags);
    void select(const QItemSelection&,QItemSelectionModel::SelectionFlags);
    void select(const QModelIndex&,QItemSelectionModel::SelectionFlags);
    void reset();
    void clear();

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQItemSelectionModel::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QItemSelectionModel);
}

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::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QItemSelectionModel::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQItemSelectionModel::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QItemSelectionModel::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQItemSelectionModel::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QItemSelectionModel::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQItemSelectionModel::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QItemSelectionModel::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQItemSelectionModel::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QItemSelectionModel::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQItemSelectionModel::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QItemSelectionModel::eventFilter(a0,a1);

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

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_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQItemSelectionModel::clearCurrentIndex()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_clearCurrentIndex);

    if (!sipMeth)
    {
        QItemSelectionModel::clearCurrentIndex();
        return;
    }

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_11(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[8],sipPySelf,NULL,sipName_setCurrentIndex);

    if (!sipMeth)
    {
        QItemSelectionModel::setCurrentIndex(a0,a1);
        return;
    }

    extern void sipVH_QtCore_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QItemSelectionModel::SelectionFlags);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_50(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[9],sipPySelf,NULL,sipName_select);

    if (!sipMeth)
    {
        QItemSelectionModel::select(a0,a1);
        return;
    }

    extern void sipVH_QtCore_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&,QItemSelectionModel::SelectionFlags);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_51(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[10],sipPySelf,NULL,sipName_select);

    if (!sipMeth)
    {
        QItemSelectionModel::select(a0,a1);
        return;
    }

    extern void sipVH_QtCore_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QItemSelectionModel::SelectionFlags);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_50(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQItemSelectionModel::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
        QItemSelectionModel::reset();
        return;
    }

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQItemSelectionModel::clear()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_clear);

    if (!sipMeth)
    {
        QItemSelectionModel::clear();
        return;
    }

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

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, "QItemSelectionModel.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 113679 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QItemSelectionModel.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 113738 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QItemSelectionModel.timerEvent(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 || sipIsDerived((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, "QItemSelectionModel.childEvent(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 || sipIsDerived((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, "QItemSelectionModel.customEvent(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 || sipIsDerived((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, "QItemSelectionModel.connectNotify(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 || sipIsDerived((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, "QItemSelectionModel.disconnectNotify(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 || sipIsDerived((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, "QItemSelectionModel.senderSignalIndex() -> 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, "QItemSelectionModel.isSignalConnected(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, "QItemSelectionModel.currentIndex() -> 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, "QItemSelectionModel.isSelected(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, "QItemSelectionModel.isRowSelected(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, "QItemSelectionModel.isColumnSelected(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, "QItemSelectionModel.rowIntersectsSelection(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, "QItemSelectionModel.columnIntersectsSelection(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, "QItemSelectionModel.selectedIndexes() -> list-of-QModelIndex");

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, "QItemSelectionModel.selection() -> 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, "QItemSelectionModel.model() -> QAbstractItemModel");

extern "C" {static PyObject *meth_QItemSelectionModel_model(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_model(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QItemSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelectionModel, &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_QItemSelectionModel, sipName_model, doc_QItemSelectionModel_model);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_clear, "QItemSelectionModel.clear()");

extern "C" {static PyObject *meth_QItemSelectionModel_clear(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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, "QItemSelectionModel.clearSelection()");

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, "QItemSelectionModel.reset()");

extern "C" {static PyObject *meth_QItemSelectionModel_reset(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_reset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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, "QItemSelectionModel.select(QModelIndex, QItemSelectionModel.SelectionFlags)\n"
    "QItemSelectionModel.select(QItemSelection, QItemSelectionModel.SelectionFlags)");

extern "C" {static PyObject *meth_QItemSelectionModel_select(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_select(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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, "QItemSelectionModel.setCurrentIndex(QModelIndex, QItemSelectionModel.SelectionFlags)");

extern "C" {static PyObject *meth_QItemSelectionModel_setCurrentIndex(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_setCurrentIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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, "QItemSelectionModel.clearCurrentIndex()");

extern "C" {static PyObject *meth_QItemSelectionModel_clearCurrentIndex(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_clearCurrentIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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, "QItemSelectionModel.emitSelectionChanged(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, "QItemSelectionModel.hasSelection() -> 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, "QItemSelectionModel.selectedRows(int column=0) -> list-of-QModelIndex");

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, "QItemSelectionModel.selectedColumns(int row=0) -> list-of-QModelIndex");

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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QItemSelectionModel(void *, const sipTypeDef *);}
static void *cast_QItemSelectionModel(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QItemSelectionModel)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QItemSelectionModel *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQItemSelectionModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QItemSelectionModel(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, 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[] = {{162, 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_timerEvent), (PyCFunction)meth_QItemSelectionModel_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QItemSelectionModel[] = {
    {sipName_Clear, static_cast<int>(QItemSelectionModel::Clear), 84},
    {sipName_ClearAndSelect, static_cast<int>(QItemSelectionModel::ClearAndSelect), 84},
    {sipName_Columns, static_cast<int>(QItemSelectionModel::Columns), 84},
    {sipName_Current, static_cast<int>(QItemSelectionModel::Current), 84},
    {sipName_Deselect, static_cast<int>(QItemSelectionModel::Deselect), 84},
    {sipName_NoUpdate, static_cast<int>(QItemSelectionModel::NoUpdate), 84},
    {sipName_Rows, static_cast<int>(QItemSelectionModel::Rows), 84},
    {sipName_Select, static_cast<int>(QItemSelectionModel::Select), 84},
    {sipName_SelectCurrent, static_cast<int>(QItemSelectionModel::SelectCurrent), 84},
    {sipName_Toggle, static_cast<int>(QItemSelectionModel::Toggle), 84},
    {sipName_ToggleCurrent, static_cast<int>(QItemSelectionModel::ToggleCurrent), 84},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QItemSelectionModel[] = {
    {"currentColumnChanged(QModelIndex,QModelIndex)", "\1QItemSelectionModel.currentColumnChanged[QModelIndex, QModelIndex]", 0, 0},
    {"currentRowChanged(QModelIndex,QModelIndex)", "\1QItemSelectionModel.currentRowChanged[QModelIndex, QModelIndex]", 0, 0},
    {"currentChanged(QModelIndex,QModelIndex)", "\1QItemSelectionModel.currentChanged[QModelIndex, QModelIndex]", 0, 0},
    {"selectionChanged(QItemSelection,QItemSelection)", "\1QItemSelectionModel.selectionChanged[QItemSelection, QItemSelection]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QItemSelectionModel, "\1QItemSelectionModel(QAbstractItemModel)\n"
    "QItemSelectionModel(QAbstractItemModel, QObject)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QItemSelectionModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QItemSelectionModel,
        {0}
    },
    {
        sipNameNr_QItemSelectionModel,
        {0, 0, 1},
        28, 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
},
    &QItemSelectionModel::staticMetaObject,
    0,
    signals_QItemSelectionModel,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 114709 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 114713 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 114716 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 105 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 114719 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 70 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 114722 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QItemSelectionRange_top, "QItemSelectionRange.top() -> 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, "QItemSelectionRange.left() -> 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, "QItemSelectionRange.bottom() -> 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, "QItemSelectionRange.right() -> 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, "QItemSelectionRange.width() -> 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, "QItemSelectionRange.height() -> 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, "QItemSelectionRange.topLeft() -> 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, "QItemSelectionRange.bottomRight() -> 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, "QItemSelectionRange.parent() -> 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, "QItemSelectionRange.model() -> 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, "QItemSelectionRange.contains(QModelIndex) -> bool\n"
    "QItemSelectionRange.contains(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, "QItemSelectionRange.intersects(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, "QItemSelectionRange.isValid() -> 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, "QItemSelectionRange.indexes() -> list-of-QModelIndex");

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, "QItemSelectionRange.intersected(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, "QItemSelectionRange.isEmpty() -> 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;
}


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 58 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qitemselectionmodel.sip"
        sipRes = qHash(*sipCpp);
#line 115256 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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);
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QItemSelectionRange(void *, const sipTypeDef *);}
static void *cast_QItemSelectionRange(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QItemSelectionRange)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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_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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QItemSelectionRange = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QItemSelectionRange,
        {0}
    },
    {
        sipNameNr_QItemSelectionRange,
        {0, 0, 1},
        16, methods_QItemSelectionRange,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QItemSelectionRange,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QItemSelectionRange,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 115525 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 115529 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QIODevice::OpenMode::Int() != 0);
#line 115547 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QIODevice::OpenMode::Int() != a0->operator QIODevice::OpenMode::Int());
#line 115577 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QIODevice::OpenMode::Int() == a0->operator QIODevice::OpenMode::Int());
#line 115613 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QIODevice_OpenMode___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QIODevice::OpenMode* a0;
        int a0State = 0;
        QIODevice::OpenMode* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QIODevice_OpenMode, &a0, &a0State, sipType_QIODevice_OpenMode, &a1, &a1State))
        {
            QIODevice::OpenMode*sipRes;

            sipRes = new QIODevice::OpenMode((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);
            sipReleaseType(a1,sipType_QIODevice_OpenMode,a1State);

            return sipConvertFromNewType(sipRes,sipType_QIODevice_OpenMode,NULL);
        }
    }

    {
        QIODevice::OpenMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QIODevice_OpenMode, &a0, &a0State, &a1))
        {
            QIODevice::OpenMode*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QIODevice::OpenMode(*a0 ^ a1);
#line 115716 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QIODevice_OpenMode___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QIODevice::OpenMode* a0;
        int a0State = 0;
        QIODevice::OpenMode* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QIODevice_OpenMode, &a0, &a0State, sipType_QIODevice_OpenMode, &a1, &a1State))
        {
            QIODevice::OpenMode*sipRes;

            sipRes = new QIODevice::OpenMode((*a0 | *a1));
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);
            sipReleaseType(a1,sipType_QIODevice_OpenMode,a1State);

            return sipConvertFromNewType(sipRes,sipType_QIODevice_OpenMode,NULL);
        }
    }

    {
        QIODevice::OpenMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QIODevice_OpenMode, &a0, &a0State, &a1))
        {
            QIODevice::OpenMode*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QIODevice::OpenMode(*a0 | a1);
#line 115766 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        QIODevice::OpenMode* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QIODevice_OpenMode, &a0, &a0State))
        {
            sipCpp->QIODevice::OpenMode::operator^=(*a0);
            sipReleaseType(a0,sipType_QIODevice_OpenMode,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_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;

    {
        QIODevice::OpenMode* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QIODevice_OpenMode, &a0, &a0State))
        {
            sipCpp->QIODevice::OpenMode::operator|=(*a0);
            sipReleaseType(a0,sipType_QIODevice_OpenMode,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QIODevice_OpenMode(void *, const sipTypeDef *);}
static void *cast_QIODevice_OpenMode(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QIODevice_OpenMode)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QIODevice::OpenMode(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QIODevice::OpenMode();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 116043 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QIODevice_OpenMode[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QIODevice_OpenMode___and__, and_slot},
    {(void *)slot_QIODevice_OpenMode___xor__, xor_slot},
    {(void *)slot_QIODevice_OpenMode___or__, or_slot},
    {(void *)slot_QIODevice_OpenMode___int__, int_slot},
    {(void *)slot_QIODevice_OpenMode___ixor__, ixor_slot},
    {(void *)slot_QIODevice_OpenMode___ior__, ior_slot},
    {(void *)slot_QIODevice_OpenMode___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QIODevice_OpenMode, "\1QIODevice.OpenMode(QIODevice.OpenMode)\n"
    "QIODevice.OpenMode(int)\n"
    "QIODevice.OpenMode()");


pyqt5ClassTypeDef sipTypeDef_QtCore_QIODevice_OpenMode = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QIODevice__OpenMode,
        {0}
    },
    {
        sipNameNr_OpenMode,
        {78, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QIODevice_OpenMode,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QIODevice_OpenMode,
    convertTo_QIODevice_OpenMode,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qidentityproxymodel.sip"
#include <qidentityproxymodel.h>
#line 116125 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 116129 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 116132 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 116135 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 116138 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 105 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 116141 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 116144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 116147 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 133 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 116150 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 116153 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 116156 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 116159 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 116162 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 116165 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 116168 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 266 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 116171 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 116174 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 116177 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 116180 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 70 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 116183 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 321 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 116186 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 116189 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 116192 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 116195 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 116198 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 116201 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 116204 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 116207 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 116210 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 116213 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 116216 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 116219 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 116222 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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 moveColumns(const QModelIndex&,int,int,const QModelIndex&,int);
    bool moveRows(const QModelIndex&,int,int,const QModelIndex&,int);
    QHash<int,QByteArray> roleNames() const;
    Qt::DropActions supportedDragActions() const;
    bool canDropMimeData(const QMimeData*,Qt::DropAction,int,int,const QModelIndex&) const;
    Qt::DropActions supportedDropActions() const;
    QStringList mimeTypes() const;
    QMimeData* mimeData(const QModelIndexList&) const;
    bool hasChildren(const QModelIndex&) const;
    QSize span(const QModelIndex&) const;
    void sort(int,Qt::SortOrder);
    void fetchMore(const QModelIndex&);
    bool canFetchMore(const QModelIndex&) const;
    QModelIndex buddy(const QModelIndex&) const;
    bool setItemData(const QModelIndex&,const QMap<int,QVariant>&);
    Qt::ItemFlags flags(const QModelIndex&) const;
    QMap<int,QVariant> itemData(const QModelIndex&) const;
    bool setHeaderData(int,Qt::Orientation,const QVariant&,int);
    bool setData(const QModelIndex&,const QVariant&,int);
    QVariant data(const QModelIndex&,int) const;
    void revert();
    bool submit();
    QModelIndex sibling(int,int,const QModelIndex&) const;
    QVariant headerData(int,Qt::Orientation,int) const;
    bool removeRows(int,int,const QModelIndex&);
    bool removeColumns(int,int,const QModelIndex&);
    bool insertRows(int,int,const QModelIndex&);
    bool insertColumns(int,int,const QModelIndex&);
    void setSourceModel(QAbstractItemModel*);
    QModelIndexList match(const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags) const;
    QItemSelection mapSelectionToSource(const QItemSelection&) const;
    QItemSelection mapSelectionFromSource(const QItemSelection&) const;
    bool dropMimeData(const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    int rowCount(const QModelIndex&) const;
    QModelIndex parent(const QModelIndex&) const;
    QModelIndex mapToSource(const QModelIndex&) const;
    QModelIndex mapFromSource(const QModelIndex&) const;
    QModelIndex index(int,int,const QModelIndex&) const;
    int columnCount(const QModelIndex&) 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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQIdentityProxyModel::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QIdentityProxyModel);
}

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));
}

void sipQIdentityProxyModel::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QIdentityProxyModel::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQIdentityProxyModel::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QIdentityProxyModel::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQIdentityProxyModel::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QIdentityProxyModel::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQIdentityProxyModel::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QIdentityProxyModel::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQIdentityProxyModel::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QIdentityProxyModel::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQIdentityProxyModel::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QIdentityProxyModel::eventFilter(a0,a1);

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQIdentityProxyModel::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QIdentityProxyModel::event(a0);

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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[7],sipPySelf,NULL,sipName_moveColumns);

    if (!sipMeth)
        return QIdentityProxyModel::moveColumns(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int,const QModelIndex&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_59(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[8],sipPySelf,NULL,sipName_moveRows);

    if (!sipMeth)
        return QIdentityProxyModel::moveRows(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int,const QModelIndex&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_59(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[9]),sipPySelf,NULL,sipName_roleNames);

    if (!sipMeth)
        return QIdentityProxyModel::roleNames();

    extern QHash<int,QByteArray> sipVH_QtCore_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_60(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

Qt::DropActions sipQIdentityProxyModel::supportedDragActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_supportedDragActions);

    if (!sipMeth)
        return QIdentityProxyModel::supportedDragActions();

    extern Qt::DropActions sipVH_QtCore_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_18(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

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[11]),sipPySelf,NULL,sipName_canDropMimeData);

    if (!sipMeth)
        return QIdentityProxyModel::canDropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

Qt::DropActions sipQIdentityProxyModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return QIdentityProxyModel::supportedDropActions();

    extern Qt::DropActions sipVH_QtCore_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_18(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

QStringList sipQIdentityProxyModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return QIdentityProxyModel::mimeTypes();

    extern QStringList sipVH_QtCore_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_27(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

QMimeData* sipQIdentityProxyModel::mimeData(const QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return QIdentityProxyModel::mimeData(a0);

    extern QMimeData* sipVH_QtCore_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QModelIndex>&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_34(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQIdentityProxyModel::hasChildren(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_hasChildren);

    if (!sipMeth)
        return QIdentityProxyModel::hasChildren(a0);

    extern bool sipVH_QtCore_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_31(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

QSize sipQIdentityProxyModel::span(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return QIdentityProxyModel::span(a0);

    extern QSize sipVH_QtCore_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_29(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[17],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
        QIdentityProxyModel::sort(a0,a1);
        return;
    }

    extern void sipVH_QtCore_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::SortOrder);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_19(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQIdentityProxyModel::fetchMore(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
        QIdentityProxyModel::fetchMore(a0);
        return;
    }

    extern void sipVH_QtCore_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_32(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[19]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return QIdentityProxyModel::canFetchMore(a0);

    extern bool sipVH_QtCore_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_31(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

QModelIndex sipQIdentityProxyModel::buddy(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return QIdentityProxyModel::buddy(a0);

    extern QModelIndex sipVH_QtCore_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_30(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQIdentityProxyModel::setItemData(const QModelIndex& a0,const QMap<int,QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return QIdentityProxyModel::setItemData(a0,a1);

    extern bool sipVH_QtCore_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QMap<int,QVariant>&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_56(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[22]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return QIdentityProxyModel::flags(a0);

    extern Qt::ItemFlags sipVH_QtCore_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_21(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_57(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_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,const QVariant&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_35(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3);
}

bool sipQIdentityProxyModel::setData(const QModelIndex& a0,const QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return QIdentityProxyModel::setData(a0,a1,a2);

    extern bool sipVH_QtCore_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QVariant&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_22(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[26]),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);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_23(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQIdentityProxyModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
        QIdentityProxyModel::revert();
        return;
    }

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQIdentityProxyModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return QIdentityProxyModel::submit();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

QModelIndex sipQIdentityProxyModel::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 QIdentityProxyModel::sibling(a0,a1,a2);

    extern QModelIndex sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

QVariant sipQIdentityProxyModel::headerData(int a0,Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return QIdentityProxyModel::headerData(a0,a1,a2);

    extern QVariant sipVH_QtCore_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_36(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[31],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return QIdentityProxyModel::removeRows(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQIdentityProxyModel::removeColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return QIdentityProxyModel::removeColumns(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(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[33],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return QIdentityProxyModel::insertRows(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(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[34],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return QIdentityProxyModel::insertColumns(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQIdentityProxyModel::setSourceModel(QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setSourceModel);

    if (!sipMeth)
    {
        QIdentityProxyModel::setSourceModel(a0);
        return;
    }

    extern void sipVH_QtCore_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractItemModel*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_40(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[36]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return QIdentityProxyModel::match(a0,a1,a2,a3,a4);

    extern QList<QModelIndex> sipVH_QtCore_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_28(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QItemSelection sipQIdentityProxyModel::mapSelectionToSource(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_mapSelectionToSource);

    if (!sipMeth)
        return QIdentityProxyModel::mapSelectionToSource(a0);

    extern QItemSelection sipVH_QtCore_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_39(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[38]),sipPySelf,NULL,sipName_mapSelectionFromSource);

    if (!sipMeth)
        return QIdentityProxyModel::mapSelectionFromSource(a0);

    extern QItemSelection sipVH_QtCore_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_39(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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[39],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return QIdentityProxyModel::dropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

int sipQIdentityProxyModel::rowCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_rowCount);

    if (!sipMeth)
        return QIdentityProxyModel::rowCount(a0);

    extern int sipVH_QtCore_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_24(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

QModelIndex sipQIdentityProxyModel::parent(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_parent);

    if (!sipMeth)
        return QIdentityProxyModel::parent(a0);

    extern QModelIndex sipVH_QtCore_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_30(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_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_30(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_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_30(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[44]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return QIdentityProxyModel::index(a0,a1,a2);

    extern QModelIndex sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

int sipQIdentityProxyModel::columnCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_columnCount);

    if (!sipMeth)
        return QIdentityProxyModel::columnCount(a0);

    extern int sipVH_QtCore_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_24(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, "QIdentityProxyModel.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 117318 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QIdentityProxyModel.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 117377 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QIdentityProxyModel.timerEvent(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 || sipIsDerived((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, "QIdentityProxyModel.childEvent(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 || sipIsDerived((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, "QIdentityProxyModel.customEvent(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 || sipIsDerived((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, "QIdentityProxyModel.connectNotify(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 || sipIsDerived((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, "QIdentityProxyModel.disconnectNotify(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 || sipIsDerived((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, "QIdentityProxyModel.senderSignalIndex() -> 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, "QIdentityProxyModel.isSignalConnected(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, "QIdentityProxyModel.encodeData(list-of-QModelIndex, 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, "QIdentityProxyModel.decodeData(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, "QIdentityProxyModel.beginInsertRows(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, "QIdentityProxyModel.endInsertRows()");

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, "QIdentityProxyModel.beginRemoveRows(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, "QIdentityProxyModel.endRemoveRows()");

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, "QIdentityProxyModel.beginInsertColumns(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, "QIdentityProxyModel.endInsertColumns()");

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, "QIdentityProxyModel.beginRemoveColumns(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, "QIdentityProxyModel.endRemoveColumns()");

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, "QIdentityProxyModel.persistentIndexList() -> list-of-QModelIndex");

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, "QIdentityProxyModel.changePersistentIndex(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, "QIdentityProxyModel.changePersistentIndexList(list-of-QModelIndex, list-of-QModelIndex)");

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, "QIdentityProxyModel.createIndex(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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 118016 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QIdentityProxyModel.beginMoveRows(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, "QIdentityProxyModel.endMoveRows()");

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, "QIdentityProxyModel.beginMoveColumns(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, "QIdentityProxyModel.endMoveColumns()");

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, "QIdentityProxyModel.beginResetModel()");

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))
        {
            sipCpp->sipProtect_beginResetModel();

            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, "QIdentityProxyModel.endResetModel()");

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))
        {
            sipCpp->sipProtect_endResetModel();

            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, "QIdentityProxyModel.resetInternalData()");

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, "QIdentityProxyModel.columnCount(QModelIndex parent=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 || sipIsDerived((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, "QIdentityProxyModel.index(int, int, QModelIndex parent=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 || sipIsDerived((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, "QIdentityProxyModel.mapFromSource(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 || sipIsDerived((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, "QIdentityProxyModel.mapToSource(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 || sipIsDerived((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, "QIdentityProxyModel.parent(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 || sipIsDerived((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, "QIdentityProxyModel.rowCount(QModelIndex parent=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 || sipIsDerived((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, "QIdentityProxyModel.dropMimeData(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 || sipIsDerived((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, "QIdentityProxyModel.mapSelectionFromSource(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 || sipIsDerived((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, "QIdentityProxyModel.mapSelectionToSource(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 || sipIsDerived((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, "QIdentityProxyModel.match(QModelIndex, int, QVariant, int hits=1, Qt.MatchFlags flags=Qt.MatchStartsWith|Qt.MatchWrap) -> list-of-QModelIndex");

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 || sipIsDerived((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, "QIdentityProxyModel.setSourceModel(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 || sipIsDerived((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, -3, 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, "QIdentityProxyModel.insertColumns(int, int, QModelIndex parent=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 || sipIsDerived((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, "QIdentityProxyModel.insertRows(int, int, QModelIndex parent=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 || sipIsDerived((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, "QIdentityProxyModel.removeColumns(int, int, QModelIndex parent=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 || sipIsDerived((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, "QIdentityProxyModel.removeRows(int, int, QModelIndex parent=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 || sipIsDerived((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, "QIdentityProxyModel.headerData(int, Qt.Orientation, int) -> QVariant");

extern "C" {static PyObject *meth_QIdentityProxyModel_headerData(PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_headerData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        Qt::Orientation a1;
        int a2;
        const QIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiEi", &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, "QIdentityProxyModel.sibling(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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QIdentityProxyModel(void *, const sipTypeDef *);}
static void *cast_QIdentityProxyModel(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QIdentityProxyModel)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractProxyModel)->ctd_cast((QAbstractProxyModel *)(QIdentityProxyModel *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQIdentityProxyModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QIdentityProxyModel(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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), meth_QIdentityProxyModel_headerData, METH_VARARGS, 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(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QIdentityProxyModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QIdentityProxyModel,
        {0}
    },
    {
        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
},
    &QIdentityProxyModel::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qhistorystate.sip"
#include <qhistorystate.h>
#line 118980 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstate.sip"
#include <qstate.h>
#line 118984 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 118987 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 118990 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 118993 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 118996 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 118999 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 119002 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 119005 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 119008 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 119011 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 119014 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 119017 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 119020 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 119023 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 119026 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 119029 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 119032 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 119035 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 119038 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 onExit(QEvent*);
    void onEntry(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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQHistoryState::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QHistoryState);
}

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_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(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_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(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_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(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_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(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_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(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_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQHistoryState::onExit(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_onExit);

    if (!sipMeth)
    {
        QHistoryState::onExit(a0);
        return;
    }

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQHistoryState::onEntry(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_onEntry);

    if (!sipMeth)
    {
        QHistoryState::onEntry(a0);
        return;
    }

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(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, "QHistoryState.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 119397 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QHistoryState.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 119456 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QHistoryState.timerEvent(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 || sipIsDerived((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, "QHistoryState.childEvent(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 || sipIsDerived((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, "QHistoryState.customEvent(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 || sipIsDerived((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, "QHistoryState.connectNotify(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 || sipIsDerived((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, "QHistoryState.disconnectNotify(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 || sipIsDerived((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, "QHistoryState.senderSignalIndex() -> 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, "QHistoryState.isSignalConnected(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, "QHistoryState.defaultState() -> 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, "QHistoryState.setDefaultState(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, -2, 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, "QHistoryState.historyType() -> 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, "QHistoryState.setHistoryType(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, "QHistoryState.onEntry(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 || sipIsDerived((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, "QHistoryState.onExit(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 || sipIsDerived((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, "QHistoryState.event(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 || sipIsDerived((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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QHistoryState(void *, const sipTypeDef *);}
static void *cast_QHistoryState(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QHistoryState)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractState)->ctd_cast((QAbstractState *)(QHistoryState *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQHistoryState *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QHistoryState(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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_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_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), 77},
    {sipName_ShallowHistory, static_cast<int>(QHistoryState::ShallowHistory), 77},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QHistoryState[] = {
    {"historyTypeChanged()", "\1QHistoryState.historyTypeChanged", 0, 0},
    {"defaultStateChanged()", "\1QHistoryState.defaultStateChanged", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QHistoryState, "\1QHistoryState(QState parent=None)\n"
    "QHistoryState(QHistoryState.HistoryType, QState parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QHistoryState = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QHistoryState,
        {0}
    },
    {
        sipNameNr_QHistoryState,
        {0, 0, 1},
        16, 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
},
    &QHistoryState::staticMetaObject,
    0,
    signals_QHistoryState,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfinalstate.sip"
#include <qfinalstate.h>
#line 120052 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstate.sip"
#include <qstate.h>
#line 120056 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 120059 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 120062 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 120065 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 120068 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 120071 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 120074 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 120077 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 120080 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 120083 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 120086 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 120089 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 120092 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 120095 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 120098 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 120101 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 120104 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 120107 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 onExit(QEvent*);
    void onEntry(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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQFinalState::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QFinalState);
}

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_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(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_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(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_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(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_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(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_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(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_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFinalState::onExit(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_onExit);

    if (!sipMeth)
    {
        QFinalState::onExit(a0);
        return;
    }

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFinalState::onEntry(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_onEntry);

    if (!sipMeth)
    {
        QFinalState::onEntry(a0);
        return;
    }

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(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, "QFinalState.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 120460 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QFinalState.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 120519 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QFinalState.timerEvent(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 || sipIsDerived((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, "QFinalState.childEvent(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 || sipIsDerived((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, "QFinalState.customEvent(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 || sipIsDerived((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, "QFinalState.connectNotify(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 || sipIsDerived((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, "QFinalState.disconnectNotify(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 || sipIsDerived((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, "QFinalState.senderSignalIndex() -> 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, "QFinalState.isSignalConnected(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, "QFinalState.onEntry(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 || sipIsDerived((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, "QFinalState.onExit(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 || sipIsDerived((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, "QFinalState.event(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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QFinalState(void *, const sipTypeDef *);}
static void *cast_QFinalState(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QFinalState)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractState)->ctd_cast((QAbstractState *)(QFinalState *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQFinalState *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QFinalState(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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(QState parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QFinalState = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QFinalState,
        {0}
    },
    {
        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
},
    &QFinalState::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfilesystemwatcher.sip"
#include <qfilesystemwatcher.h>
#line 120967 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 120971 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 120974 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 120977 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 120980 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 120983 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 120986 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 120989 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 120992 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 120995 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 120998 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 121001 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 121004 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 121007 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 121010 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 121013 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 121016 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 121019 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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:
    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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQFileSystemWatcher::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QFileSystemWatcher);
}

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));
}

void sipQFileSystemWatcher::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QFileSystemWatcher::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFileSystemWatcher::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QFileSystemWatcher::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFileSystemWatcher::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QFileSystemWatcher::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(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_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFileSystemWatcher::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QFileSystemWatcher::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQFileSystemWatcher::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QFileSystemWatcher::eventFilter(a0,a1);

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQFileSystemWatcher::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QFileSystemWatcher::event(a0);

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return 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, "QFileSystemWatcher.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 121320 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QFileSystemWatcher.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 121379 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QFileSystemWatcher.timerEvent(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 || sipIsDerived((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, "QFileSystemWatcher.childEvent(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 || sipIsDerived((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, "QFileSystemWatcher.customEvent(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 || sipIsDerived((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, "QFileSystemWatcher.connectNotify(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 || sipIsDerived((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, "QFileSystemWatcher.disconnectNotify(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 || sipIsDerived((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, "QFileSystemWatcher.senderSignalIndex() -> 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, "QFileSystemWatcher.isSignalConnected(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, "QFileSystemWatcher.addPath(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, "QFileSystemWatcher.addPaths(list-of-str) -> list-of-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, "QFileSystemWatcher.directories() -> list-of-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, "QFileSystemWatcher.files() -> list-of-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, "QFileSystemWatcher.removePath(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, "QFileSystemWatcher.removePaths(list-of-str) -> list-of-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 superclass hierarchy. */
extern "C" {static void *cast_QFileSystemWatcher(void *, const sipTypeDef *);}
static void *cast_QFileSystemWatcher(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QFileSystemWatcher)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QFileSystemWatcher *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQFileSystemWatcher *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QFileSystemWatcher(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{162, 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}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QFileSystemWatcher[] = {
    {"fileChanged(QString)", "\1QFileSystemWatcher.fileChanged[str]", 0, 0},
    {"directoryChanged(QString)", "\1QFileSystemWatcher.directoryChanged[str]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QFileSystemWatcher, "\1QFileSystemWatcher(QObject parent=None)\n"
    "QFileSystemWatcher(list-of-str, QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QFileSystemWatcher = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QFileSystemWatcher,
        {0}
    },
    {
        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
},
    &QFileSystemWatcher::staticMetaObject,
    0,
    signals_QFileSystemWatcher,
    0
};

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfileselector.sip"
#include <qfileselector.h>
#line 121949 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 121953 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 121956 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 121959 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 121962 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 121965 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 121968 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 121971 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 121974 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 121977 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 121980 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 121983 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 121986 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 121989 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 121992 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 121995 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 121998 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 122001 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 122004 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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:
    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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQFileSelector::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QFileSelector);
}

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));
}

void sipQFileSelector::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QFileSelector::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFileSelector::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QFileSelector::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFileSelector::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QFileSelector::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(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_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFileSelector::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QFileSelector::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQFileSelector::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QFileSelector::eventFilter(a0,a1);

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQFileSelector::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QFileSelector::event(a0);

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return 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, "QFileSelector.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 122299 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QFileSelector.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 122358 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QFileSelector.timerEvent(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 || sipIsDerived((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, "QFileSelector.childEvent(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 || sipIsDerived((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, "QFileSelector.customEvent(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 || sipIsDerived((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, "QFileSelector.connectNotify(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 || sipIsDerived((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, "QFileSelector.disconnectNotify(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 || sipIsDerived((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, "QFileSelector.senderSignalIndex() -> 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, "QFileSelector.isSignalConnected(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, "QFileSelector.select(str) -> str\n"
    "QFileSelector.select(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, "QFileSelector.extraSelectors() -> list-of-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, "QFileSelector.setExtraSelectors(list-of-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, "QFileSelector.allSelectors() -> list-of-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 superclass hierarchy. */
extern "C" {static void *cast_QFileSelector(void *, const sipTypeDef *);}
static void *cast_QFileSelector(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QFileSelector)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QFileSelector *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQFileSelector *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QFileSelector(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{162, 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(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QFileSelector = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QFileSelector,
        {0}
    },
    {
        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
},
    &QFileSelector::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 122850 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 122854 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfile.sip"
#include <qfile.h>
#line 122857 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 122860 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 299 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 122863 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 122866 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QFileInfo_setFile, "QFileInfo.setFile(str)\n"
    "QFileInfo.setFile(QFile)\n"
    "QFileInfo.setFile(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, "QFileInfo.exists() -> bool\n"
    "QFileInfo.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, "QFileInfo.refresh()");

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, "QFileInfo.filePath() -> 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_absoluteFilePath, "QFileInfo.absoluteFilePath() -> 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, "QFileInfo.canonicalFilePath() -> 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, "QFileInfo.fileName() -> 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, "QFileInfo.baseName() -> 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, "QFileInfo.completeBaseName() -> 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, "QFileInfo.suffix() -> 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, "QFileInfo.completeSuffix() -> 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, "QFileInfo.path() -> 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, "QFileInfo.absolutePath() -> 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, "QFileInfo.canonicalPath() -> 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, "QFileInfo.dir() -> 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, "QFileInfo.absoluteDir() -> 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, "QFileInfo.isReadable() -> 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, "QFileInfo.isWritable() -> 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, "QFileInfo.isExecutable() -> 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, "QFileInfo.isHidden() -> 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, "QFileInfo.isRelative() -> 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, "QFileInfo.isAbsolute() -> 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, "QFileInfo.makeAbsolute() -> 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, "QFileInfo.isFile() -> 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, "QFileInfo.isDir() -> 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, "QFileInfo.isSymLink() -> 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, "QFileInfo.isRoot() -> 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, "QFileInfo.owner() -> 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, "QFileInfo.ownerId() -> 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, "QFileInfo.group() -> 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, "QFileInfo.groupId() -> 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, "QFileInfo.permission(QFileDevice.Permissions) -> 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, "QFileInfo.permissions() -> 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, "QFileInfo.size() -> 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, "QFileInfo.created() -> 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, "QFileInfo.lastModified() -> 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, "QFileInfo.lastRead() -> 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, "QFileInfo.caching() -> 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, "QFileInfo.setCaching(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, "QFileInfo.symLinkTarget() -> 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, "QFileInfo.bundleName() -> 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, "QFileInfo.isBundle() -> 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, "QFileInfo.isNativePath() -> 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, "QFileInfo.swap(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);
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QFileInfo(void *, const sipTypeDef *);}
static void *cast_QFileInfo(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QFileInfo)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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_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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QFileInfo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QFileInfo,
        {0}
    },
    {
        sipNameNr_QFileInfo,
        {0, 0, 1},
        44, methods_QFileInfo,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFileInfo,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QFileInfo,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 124408 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 124412 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFileDevice::FileHandleFlags::Int() != 0);
#line 124430 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFileDevice::FileHandleFlags::Int() != a0->operator QFileDevice::FileHandleFlags::Int());
#line 124460 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFileDevice::FileHandleFlags::Int() == a0->operator QFileDevice::FileHandleFlags::Int());
#line 124496 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QFileDevice_FileHandleFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QFileDevice::FileHandleFlags* a0;
        int a0State = 0;
        QFileDevice::FileHandleFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QFileDevice_FileHandleFlags, &a0, &a0State, sipType_QFileDevice_FileHandleFlags, &a1, &a1State))
        {
            QFileDevice::FileHandleFlags*sipRes;

            sipRes = new QFileDevice::FileHandleFlags((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QFileDevice_FileHandleFlags,a0State);
            sipReleaseType(a1,sipType_QFileDevice_FileHandleFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QFileDevice_FileHandleFlags,NULL);
        }
    }

    {
        QFileDevice::FileHandleFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFileDevice_FileHandleFlags, &a0, &a0State, &a1))
        {
            QFileDevice::FileHandleFlags*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QFileDevice::FileHandleFlags(*a0 ^ a1);
#line 124599 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QFileDevice_FileHandleFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QFileDevice::FileHandleFlags* a0;
        int a0State = 0;
        QFileDevice::FileHandleFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QFileDevice_FileHandleFlags, &a0, &a0State, sipType_QFileDevice_FileHandleFlags, &a1, &a1State))
        {
            QFileDevice::FileHandleFlags*sipRes;

            sipRes = new QFileDevice::FileHandleFlags((*a0 | *a1));
            sipReleaseType(a0,sipType_QFileDevice_FileHandleFlags,a0State);
            sipReleaseType(a1,sipType_QFileDevice_FileHandleFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QFileDevice_FileHandleFlags,NULL);
        }
    }

    {
        QFileDevice::FileHandleFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFileDevice_FileHandleFlags, &a0, &a0State, &a1))
        {
            QFileDevice::FileHandleFlags*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QFileDevice::FileHandleFlags(*a0 | a1);
#line 124649 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        QFileDevice::FileHandleFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFileDevice_FileHandleFlags, &a0, &a0State))
        {
            sipCpp->QFileDevice::FileHandleFlags::operator^=(*a0);
            sipReleaseType(a0,sipType_QFileDevice_FileHandleFlags,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_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;

    {
        QFileDevice::FileHandleFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFileDevice_FileHandleFlags, &a0, &a0State))
        {
            sipCpp->QFileDevice::FileHandleFlags::operator|=(*a0);
            sipReleaseType(a0,sipType_QFileDevice_FileHandleFlags,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QFileDevice_FileHandleFlags(void *, const sipTypeDef *);}
static void *cast_QFileDevice_FileHandleFlags(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QFileDevice_FileHandleFlags)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QFileDevice::FileHandleFlags(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QFileDevice::FileHandleFlags();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 124926 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QFileDevice_FileHandleFlags[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QFileDevice_FileHandleFlags___and__, and_slot},
    {(void *)slot_QFileDevice_FileHandleFlags___xor__, xor_slot},
    {(void *)slot_QFileDevice_FileHandleFlags___or__, or_slot},
    {(void *)slot_QFileDevice_FileHandleFlags___int__, int_slot},
    {(void *)slot_QFileDevice_FileHandleFlags___ixor__, ixor_slot},
    {(void *)slot_QFileDevice_FileHandleFlags___ior__, ior_slot},
    {(void *)slot_QFileDevice_FileHandleFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QFileDevice_FileHandleFlags, "\1QFileDevice.FileHandleFlags(QFileDevice.FileHandleFlags)\n"
    "QFileDevice.FileHandleFlags(int)\n"
    "QFileDevice.FileHandleFlags()");


pyqt5ClassTypeDef sipTypeDef_QtCore_QFileDevice_FileHandleFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QFileDevice__FileHandleFlags,
        {0}
    },
    {
        sipNameNr_FileHandleFlags,
        {61, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFileDevice_FileHandleFlags,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QFileDevice_FileHandleFlags,
    convertTo_QFileDevice_FileHandleFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 125008 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 125012 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFileDevice::Permissions::Int() != 0);
#line 125030 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFileDevice::Permissions::Int() != a0->operator QFileDevice::Permissions::Int());
#line 125060 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFileDevice::Permissions::Int() == a0->operator QFileDevice::Permissions::Int());
#line 125096 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QFileDevice_Permissions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QFileDevice::Permissions* a0;
        int a0State = 0;
        QFileDevice::Permissions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QFileDevice_Permissions, &a0, &a0State, sipType_QFileDevice_Permissions, &a1, &a1State))
        {
            QFileDevice::Permissions*sipRes;

            sipRes = new QFileDevice::Permissions((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QFileDevice_Permissions,a0State);
            sipReleaseType(a1,sipType_QFileDevice_Permissions,a1State);

            return sipConvertFromNewType(sipRes,sipType_QFileDevice_Permissions,NULL);
        }
    }

    {
        QFileDevice::Permissions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFileDevice_Permissions, &a0, &a0State, &a1))
        {
            QFileDevice::Permissions*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QFileDevice::Permissions(*a0 ^ a1);
#line 125199 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QFileDevice_Permissions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QFileDevice::Permissions* a0;
        int a0State = 0;
        QFileDevice::Permissions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QFileDevice_Permissions, &a0, &a0State, sipType_QFileDevice_Permissions, &a1, &a1State))
        {
            QFileDevice::Permissions*sipRes;

            sipRes = new QFileDevice::Permissions((*a0 | *a1));
            sipReleaseType(a0,sipType_QFileDevice_Permissions,a0State);
            sipReleaseType(a1,sipType_QFileDevice_Permissions,a1State);

            return sipConvertFromNewType(sipRes,sipType_QFileDevice_Permissions,NULL);
        }
    }

    {
        QFileDevice::Permissions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFileDevice_Permissions, &a0, &a0State, &a1))
        {
            QFileDevice::Permissions*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QFileDevice::Permissions(*a0 | a1);
#line 125249 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        QFileDevice::Permissions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFileDevice_Permissions, &a0, &a0State))
        {
            sipCpp->QFileDevice::Permissions::operator^=(*a0);
            sipReleaseType(a0,sipType_QFileDevice_Permissions,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_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;

    {
        QFileDevice::Permissions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFileDevice_Permissions, &a0, &a0State))
        {
            sipCpp->QFileDevice::Permissions::operator|=(*a0);
            sipReleaseType(a0,sipType_QFileDevice_Permissions,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QFileDevice_Permissions(void *, const sipTypeDef *);}
static void *cast_QFileDevice_Permissions(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QFileDevice_Permissions)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QFileDevice::Permissions(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QFileDevice::Permissions();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 125526 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QFileDevice_Permissions[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QFileDevice_Permissions___and__, and_slot},
    {(void *)slot_QFileDevice_Permissions___xor__, xor_slot},
    {(void *)slot_QFileDevice_Permissions___or__, or_slot},
    {(void *)slot_QFileDevice_Permissions___int__, int_slot},
    {(void *)slot_QFileDevice_Permissions___ixor__, ixor_slot},
    {(void *)slot_QFileDevice_Permissions___ior__, ior_slot},
    {(void *)slot_QFileDevice_Permissions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QFileDevice_Permissions, "\1QFileDevice.Permissions(QFileDevice.Permissions)\n"
    "QFileDevice.Permissions(int)\n"
    "QFileDevice.Permissions()");


pyqt5ClassTypeDef sipTypeDef_QtCore_QFileDevice_Permissions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QFileDevice__Permissions,
        {0}
    },
    {
        sipNameNr_Permissions,
        {61, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFileDevice_Permissions,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QFileDevice_Permissions,
    convertTo_QFileDevice_Permissions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfile.sip"
#include <qfile.h>
#line 125608 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 125612 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 125615 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 125618 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 125621 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 125624 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 125627 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 125630 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 125633 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 125636 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 125639 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 125642 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 125645 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 125648 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 125651 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 125654 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 125657 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 125660 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 125663 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 125666 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 125669 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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 waitForBytesWritten(int);
    bool waitForReadyRead(int);
    bool canReadLine() const;
    qint64 bytesToWrite() const;
    qint64 bytesAvailable() const;
    bool reset();
    qint64 readLineData(char*,qint64);
    qint64 writeData(const char*,PY_LONG_LONG);
    qint64 readData(char*,qint64);
    bool atEnd() const;
    bool seek(qint64);
    qint64 pos() const;
    bool isSequential() const;
    void close();
    bool setPermissions(QFileDevice::Permissions);
    QFileDevice::Permissions permissions() const;
    bool resize(qint64);
    qint64 size() const;
    bool open(QIODevice::OpenMode);
    QString fileName() const;

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQFile::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QFile);
}

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));
}

void sipQFile::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QFile::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFile::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QFile::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFile::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QFile::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFile::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QFile::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFile::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QFile::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQFile::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QFile::eventFilter(a0,a1);

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQFile::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QFile::event(a0);

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQFile::waitForBytesWritten(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_waitForBytesWritten);

    if (!sipMeth)
        return QFile::waitForBytesWritten(a0);

    extern bool sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQFile::waitForReadyRead(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_waitForReadyRead);

    if (!sipMeth)
        return QFile::waitForReadyRead(a0);

    extern bool sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQFile::canReadLine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_canReadLine);

    if (!sipMeth)
        return QFile::canReadLine();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

qint64 sipQFile::bytesToWrite() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_bytesToWrite);

    if (!sipMeth)
        return QFile::bytesToWrite();

    extern PY_LONG_LONG sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

qint64 sipQFile::bytesAvailable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_bytesAvailable);

    if (!sipMeth)
        return QFile::bytesAvailable();

    extern PY_LONG_LONG sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQFile::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
        return QFile::reset();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

qint64 sipQFile::readLineData(char*a0,qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_readLineData);

    if (!sipMeth)
        return QFile::readLineData(a0,a1);

    extern PY_LONG_LONG sipVH_QtCore_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_43(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

qint64 sipQFile::writeData(const char*a0,PY_LONG_LONG a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_writeData);

    if (!sipMeth)
        return QFile::writeData(a0,a1);

    extern PY_LONG_LONG sipVH_QtCore_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*,PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_42(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[15],sipPySelf,NULL,sipName_readData);

    if (!sipMeth)
        return QFile::readData(a0,a1);

    extern PY_LONG_LONG sipVH_QtCore_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_43(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQFile::atEnd() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_atEnd);

    if (!sipMeth)
        return QFile::atEnd();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQFile::seek(qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_seek);

    if (!sipMeth)
        return QFile::seek(a0);

    extern bool sipVH_QtCore_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_53(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

qint64 sipQFile::pos() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_pos);

    if (!sipMeth)
        return QFile::pos();

    extern PY_LONG_LONG sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQFile::isSequential() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_isSequential);

    if (!sipMeth)
        return QFile::isSequential();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQFile::close()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_close);

    if (!sipMeth)
    {
        QFile::close();
        return;
    }

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQFile::setPermissions(QFileDevice::Permissions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_setPermissions);

    if (!sipMeth)
        return QFile::setPermissions(a0);

    extern bool sipVH_QtCore_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFileDevice::Permissions);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_54(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[22]),sipPySelf,NULL,sipName_permissions);

    if (!sipMeth)
        return QFile::permissions();

    extern QFileDevice::Permissions sipVH_QtCore_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_55(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQFile::resize(qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_resize);

    if (!sipMeth)
        return QFile::resize(a0);

    extern bool sipVH_QtCore_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_53(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

qint64 sipQFile::size() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_size);

    if (!sipMeth)
        return QFile::size();

    extern PY_LONG_LONG sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQFile::open(QIODevice::OpenMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
        return QFile::open(a0);

    extern bool sipVH_QtCore_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QIODevice::OpenMode);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_15(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

QString sipQFile::fileName() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_fileName);

    if (!sipMeth)
        return QFile::fileName();

    extern QString sipVH_QtCore_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_16(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

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, "QFile.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 126355 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QFile.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QFile.timerEvent(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 || sipIsDerived((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, "QFile.childEvent(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 || sipIsDerived((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, "QFile.customEvent(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 || sipIsDerived((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, "QFile.connectNotify(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 || sipIsDerived((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, "QFile.disconnectNotify(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 || sipIsDerived((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, "QFile.senderSignalIndex() -> 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, "QFile.isSignalConnected(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, "QFile.setOpenMode(QIODevice.OpenMode)");

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, "QFile.setErrorString(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, "QFile.readData(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 || sipIsDerived((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 108 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 126740 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QFile.writeData(str) -> 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 || sipIsDerived((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, "QFile.readLineData(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 || sipIsDerived((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 147 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 126840 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QFile.fileName() -> 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 || sipIsDerived((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, "QFile.setFileName(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, "QFile.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, "QFile.decodeName(QByteArray) -> str\n"
    "QFile.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, "QFile.exists() -> bool\n"
    "QFile.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, "QFile.symLinkTarget() -> str\n"
    "QFile.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, "QFile.remove() -> bool\n"
    "QFile.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, "QFile.rename(str) -> bool\n"
    "QFile.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, "QFile.link(str) -> bool\n"
    "QFile.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, "QFile.copy(str) -> bool\n"
    "QFile.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, "QFile.open(QIODevice.OpenMode) -> bool\n"
    "QFile.open(int, QIODevice.OpenMode, QFileDevice.FileHandleFlags handleFlags=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 || sipIsDerived((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;

            sipRes = sipCpp->open(a0,*a1,*a2);
            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, "QFile.size() -> 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 || sipIsDerived((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, "QFile.resize(int) -> bool\n"
    "QFile.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 || sipIsDerived((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, "QFile.permissions() -> QFileDevice.Permissions\n"
    "QFile.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 || sipIsDerived((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, "QFile.setPermissions(QFileDevice.Permissions) -> bool\n"
    "QFile.setPermissions(str, QFileDevice.Permissions) -> 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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QFile(void *, const sipTypeDef *);}
static void *cast_QFile(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QFile)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QFileDevice)->ctd_cast((QFileDevice *)(QFile *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQFile *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QFile(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{61, 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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QFile = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QFile,
        {0}
    },
    {
        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
},
    &QFile::staticMetaObject,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 127713 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 127717 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 127720 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 127723 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 127726 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 127729 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 127732 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 127735 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 127738 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 127741 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 127744 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 127747 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 127750 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 127753 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 127756 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 127759 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 127762 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 127765 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 127768 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QFileDevice_error, "QFileDevice.error() -> 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, "QFileDevice.unsetError()");

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, "QFileDevice.close()");

extern "C" {static PyObject *meth_QFileDevice_close(PyObject *, PyObject *);}
static PyObject *meth_QFileDevice_close(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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, "QFileDevice.isSequential() -> 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 || sipIsDerived((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, "QFileDevice.handle() -> 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, "QFileDevice.fileName() -> 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 || sipIsDerived((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, "QFileDevice.pos() -> 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 || sipIsDerived((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, "QFileDevice.seek(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 || sipIsDerived((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, "QFileDevice.atEnd() -> 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 || sipIsDerived((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, "QFileDevice.flush() -> 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, "QFileDevice.size() -> 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 || sipIsDerived((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, "QFileDevice.resize(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 || sipIsDerived((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, "QFileDevice.permissions() -> 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 || sipIsDerived((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, "QFileDevice.setPermissions(QFileDevice.Permissions) -> 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 || sipIsDerived((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, "QFileDevice.map(int, int, QFileDevice.MemoryMapFlags flags=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, "QFileDevice.unmap(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 superclass hierarchy. */
extern "C" {static void *cast_QFileDevice(void *, const sipTypeDef *);}
static void *cast_QFileDevice(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QFileDevice)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QIODevice)->ctd_cast((QIODevice *)(QFileDevice *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsPyOwned(sipSelf))
    {
        release_QFileDevice(sipGetAddress(sipSelf),0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QFileDevice[] = {{78, 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), 62},
    {sipName_AutoCloseHandle, static_cast<int>(QFileDevice::AutoCloseHandle), 63},
    {sipName_CopyError, static_cast<int>(QFileDevice::CopyError), 62},
    {sipName_DontCloseHandle, static_cast<int>(QFileDevice::DontCloseHandle), 63},
    {sipName_ExeGroup, static_cast<int>(QFileDevice::ExeGroup), 66},
    {sipName_ExeOther, static_cast<int>(QFileDevice::ExeOther), 66},
    {sipName_ExeOwner, static_cast<int>(QFileDevice::ExeOwner), 66},
    {sipName_ExeUser, static_cast<int>(QFileDevice::ExeUser), 66},
    {sipName_FatalError, static_cast<int>(QFileDevice::FatalError), 62},
    {sipName_MapPrivateOption, static_cast<int>(QFileDevice::MapPrivateOption), 65},
    {sipName_NoError, static_cast<int>(QFileDevice::NoError), 62},
    {sipName_NoOptions, static_cast<int>(QFileDevice::NoOptions), 65},
    {sipName_OpenError, static_cast<int>(QFileDevice::OpenError), 62},
    {sipName_PermissionsError, static_cast<int>(QFileDevice::PermissionsError), 62},
    {sipName_PositionError, static_cast<int>(QFileDevice::PositionError), 62},
    {sipName_ReadError, static_cast<int>(QFileDevice::ReadError), 62},
    {sipName_ReadGroup, static_cast<int>(QFileDevice::ReadGroup), 66},
    {sipName_ReadOther, static_cast<int>(QFileDevice::ReadOther), 66},
    {sipName_ReadOwner, static_cast<int>(QFileDevice::ReadOwner), 66},
    {sipName_ReadUser, static_cast<int>(QFileDevice::ReadUser), 66},
    {sipName_RemoveError, static_cast<int>(QFileDevice::RemoveError), 62},
    {sipName_RenameError, static_cast<int>(QFileDevice::RenameError), 62},
    {sipName_ResizeError, static_cast<int>(QFileDevice::ResizeError), 62},
    {sipName_ResourceError, static_cast<int>(QFileDevice::ResourceError), 62},
    {sipName_TimeOutError, static_cast<int>(QFileDevice::TimeOutError), 62},
    {sipName_UnspecifiedError, static_cast<int>(QFileDevice::UnspecifiedError), 62},
    {sipName_WriteError, static_cast<int>(QFileDevice::WriteError), 62},
    {sipName_WriteGroup, static_cast<int>(QFileDevice::WriteGroup), 66},
    {sipName_WriteOther, static_cast<int>(QFileDevice::WriteOther), 66},
    {sipName_WriteOwner, static_cast<int>(QFileDevice::WriteOwner), 66},
    {sipName_WriteUser, static_cast<int>(QFileDevice::WriteUser), 66},
};


pyqt5ClassTypeDef sipTypeDef_QtCore_QFileDevice = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QFileDevice,
        {0}
    },
    {
        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
},
    &QFileDevice::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qeventtransition.sip"
#include <qeventtransition.h>
#line 128385 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstate.sip"
#include <qstate.h>
#line 128389 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 128392 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 128395 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 128398 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 128401 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 128404 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 128407 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 128410 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 128413 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 128416 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 128419 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 128422 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 128425 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 128428 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 128431 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 128434 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 128437 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 128440 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 128443 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 128446 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 128449 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 128452 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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*);
    void onTransition(QEvent*);
    bool eventTest(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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQEventTransition::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QEventTransition);
}

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_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(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_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(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_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(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_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(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_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(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_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQEventTransition::onTransition(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_onTransition);

    if (!sipMeth)
    {
        QEventTransition::onTransition(a0);
        return;
    }

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQEventTransition::eventTest(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_eventTest);

    if (!sipMeth)
        return QEventTransition::eventTest(a0);

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(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, "QEventTransition.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 128808 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QEventTransition.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 128867 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QEventTransition.timerEvent(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 || sipIsDerived((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, "QEventTransition.childEvent(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 || sipIsDerived((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, "QEventTransition.customEvent(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 || sipIsDerived((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, "QEventTransition.connectNotify(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 || sipIsDerived((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, "QEventTransition.disconnectNotify(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 || sipIsDerived((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, "QEventTransition.senderSignalIndex() -> 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, "QEventTransition.isSignalConnected(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, "QEventTransition.eventSource() -> 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, "QEventTransition.setEventSource(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, "QEventTransition.eventType() -> 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, "QEventTransition.setEventType(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, "QEventTransition.eventTest(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 || sipIsDerived((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, "QEventTransition.onTransition(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 || sipIsDerived((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, "QEventTransition.event(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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QEventTransition(void *, const sipTypeDef *);}
static void *cast_QEventTransition(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QEventTransition)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractTransition)->ctd_cast((QAbstractTransition *)(QEventTransition *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQEventTransition *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QEventTransition(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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(QState sourceState=None)\n"
    "QEventTransition(QObject, QEvent.Type, QState sourceState=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QEventTransition = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QEventTransition,
        {0}
    },
    {
        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
},
    &QEventTransition::staticMetaObject,
    0,
    0,
    0
};

#line 69 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 129456 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 129460 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 129463 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QEventLoopLocker(void *, const sipTypeDef *);}
static void *cast_QEventLoopLocker(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QEventLoopLocker)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QEventLoopLocker = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QEventLoopLocker,
        {0}
    },
    {
        sipNameNr_QEventLoopLocker,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QEventLoopLocker,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QEventLoopLocker,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 129602 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 129606 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QEventLoop::ProcessEventsFlags::Int() != 0);
#line 129624 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QEventLoop::ProcessEventsFlags::Int() != a0->operator QEventLoop::ProcessEventsFlags::Int());
#line 129654 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QEventLoop::ProcessEventsFlags::Int() == a0->operator QEventLoop::ProcessEventsFlags::Int());
#line 129690 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QEventLoop_ProcessEventsFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QEventLoop::ProcessEventsFlags* a0;
        int a0State = 0;
        QEventLoop::ProcessEventsFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QEventLoop_ProcessEventsFlags, &a0, &a0State, sipType_QEventLoop_ProcessEventsFlags, &a1, &a1State))
        {
            QEventLoop::ProcessEventsFlags*sipRes;

            sipRes = new QEventLoop::ProcessEventsFlags((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QEventLoop_ProcessEventsFlags,a0State);
            sipReleaseType(a1,sipType_QEventLoop_ProcessEventsFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QEventLoop_ProcessEventsFlags,NULL);
        }
    }

    {
        QEventLoop::ProcessEventsFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QEventLoop_ProcessEventsFlags, &a0, &a0State, &a1))
        {
            QEventLoop::ProcessEventsFlags*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QEventLoop::ProcessEventsFlags(*a0 ^ a1);
#line 129793 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QEventLoop_ProcessEventsFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QEventLoop::ProcessEventsFlags* a0;
        int a0State = 0;
        QEventLoop::ProcessEventsFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QEventLoop_ProcessEventsFlags, &a0, &a0State, sipType_QEventLoop_ProcessEventsFlags, &a1, &a1State))
        {
            QEventLoop::ProcessEventsFlags*sipRes;

            sipRes = new QEventLoop::ProcessEventsFlags((*a0 | *a1));
            sipReleaseType(a0,sipType_QEventLoop_ProcessEventsFlags,a0State);
            sipReleaseType(a1,sipType_QEventLoop_ProcessEventsFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QEventLoop_ProcessEventsFlags,NULL);
        }
    }

    {
        QEventLoop::ProcessEventsFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QEventLoop_ProcessEventsFlags, &a0, &a0State, &a1))
        {
            QEventLoop::ProcessEventsFlags*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QEventLoop::ProcessEventsFlags(*a0 | a1);
#line 129843 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        QEventLoop::ProcessEventsFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QEventLoop_ProcessEventsFlags, &a0, &a0State))
        {
            sipCpp->QEventLoop::ProcessEventsFlags::operator^=(*a0);
            sipReleaseType(a0,sipType_QEventLoop_ProcessEventsFlags,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_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;

    {
        QEventLoop::ProcessEventsFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QEventLoop_ProcessEventsFlags, &a0, &a0State))
        {
            sipCpp->QEventLoop::ProcessEventsFlags::operator|=(*a0);
            sipReleaseType(a0,sipType_QEventLoop_ProcessEventsFlags,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QEventLoop_ProcessEventsFlags(void *, const sipTypeDef *);}
static void *cast_QEventLoop_ProcessEventsFlags(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QEventLoop_ProcessEventsFlags)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QEventLoop::ProcessEventsFlags(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QEventLoop::ProcessEventsFlags();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 130120 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QEventLoop_ProcessEventsFlags[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QEventLoop_ProcessEventsFlags___and__, and_slot},
    {(void *)slot_QEventLoop_ProcessEventsFlags___xor__, xor_slot},
    {(void *)slot_QEventLoop_ProcessEventsFlags___or__, or_slot},
    {(void *)slot_QEventLoop_ProcessEventsFlags___int__, int_slot},
    {(void *)slot_QEventLoop_ProcessEventsFlags___ixor__, ixor_slot},
    {(void *)slot_QEventLoop_ProcessEventsFlags___ior__, ior_slot},
    {(void *)slot_QEventLoop_ProcessEventsFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QEventLoop_ProcessEventsFlags, "\1QEventLoop.ProcessEventsFlags(QEventLoop.ProcessEventsFlags)\n"
    "QEventLoop.ProcessEventsFlags(int)\n"
    "QEventLoop.ProcessEventsFlags()");


pyqt5ClassTypeDef sipTypeDef_QtCore_QEventLoop_ProcessEventsFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QEventLoop__ProcessEventsFlags,
        {0}
    },
    {
        sipNameNr_ProcessEventsFlags,
        {55, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QEventLoop_ProcessEventsFlags,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QEventLoop_ProcessEventsFlags,
    convertTo_QEventLoop_ProcessEventsFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 130202 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 130206 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 130209 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 130212 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 130215 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 130218 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 130221 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 130224 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 130227 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 130230 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 130233 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 130236 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 130239 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 130242 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 130245 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 130248 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 130251 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 130254 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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:
    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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQEventLoop::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QEventLoop);
}

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));
}

void sipQEventLoop::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QEventLoop::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQEventLoop::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QEventLoop::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQEventLoop::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QEventLoop::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(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_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQEventLoop::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QEventLoop::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQEventLoop::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QEventLoop::eventFilter(a0,a1);

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQEventLoop::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QEventLoop::event(a0);

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return 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, "QEventLoop.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 130549 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QEventLoop.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 130608 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QEventLoop.timerEvent(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 || sipIsDerived((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, "QEventLoop.childEvent(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 || sipIsDerived((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, "QEventLoop.customEvent(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 || sipIsDerived((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, "QEventLoop.connectNotify(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 || sipIsDerived((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, "QEventLoop.disconnectNotify(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 || sipIsDerived((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, "QEventLoop.senderSignalIndex() -> 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, "QEventLoop.isSignalConnected(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, "QEventLoop.processEvents(QEventLoop.ProcessEventsFlags flags=QEventLoop.AllEvents) -> bool\n"
    "QEventLoop.processEvents(QEventLoop.ProcessEventsFlags, 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_, "QEventLoop.exec_(QEventLoop.ProcessEventsFlags flags=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, "QEventLoop.exec(QEventLoop.ProcessEventsFlags flags=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, "QEventLoop.exit(int returnCode=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, "QEventLoop.isRunning() -> 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, "QEventLoop.wakeUp()");

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, "QEventLoop.quit()");

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, "QEventLoop.event(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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QEventLoop(void *, const sipTypeDef *);}
static void *cast_QEventLoop(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QEventLoop)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QEventLoop *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQEventLoop *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QEventLoop(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{162, 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), 56},
    {sipName_ExcludeSocketNotifiers, static_cast<int>(QEventLoop::ExcludeSocketNotifiers), 56},
    {sipName_ExcludeUserInputEvents, static_cast<int>(QEventLoop::ExcludeUserInputEvents), 56},
    {sipName_WaitForMoreEvents, static_cast<int>(QEventLoop::WaitForMoreEvents), 56},
    {sipName_X11ExcludeTimers, static_cast<int>(QEventLoop::X11ExcludeTimers), 56},
};

PyDoc_STRVAR(doc_QEventLoop, "\1QEventLoop(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QEventLoop = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QEventLoop,
        {0}
    },
    {
        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
},
    &QEventLoop::staticMetaObject,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qelapsedtimer.sip"
#include <qelapsedtimer.h>
#line 131261 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"



PyDoc_STRVAR(doc_QElapsedTimer_clockType, "QElapsedTimer.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, "QElapsedTimer.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, "QElapsedTimer.start()");

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, "QElapsedTimer.restart() -> 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, "QElapsedTimer.invalidate()");

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, "QElapsedTimer.isValid() -> 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, "QElapsedTimer.elapsed() -> 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, "QElapsedTimer.hasExpired(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, "QElapsedTimer.msecsSinceReference() -> 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, "QElapsedTimer.msecsTo(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, "QElapsedTimer.secsTo(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, "QElapsedTimer.nsecsElapsed() -> 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);
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QElapsedTimer(void *, const sipTypeDef *);}
static void *cast_QElapsedTimer(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QElapsedTimer)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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), 52},
    {sipName_MonotonicClock, static_cast<int>(QElapsedTimer::MonotonicClock), 52},
    {sipName_PerformanceCounter, static_cast<int>(QElapsedTimer::PerformanceCounter), 52},
    {sipName_SystemTime, static_cast<int>(QElapsedTimer::SystemTime), 52},
    {sipName_TickCounter, static_cast<int>(QElapsedTimer::TickCounter), 52},
};

PyDoc_STRVAR(doc_QElapsedTimer, "\1QElapsedTimer()\n"
    "QElapsedTimer(QElapsedTimer)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QElapsedTimer = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QElapsedTimer,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QElapsedTimer,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qeasingcurve.sip"
#include <qeasingcurve.h>
#line 131887 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 131891 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 99 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 131894 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 131998 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QEasingCurve_amplitude, "QEasingCurve.amplitude() -> 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, "QEasingCurve.setAmplitude(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, "QEasingCurve.period() -> 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, "QEasingCurve.setPeriod(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, "QEasingCurve.overshoot() -> 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, "QEasingCurve.setOvershoot(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, "QEasingCurve.type() -> 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, "QEasingCurve.setType(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, "QEasingCurve.setCustomType(callable)");

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 232 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 132259 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QEasingCurve.customType() -> callable");

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 262 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 132313 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QEasingCurve.valueForProgress(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, "QEasingCurve.swap(QEasingCurve)");

extern "C" {static PyObject *meth_QEasingCurve_swap(PyObject *, PyObject *);}
static PyObject *meth_QEasingCurve_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QEasingCurve* a0;
        int a0State = 0;
        QEasingCurve *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QEasingCurve, &sipCpp, sipType_QEasingCurve, &a0, &a0State))
        {
            sipCpp->swap(*a0);
            sipReleaseType(a0,sipType_QEasingCurve,a0State);

            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, "QEasingCurve.addCubicBezierSegment(QPointF, QPointF, QPointF)");

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, "QEasingCurve.addTCBSegment(QPointF, 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, "QEasingCurve.toCubicSpline() -> list-of-QPointF");

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);
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QEasingCurve(void *, const sipTypeDef *);}
static void *cast_QEasingCurve(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QEasingCurve)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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 139 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 132661 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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), 50},
    {sipName_CosineCurve, static_cast<int>(QEasingCurve::CosineCurve), 50},
    {sipName_Custom, static_cast<int>(QEasingCurve::Custom), 50},
    {sipName_InBack, static_cast<int>(QEasingCurve::InBack), 50},
    {sipName_InBounce, static_cast<int>(QEasingCurve::InBounce), 50},
    {sipName_InCirc, static_cast<int>(QEasingCurve::InCirc), 50},
    {sipName_InCubic, static_cast<int>(QEasingCurve::InCubic), 50},
    {sipName_InCurve, static_cast<int>(QEasingCurve::InCurve), 50},
    {sipName_InElastic, static_cast<int>(QEasingCurve::InElastic), 50},
    {sipName_InExpo, static_cast<int>(QEasingCurve::InExpo), 50},
    {sipName_InOutBack, static_cast<int>(QEasingCurve::InOutBack), 50},
    {sipName_InOutBounce, static_cast<int>(QEasingCurve::InOutBounce), 50},
    {sipName_InOutCirc, static_cast<int>(QEasingCurve::InOutCirc), 50},
    {sipName_InOutCubic, static_cast<int>(QEasingCurve::InOutCubic), 50},
    {sipName_InOutElastic, static_cast<int>(QEasingCurve::InOutElastic), 50},
    {sipName_InOutExpo, static_cast<int>(QEasingCurve::InOutExpo), 50},
    {sipName_InOutQuad, static_cast<int>(QEasingCurve::InOutQuad), 50},
    {sipName_InOutQuart, static_cast<int>(QEasingCurve::InOutQuart), 50},
    {sipName_InOutQuint, static_cast<int>(QEasingCurve::InOutQuint), 50},
    {sipName_InOutSine, static_cast<int>(QEasingCurve::InOutSine), 50},
    {sipName_InQuad, static_cast<int>(QEasingCurve::InQuad), 50},
    {sipName_InQuart, static_cast<int>(QEasingCurve::InQuart), 50},
    {sipName_InQuint, static_cast<int>(QEasingCurve::InQuint), 50},
    {sipName_InSine, static_cast<int>(QEasingCurve::InSine), 50},
    {sipName_Linear, static_cast<int>(QEasingCurve::Linear), 50},
    {sipName_OutBack, static_cast<int>(QEasingCurve::OutBack), 50},
    {sipName_OutBounce, static_cast<int>(QEasingCurve::OutBounce), 50},
    {sipName_OutCirc, static_cast<int>(QEasingCurve::OutCirc), 50},
    {sipName_OutCubic, static_cast<int>(QEasingCurve::OutCubic), 50},
    {sipName_OutCurve, static_cast<int>(QEasingCurve::OutCurve), 50},
    {sipName_OutElastic, static_cast<int>(QEasingCurve::OutElastic), 50},
    {sipName_OutExpo, static_cast<int>(QEasingCurve::OutExpo), 50},
    {sipName_OutInBack, static_cast<int>(QEasingCurve::OutInBack), 50},
    {sipName_OutInBounce, static_cast<int>(QEasingCurve::OutInBounce), 50},
    {sipName_OutInCirc, static_cast<int>(QEasingCurve::OutInCirc), 50},
    {sipName_OutInCubic, static_cast<int>(QEasingCurve::OutInCubic), 50},
    {sipName_OutInElastic, static_cast<int>(QEasingCurve::OutInElastic), 50},
    {sipName_OutInExpo, static_cast<int>(QEasingCurve::OutInExpo), 50},
    {sipName_OutInQuad, static_cast<int>(QEasingCurve::OutInQuad), 50},
    {sipName_OutInQuart, static_cast<int>(QEasingCurve::OutInQuart), 50},
    {sipName_OutInQuint, static_cast<int>(QEasingCurve::OutInQuint), 50},
    {sipName_OutInSine, static_cast<int>(QEasingCurve::OutInSine), 50},
    {sipName_OutQuad, static_cast<int>(QEasingCurve::OutQuad), 50},
    {sipName_OutQuart, static_cast<int>(QEasingCurve::OutQuart), 50},
    {sipName_OutQuint, static_cast<int>(QEasingCurve::OutQuint), 50},
    {sipName_OutSine, static_cast<int>(QEasingCurve::OutSine), 50},
    {sipName_SineCurve, static_cast<int>(QEasingCurve::SineCurve), 50},
    {sipName_TCBSpline, static_cast<int>(QEasingCurve::TCBSpline), 50},
};

PyDoc_STRVAR(doc_QEasingCurve, "\1QEasingCurve(QEasingCurve.Type type=QEasingCurve.Linear)\n"
    "QEasingCurve(QEasingCurve)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QEasingCurve = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QEasingCurve,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QEasingCurve,
    convertTo_QEasingCurve,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdiriterator.sip"
#include <qdiriterator.h>
#line 132803 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdiriterator.sip"
#include <qdiriterator.h>
#line 132807 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDirIterator::IteratorFlags::Int() != 0);
#line 132825 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDirIterator::IteratorFlags::Int() != a0->operator QDirIterator::IteratorFlags::Int());
#line 132855 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDirIterator::IteratorFlags::Int() == a0->operator QDirIterator::IteratorFlags::Int());
#line 132891 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QDirIterator_IteratorFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QDirIterator::IteratorFlags* a0;
        int a0State = 0;
        QDirIterator::IteratorFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QDirIterator_IteratorFlags, &a0, &a0State, sipType_QDirIterator_IteratorFlags, &a1, &a1State))
        {
            QDirIterator::IteratorFlags*sipRes;

            sipRes = new QDirIterator::IteratorFlags((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QDirIterator_IteratorFlags,a0State);
            sipReleaseType(a1,sipType_QDirIterator_IteratorFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QDirIterator_IteratorFlags,NULL);
        }
    }

    {
        QDirIterator::IteratorFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDirIterator_IteratorFlags, &a0, &a0State, &a1))
        {
            QDirIterator::IteratorFlags*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QDirIterator::IteratorFlags(*a0 ^ a1);
#line 132994 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QDirIterator_IteratorFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QDirIterator::IteratorFlags* a0;
        int a0State = 0;
        QDirIterator::IteratorFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QDirIterator_IteratorFlags, &a0, &a0State, sipType_QDirIterator_IteratorFlags, &a1, &a1State))
        {
            QDirIterator::IteratorFlags*sipRes;

            sipRes = new QDirIterator::IteratorFlags((*a0 | *a1));
            sipReleaseType(a0,sipType_QDirIterator_IteratorFlags,a0State);
            sipReleaseType(a1,sipType_QDirIterator_IteratorFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QDirIterator_IteratorFlags,NULL);
        }
    }

    {
        QDirIterator::IteratorFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDirIterator_IteratorFlags, &a0, &a0State, &a1))
        {
            QDirIterator::IteratorFlags*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QDirIterator::IteratorFlags(*a0 | a1);
#line 133044 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        QDirIterator::IteratorFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDirIterator_IteratorFlags, &a0, &a0State))
        {
            sipCpp->QDirIterator::IteratorFlags::operator^=(*a0);
            sipReleaseType(a0,sipType_QDirIterator_IteratorFlags,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_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;

    {
        QDirIterator::IteratorFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDirIterator_IteratorFlags, &a0, &a0State))
        {
            sipCpp->QDirIterator::IteratorFlags::operator|=(*a0);
            sipReleaseType(a0,sipType_QDirIterator_IteratorFlags,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDirIterator_IteratorFlags(void *, const sipTypeDef *);}
static void *cast_QDirIterator_IteratorFlags(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QDirIterator_IteratorFlags)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QDirIterator::IteratorFlags(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QDirIterator::IteratorFlags();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 133321 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDirIterator_IteratorFlags[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QDirIterator_IteratorFlags___and__, and_slot},
    {(void *)slot_QDirIterator_IteratorFlags___xor__, xor_slot},
    {(void *)slot_QDirIterator_IteratorFlags___or__, or_slot},
    {(void *)slot_QDirIterator_IteratorFlags___int__, int_slot},
    {(void *)slot_QDirIterator_IteratorFlags___ixor__, ixor_slot},
    {(void *)slot_QDirIterator_IteratorFlags___ior__, ior_slot},
    {(void *)slot_QDirIterator_IteratorFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QDirIterator_IteratorFlags, "\1QDirIterator.IteratorFlags(QDirIterator.IteratorFlags)\n"
    "QDirIterator.IteratorFlags(int)\n"
    "QDirIterator.IteratorFlags()");


pyqt5ClassTypeDef sipTypeDef_QtCore_QDirIterator_IteratorFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QDirIterator__IteratorFlags,
        {0}
    },
    {
        sipNameNr_IteratorFlags,
        {45, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDirIterator_IteratorFlags,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QDirIterator_IteratorFlags,
    convertTo_QDirIterator_IteratorFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdiriterator.sip"
#include <qdiriterator.h>
#line 133403 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 133407 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdiriterator.sip"
#include <qdiriterator.h>
#line 133410 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 133413 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 133416 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 133419 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 133422 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QDirIterator_next, "QDirIterator.next() -> 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, "QDirIterator.hasNext() -> 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, "QDirIterator.fileName() -> 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, "QDirIterator.filePath() -> 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, "QDirIterator.fileInfo() -> 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, "QDirIterator.path() -> 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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDirIterator(void *, const sipTypeDef *);}
static void *cast_QDirIterator(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QDirIterator)
        return ptr;

    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 (sipIsPyOwned(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), 46},
    {sipName_NoIteratorFlags, static_cast<int>(QDirIterator::NoIteratorFlags), 46},
    {sipName_Subdirectories, static_cast<int>(QDirIterator::Subdirectories), 46},
};

PyDoc_STRVAR(doc_QDirIterator, "\1QDirIterator(QDir, QDirIterator.IteratorFlags flags=QDirIterator.NoIteratorFlags)\n"
    "QDirIterator(str, QDirIterator.IteratorFlags flags=QDirIterator.NoIteratorFlags)\n"
    "QDirIterator(str, QDir.Filters, QDirIterator.IteratorFlags flags=QDirIterator.NoIteratorFlags)\n"
    "QDirIterator(str, list-of-str, QDir.Filters filters=QDir.NoFilter, QDirIterator.IteratorFlags flags=QDirIterator.NoIteratorFlags)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QDirIterator = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QDirIterator,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QDirIterator,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 133802 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 133806 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDir::SortFlags::Int() != 0);
#line 133824 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDir::SortFlags::Int() != a0->operator QDir::SortFlags::Int());
#line 133854 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDir::SortFlags::Int() == a0->operator QDir::SortFlags::Int());
#line 133890 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QDir_SortFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QDir::SortFlags* a0;
        int a0State = 0;
        QDir::SortFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QDir_SortFlags, &a0, &a0State, sipType_QDir_SortFlags, &a1, &a1State))
        {
            QDir::SortFlags*sipRes;

            sipRes = new QDir::SortFlags((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QDir_SortFlags,a0State);
            sipReleaseType(a1,sipType_QDir_SortFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QDir_SortFlags,NULL);
        }
    }

    {
        QDir::SortFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDir_SortFlags, &a0, &a0State, &a1))
        {
            QDir::SortFlags*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QDir::SortFlags(*a0 ^ a1);
#line 133993 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QDir_SortFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QDir::SortFlags* a0;
        int a0State = 0;
        QDir::SortFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QDir_SortFlags, &a0, &a0State, sipType_QDir_SortFlags, &a1, &a1State))
        {
            QDir::SortFlags*sipRes;

            sipRes = new QDir::SortFlags((*a0 | *a1));
            sipReleaseType(a0,sipType_QDir_SortFlags,a0State);
            sipReleaseType(a1,sipType_QDir_SortFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QDir_SortFlags,NULL);
        }
    }

    {
        QDir::SortFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDir_SortFlags, &a0, &a0State, &a1))
        {
            QDir::SortFlags*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QDir::SortFlags(*a0 | a1);
#line 134043 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        QDir::SortFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDir_SortFlags, &a0, &a0State))
        {
            sipCpp->QDir::SortFlags::operator^=(*a0);
            sipReleaseType(a0,sipType_QDir_SortFlags,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_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;

    {
        QDir::SortFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDir_SortFlags, &a0, &a0State))
        {
            sipCpp->QDir::SortFlags::operator|=(*a0);
            sipReleaseType(a0,sipType_QDir_SortFlags,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDir_SortFlags(void *, const sipTypeDef *);}
static void *cast_QDir_SortFlags(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QDir_SortFlags)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QDir::SortFlags(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QDir::SortFlags();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 134320 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDir_SortFlags[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QDir_SortFlags___and__, and_slot},
    {(void *)slot_QDir_SortFlags___xor__, xor_slot},
    {(void *)slot_QDir_SortFlags___or__, or_slot},
    {(void *)slot_QDir_SortFlags___int__, int_slot},
    {(void *)slot_QDir_SortFlags___ixor__, ixor_slot},
    {(void *)slot_QDir_SortFlags___ior__, ior_slot},
    {(void *)slot_QDir_SortFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QDir_SortFlags, "\1QDir.SortFlags(QDir.SortFlags)\n"
    "QDir.SortFlags(int)\n"
    "QDir.SortFlags()");


pyqt5ClassTypeDef sipTypeDef_QtCore_QDir_SortFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QDir__SortFlags,
        {0}
    },
    {
        sipNameNr_SortFlags,
        {40, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDir_SortFlags,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QDir_SortFlags,
    convertTo_QDir_SortFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 134402 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 134406 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDir::Filters::Int() != 0);
#line 134424 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDir::Filters::Int() != a0->operator QDir::Filters::Int());
#line 134454 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDir::Filters::Int() == a0->operator QDir::Filters::Int());
#line 134490 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QDir_Filters___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QDir::Filters* a0;
        int a0State = 0;
        QDir::Filters* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QDir_Filters, &a0, &a0State, sipType_QDir_Filters, &a1, &a1State))
        {
            QDir::Filters*sipRes;

            sipRes = new QDir::Filters((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QDir_Filters,a0State);
            sipReleaseType(a1,sipType_QDir_Filters,a1State);

            return sipConvertFromNewType(sipRes,sipType_QDir_Filters,NULL);
        }
    }

    {
        QDir::Filters* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDir_Filters, &a0, &a0State, &a1))
        {
            QDir::Filters*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QDir::Filters(*a0 ^ a1);
#line 134593 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QDir_Filters___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QDir::Filters* a0;
        int a0State = 0;
        QDir::Filters* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QDir_Filters, &a0, &a0State, sipType_QDir_Filters, &a1, &a1State))
        {
            QDir::Filters*sipRes;

            sipRes = new QDir::Filters((*a0 | *a1));
            sipReleaseType(a0,sipType_QDir_Filters,a0State);
            sipReleaseType(a1,sipType_QDir_Filters,a1State);

            return sipConvertFromNewType(sipRes,sipType_QDir_Filters,NULL);
        }
    }

    {
        QDir::Filters* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDir_Filters, &a0, &a0State, &a1))
        {
            QDir::Filters*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QDir::Filters(*a0 | a1);
#line 134643 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        QDir::Filters* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDir_Filters, &a0, &a0State))
        {
            sipCpp->QDir::Filters::operator^=(*a0);
            sipReleaseType(a0,sipType_QDir_Filters,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_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;

    {
        QDir::Filters* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDir_Filters, &a0, &a0State))
        {
            sipCpp->QDir::Filters::operator|=(*a0);
            sipReleaseType(a0,sipType_QDir_Filters,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDir_Filters(void *, const sipTypeDef *);}
static void *cast_QDir_Filters(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QDir_Filters)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QDir::Filters(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QDir::Filters();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 134920 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDir_Filters[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QDir_Filters___and__, and_slot},
    {(void *)slot_QDir_Filters___xor__, xor_slot},
    {(void *)slot_QDir_Filters___or__, or_slot},
    {(void *)slot_QDir_Filters___int__, int_slot},
    {(void *)slot_QDir_Filters___ixor__, ixor_slot},
    {(void *)slot_QDir_Filters___ior__, ior_slot},
    {(void *)slot_QDir_Filters___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QDir_Filters, "\1QDir.Filters(QDir.Filters)\n"
    "QDir.Filters(int)\n"
    "QDir.Filters()");


pyqt5ClassTypeDef sipTypeDef_QtCore_QDir_Filters = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QDir__Filters,
        {0}
    },
    {
        sipNameNr_Filters,
        {40, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDir_Filters,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QDir_Filters,
    convertTo_QDir_Filters,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 135002 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 135006 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 135009 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 135012 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 135015 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 135018 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 135021 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 135024 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QDir_setPath, "QDir.setPath(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, "QDir.path() -> 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, "QDir.absolutePath() -> 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, "QDir.canonicalPath() -> 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, "QDir.dirName() -> 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, "QDir.filePath(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, "QDir.absoluteFilePath(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, "QDir.relativeFilePath(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, "QDir.cd(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, "QDir.cdUp() -> 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, "QDir.nameFilters() -> list-of-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, "QDir.setNameFilters(list-of-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, "QDir.filter() -> 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, "QDir.setFilter(QDir.Filters)");

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, "QDir.sorting() -> 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, "QDir.setSorting(QDir.SortFlags)");

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, "QDir.count() -> 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, "QDir.nameFiltersFromString(str) -> list-of-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, "QDir.entryList(QDir.Filters filters=QDir.NoFilter, QDir.SortFlags sort=QDir.NoSort) -> list-of-str\n"
    "QDir.entryList(list-of-str, QDir.Filters filters=QDir.NoFilter, QDir.SortFlags sort=QDir.NoSort) -> list-of-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, "QDir.entryInfoList(QDir.Filters filters=QDir.NoFilter, QDir.SortFlags sort=QDir.NoSort) -> list-of-QFileInfo\n"
    "QDir.entryInfoList(list-of-str, QDir.Filters filters=QDir.NoFilter, QDir.SortFlags sort=QDir.NoSort) -> list-of-QFileInfo");

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, "QDir.mkdir(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, "QDir.rmdir(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, "QDir.mkpath(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, "QDir.rmpath(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, "QDir.isReadable() -> 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, "QDir.exists() -> bool\n"
    "QDir.exists(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, "QDir.isRoot() -> 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, "QDir.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, "QDir.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, "QDir.isRelative() -> 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, "QDir.isAbsolute() -> 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, "QDir.makeAbsolute() -> 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, "QDir.remove(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, "QDir.rename(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, "QDir.refresh()");

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, "QDir.drives() -> list-of-QFileInfo");

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, "QDir.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, "QDir.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, "QDir.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, "QDir.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, "QDir.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, "QDir.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, "QDir.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, "QDir.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, "QDir.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, "QDir.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, "QDir.match(list-of-str, str) -> bool\n"
    "QDir.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, "QDir.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, "QDir.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, "QDir.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, "QDir.setSearchPaths(str, list-of-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, "QDir.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, "QDir.searchPaths(str) -> list-of-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, "QDir.removeRecursively() -> 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, "QDir.swap(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;
}


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 134 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdir.sip"
        sipRes = bool(sipCpp->entryList().contains(*a0));
#line 136769 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdir.sip"
        SIP_SSIZE_T idx = sipConvertFromSequenceIndex(a0, sipCpp->count());
        
        if (idx < 0)
            sipIsErr = 1;
        else
            sipRes = new QString(sipCpp->operator[]((int)idx));
#line 136808 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 110 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdir.sip"
        SIP_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 136846 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 136877 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDir(void *, const sipTypeDef *);}
static void *cast_QDir(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QDir)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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_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_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), 41},
    {sipName_AllDirs, static_cast<int>(QDir::AllDirs), 41},
    {sipName_AllEntries, static_cast<int>(QDir::AllEntries), 41},
    {sipName_CaseSensitive, static_cast<int>(QDir::CaseSensitive), 41},
    {sipName_Dirs, static_cast<int>(QDir::Dirs), 41},
    {sipName_DirsFirst, static_cast<int>(QDir::DirsFirst), 43},
    {sipName_DirsLast, static_cast<int>(QDir::DirsLast), 43},
    {sipName_Drives, static_cast<int>(QDir::Drives), 41},
    {sipName_Executable, static_cast<int>(QDir::Executable), 41},
    {sipName_Files, static_cast<int>(QDir::Files), 41},
    {sipName_Hidden, static_cast<int>(QDir::Hidden), 41},
    {sipName_IgnoreCase, static_cast<int>(QDir::IgnoreCase), 43},
    {sipName_LocaleAware, static_cast<int>(QDir::LocaleAware), 43},
    {sipName_Modified, static_cast<int>(QDir::Modified), 41},
    {sipName_Name, static_cast<int>(QDir::Name), 43},
    {sipName_NoDot, static_cast<int>(QDir::NoDot), 41},
    {sipName_NoDotAndDotDot, static_cast<int>(QDir::NoDotAndDotDot), 41},
    {sipName_NoDotDot, static_cast<int>(QDir::NoDotDot), 41},
    {sipName_NoFilter, static_cast<int>(QDir::NoFilter), 41},
    {sipName_NoSort, static_cast<int>(QDir::NoSort), 43},
    {sipName_NoSymLinks, static_cast<int>(QDir::NoSymLinks), 41},
    {sipName_PermissionMask, static_cast<int>(QDir::PermissionMask), 41},
    {sipName_Readable, static_cast<int>(QDir::Readable), 41},
    {sipName_Reversed, static_cast<int>(QDir::Reversed), 43},
    {sipName_Size, static_cast<int>(QDir::Size), 43},
    {sipName_SortByMask, static_cast<int>(QDir::SortByMask), 43},
    {sipName_System, static_cast<int>(QDir::System), 41},
    {sipName_Time, static_cast<int>(QDir::Time), 43},
    {sipName_Type, static_cast<int>(QDir::Type), 43},
    {sipName_TypeMask, static_cast<int>(QDir::TypeMask), 41},
    {sipName_Unsorted, static_cast<int>(QDir::Unsorted), 43},
    {sipName_Writable, static_cast<int>(QDir::Writable), 41},
};

PyDoc_STRVAR(doc_QDir, "\1QDir(QDir)\n"
    "QDir(str path='')\n"
    "QDir(str, str, QDir.SortFlags sort=QDir.Name|QDir.IgnoreCase, QDir.Filters filters=QDir.AllEntries)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QDir = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QDir,
        {0}
    },
    {
        sipNameNr_QDir,
        {0, 0, 1},
        55, methods_QDir,
        32, enummembers_QDir,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDir,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QDir,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 299 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 137172 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 137176 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 157 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 137179 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 137182 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtimezone.sip"
#include <qtimezone.h>
#line 137185 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 137188 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 303 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
#include <QHash>
#include <datetime.h>
#line 137192 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QDateTime_toPyDateTime, "QDateTime.toPyDateTime() -> 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 434 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
        if (!PyDateTimeAPI)
            PyDateTime_IMPORT;
        
        // Convert to a Python datetime object.
        QDate qd = sipCpp->date();
        QTime qt = sipCpp->time();
        
        sipRes = PyDateTime_FromDateAndTime(qd.year(), qd.month(), qd.day(),
                                            qt.hour(), qt.minute(), qt.second(), qt.msec() * 1000);
#line 137219 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDateTime.isNull() -> 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, "QDateTime.isValid() -> 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, "QDateTime.date() -> 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, "QDateTime.time() -> 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, "QDateTime.timeSpec() -> 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, "QDateTime.toTime_t() -> 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, "QDateTime.setDate(QDate)");

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, "QDateTime.setTime(QTime)");

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, "QDateTime.setTimeSpec(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, "QDateTime.setTime_t(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, "QDateTime.toString(Qt.DateFormat format=Qt.TextDate) -> str\n"
    "QDateTime.toString(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, "QDateTime.addDays(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, "QDateTime.addMonths(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, "QDateTime.addYears(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, "QDateTime.addSecs(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, "QDateTime.addMSecs(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, "QDateTime.toTimeSpec(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, "QDateTime.toLocalTime() -> 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, "QDateTime.toUTC() -> 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, "QDateTime.daysTo(QDateTime) -> 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, "QDateTime.secsTo(QDateTime) -> 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, "QDateTime.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, "QDateTime.fromString(str, Qt.DateFormat format=Qt.TextDate) -> QDateTime\n"
    "QDateTime.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, "QDateTime.fromTime_t(int) -> QDateTime\n"
    "QDateTime.fromTime_t(int, Qt.TimeSpec, int offsetSeconds=0) -> QDateTime\n"
    "QDateTime.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, "QDateTime.toMSecsSinceEpoch() -> 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, "QDateTime.setMSecsSinceEpoch(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, "QDateTime.msecsTo(QDateTime) -> 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, "QDateTime.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, "QDateTime.fromMSecsSinceEpoch(int) -> QDateTime\n"
    "QDateTime.fromMSecsSinceEpoch(int, Qt.TimeSpec, int offsetSeconds=0) -> QDateTime\n"
    "QDateTime.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, "QDateTime.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, "QDateTime.swap(QDateTime)");

extern "C" {static PyObject *meth_QDateTime_swap(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDateTime* a0;
        int a0State = 0;
        QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDateTime, &sipCpp, sipType_QDateTime, &a0, &a0State))
        {
            sipCpp->swap(*a0);
            sipReleaseType(a0,sipType_QDateTime,a0State);

            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, "QDateTime.offsetFromUtc() -> 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, "QDateTime.timeZone() -> 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, "QDateTime.timeZoneAbbreviation() -> 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, "QDateTime.isDaylightTime() -> 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, "QDateTime.setOffsetFromUtc(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, "QDateTime.setTimeZone(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, "QDateTime.toOffsetFromUtc(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, "QDateTime.toTimeZone(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;
}


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 448 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
        sipRes = !sipCpp->isNull();
#line 138644 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 429 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
        sipRes = qHash(sipCpp->toString(Qt::ISODate));
#line 138669 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 366 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 138752 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDateTime(void *, const sipTypeDef *);}
static void *cast_QDateTime(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QDateTime)
        return ptr;

    return NULL;
}


/* 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 341 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 138794 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (sipIsPyOwned(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_s,
            sipName_msec,
            sipName_timeSpec,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "iiiii|iii", &a0, &a1, &a2, &a3, &a4, &a5, &a6, &a7))
        {
#line 356 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 138923 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 308 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
if (!PyDateTimeAPI)
    PyDateTime_IMPORT;

// Allow a Python datetime object whenever a QDateTime is expected.

if (sipIsErr == NULL)
    return (PyDateTime_Check(sipPy) ||
            sipCanConvertToType(sipPy, sipType_QDateTime, SIP_NO_CONVERTORS));

if (PyDateTime_Check(sipPy))
{
    QDate qdate(PyDateTime_GET_YEAR(sipPy),
                PyDateTime_GET_MONTH(sipPy),
                PyDateTime_GET_DAY(sipPy));

    QTime qtime(PyDateTime_DATE_GET_HOUR(sipPy),
                PyDateTime_DATE_GET_MINUTE(sipPy),
                PyDateTime_DATE_GET_SECOND(sipPy),
                PyDateTime_DATE_GET_MICROSECOND(sipPy) / 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 139004 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_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_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_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_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(QDateTime)\n"
    "QDateTime(QDate)\n"
    "QDateTime(QDate, QTime, Qt.TimeSpec timeSpec=Qt.LocalTime)\n"
    "QDateTime(int, int, int, int, int, int s=0, int msec=0, int timeSpec=0)\n"
    "QDateTime(QDate, QTime, Qt.TimeSpec, int)\n"
    "QDateTime(QDate, QTime, QTimeZone)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QDateTime = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QDateTime,
        {0}
    },
    {
        sipNameNr_QDateTime,
        {0, 0, 1},
        40, methods_QDateTime,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDateTime,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QDateTime,
    convertTo_QDateTime,
    0,
    0,
    pickle_QDateTime,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 157 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 139132 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 139136 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 139139 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 161 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
#include <QHash>
#include <datetime.h>
#line 139143 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QTime_toPyTime, "QTime.toPyTime() -> 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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
        if (!PyDateTimeAPI)
            PyDateTime_IMPORT;
        
        // Convert to a Python time object.
        sipRes = PyTime_FromTime(sipCpp->hour(), sipCpp->minute(), sipCpp->second(), sipCpp->msec() * 1000);
#line 139166 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QTime.isNull() -> 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, "QTime.isValid() -> bool\n"
    "QTime.isValid(int, int, int, int msec=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, "QTime.hour() -> 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, "QTime.minute() -> 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, "QTime.second() -> 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, "QTime.msec() -> 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, "QTime.toString(Qt.DateFormat format=Qt.TextDate) -> str\n"
    "QTime.toString(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, "QTime.setHMS(int, int, int, int msec=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, "QTime.addSecs(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, "QTime.secsTo(QTime) -> 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, "QTime.addMSecs(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, "QTime.msecsTo(QTime) -> 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, "QTime.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, "QTime.fromString(str, Qt.DateFormat format=Qt.TextDate) -> QTime\n"
    "QTime.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, "QTime.start()");

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, "QTime.restart() -> 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, "QTime.elapsed() -> 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, "QTime.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, "QTime.msecsSinceStartOfDay() -> 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 260 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
        sipRes = !sipCpp->isNull();
#line 140000 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
        sipRes = qHash(sipCpp->toString(Qt::ISODate));
#line 140025 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 140091 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QTime(void *, const sipTypeDef *);}
static void *cast_QTime(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QTime)
        return ptr;

    return NULL;
}


/* 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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
    sipRes = Py_BuildValue((char *)"iiii", sipCpp->hour(), sipCpp->minute(), sipCpp->second(), sipCpp->msec());
#line 140128 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (sipIsPyOwned(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 166 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
if (!PyDateTimeAPI)
    PyDateTime_IMPORT;

// Allow a Python time object whenever a QTime is expected.

if (sipIsErr == NULL)
    return (PyTime_Check(sipPy) ||
            sipCanConvertToType(sipPy, sipType_QTime, SIP_NO_CONVERTORS));

if (PyTime_Check(sipPy))
{
    *sipCppPtr = new QTime(PyDateTime_TIME_GET_HOUR(sipPy),
                           PyDateTime_TIME_GET_MINUTE(sipPy),
                           PyDateTime_TIME_GET_SECOND(sipPy),
                           PyDateTime_TIME_GET_MICROSECOND(sipPy) / 1000);

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QTime *>(sipConvertToType(sipPy, sipType_QTime, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 140245 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, int second=0, int msec=0)\n"
    "QTime(QTime)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QTime = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTime,
        {0}
    },
    {
        sipNameNr_QTime,
        {0, 0, 1},
        20, methods_QTime,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTime,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QTime,
    convertTo_QTime,
    0,
    0,
    pickle_QTime,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 140349 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 140353 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 140356 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
#include <QHash>
#include <datetime.h>
#line 140360 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QDate_toPyDate, "QDate.toPyDate() -> 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 99 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
        if (!PyDateTimeAPI)
            PyDateTime_IMPORT;
        
        // Convert to a Python date object.
        sipRes = PyDate_FromDate(sipCpp->year(), sipCpp->month(), sipCpp->day());
#line 140383 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDate.isNull() -> 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, "QDate.isValid() -> bool\n"
    "QDate.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, "QDate.year() -> 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, "QDate.month() -> 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, "QDate.day() -> 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, "QDate.dayOfWeek() -> 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, "QDate.dayOfYear() -> 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, "QDate.daysInMonth() -> 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, "QDate.daysInYear() -> 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, "QDate.weekNumber() -> (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, "QDate.shortMonthName(int, QDate.MonthNameType type=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, "QDate.shortDayName(int, QDate.MonthNameType type=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, "QDate.longMonthName(int, QDate.MonthNameType type=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, "QDate.longDayName(int, QDate.MonthNameType type=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, "QDate.toString(Qt.DateFormat format=Qt.TextDate) -> str\n"
    "QDate.toString(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, "QDate.addDays(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, "QDate.addMonths(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, "QDate.addYears(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, "QDate.daysTo(QDate) -> 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, "QDate.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, "QDate.fromString(str, Qt.DateFormat format=Qt.TextDate) -> QDate\n"
    "QDate.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, "QDate.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, "QDate.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, "QDate.toJulianDay() -> 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, "QDate.setDate(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, "QDate.getDate() -> (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;
        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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
        sipRes = !sipCpp->isNull();
#line 141415 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 94 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
        sipRes = qHash(sipCpp->toString(Qt::ISODate));
#line 141440 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 71 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 141483 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDate(void *, const sipTypeDef *);}
static void *cast_QDate(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QDate)
        return ptr;

    return NULL;
}


/* 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 63 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
    sipRes = Py_BuildValue((char *)"iii", sipCpp->year(), sipCpp->month(), sipCpp->day());
#line 141520 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (sipIsPyOwned(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 39 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
if (!PyDateTimeAPI)
    PyDateTime_IMPORT;

// Allow a Python date object whenever a QDate is expected.

if (sipIsErr == NULL)
    return (PyDate_Check(sipPy) ||
            sipCanConvertToType(sipPy, sipType_QDate, SIP_NO_CONVERTORS));

if (PyDate_Check(sipPy))
{
    *sipCppPtr = new QDate(PyDateTime_GET_YEAR(sipPy),
                           PyDateTime_GET_MONTH(sipPy),
                           PyDateTime_GET_DAY(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QDate *>(sipConvertToType(sipPy, sipType_QDate, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 141628 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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), 38},
    {sipName_StandaloneFormat, static_cast<int>(QDate::StandaloneFormat), 38},
};

PyDoc_STRVAR(doc_QDate, "\1QDate()\n"
    "QDate(int, int, int)\n"
    "QDate(QDate)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QDate = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QDate,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QDate,
    convertTo_QDate,
    0,
    0,
    pickle_QDate,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 141744 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 141748 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 141751 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 141754 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbitarray.sip"
#include <qbitarray.h>
#line 141757 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 141760 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 157 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 141763 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 299 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 141766 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qeasingcurve.sip"
#include <qeasingcurve.h>
#line 141769 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qline.sip"
#include <qline.h>
#line 141772 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 96 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qline.sip"
#include <qline.h>
#line 141775 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 141778 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 141781 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 141784 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 141787 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 99 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 141790 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 141793 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 165 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 141796 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 141799 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 141802 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 141805 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 101 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 141808 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtimezone.sip"
#include <qtimezone.h>
#line 141811 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 141814 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/quuid.sip"
#include <quuid.h>
#line 141817 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 141820 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 141823 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 141826 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 141829 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 141832 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 141835 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QDataStream_device, "QDataStream.device() -> 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, "QDataStream.setDevice(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, "QDataStream.atEnd() -> 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, "QDataStream.status() -> 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, "QDataStream.setStatus(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, "QDataStream.resetStatus()");

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, "QDataStream.byteOrder() -> 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, "QDataStream.setByteOrder(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, "QDataStream.version() -> 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, "QDataStream.setVersion(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, "QDataStream.skipRawData(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, "QDataStream.readInt() -> 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 96 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 142155 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.readInt8() -> 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 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 142186 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.readUInt8() -> 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 110 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 142217 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.readInt16() -> 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 117 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 142252 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.readUInt16() -> 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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 142283 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.readInt32() -> 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 131 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 142318 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.readUInt32() -> 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 138 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 142349 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.readInt64() -> 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 145 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 142380 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.readUInt64() -> 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 152 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 142411 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.readBool() -> 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 159 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 142442 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.readFloat() -> 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 166 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 142473 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.readDouble() -> 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 173 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 142504 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.readString() -> 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 180 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 142548 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.writeInt(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 200 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 142578 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.writeInt8(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 207 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 142609 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.writeUInt8(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 214 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 142640 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.writeInt16(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 221 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 142671 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.writeUInt16(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 228 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 142702 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.writeInt32(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 235 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 142733 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.writeUInt32(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 242 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 142764 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.writeInt64(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 249 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 142795 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.writeUInt64(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 256 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 142826 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.writeBool(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 263 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 142857 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.writeFloat(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 270 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 142888 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.writeDouble(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 277 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 142919 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.writeString(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 284 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 142950 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.readQString() -> 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 291 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    sipRes = new QString;

    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> *sipRes;
    Py_END_ALLOW_THREADS
#line 142984 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.writeQString(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 300 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << *a0;
    Py_END_ALLOW_THREADS
#line 143015 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.readQStringList() -> list-of-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 307 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    sipRes = new QStringList;

    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> *sipRes;
    Py_END_ALLOW_THREADS
#line 143050 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.writeQStringList(list-of-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 316 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << *a0;
    Py_END_ALLOW_THREADS
#line 143081 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.readQVariant() -> QVariant");

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 323 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    sipRes = new QVariant;

    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> *sipRes;
    Py_END_ALLOW_THREADS
#line 143116 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.writeQVariant(QVariant)");

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 332 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << *a0;
    Py_END_ALLOW_THREADS
#line 143147 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.readQVariantList() -> list-of-object");

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 339 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    sipRes = new QVariantList;

    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> *sipRes;
    Py_END_ALLOW_THREADS
#line 143182 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.writeQVariantList(list-of-object)");

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 348 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << *a0;
    Py_END_ALLOW_THREADS
#line 143213 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.readQVariantMap() -> dict-of-str-object");

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 355 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    sipRes = new QVariantMap;

    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> *sipRes;
    Py_END_ALLOW_THREADS
#line 143248 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.writeQVariantMap(dict-of-str-object)");

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 364 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << *a0;
    Py_END_ALLOW_THREADS
#line 143279 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.readQVariantHash() -> dict-of-str-object");

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 371 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    sipRes = new QVariantHash;

    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> *sipRes;
    Py_END_ALLOW_THREADS
#line 143314 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.writeQVariantHash(dict-of-str-object)");

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 380 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << *a0;
    Py_END_ALLOW_THREADS
#line 143345 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.readBytes() -> 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 386 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 143388 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.readRawData(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 402 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 143433 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QDataStream.writeBytes(str) -> 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, "QDataStream.writeRawData(str) -> 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, "QDataStream.floatingPointPrecision() -> 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, "QDataStream.setFloatingPointPrecision(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;
}


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);
        }
    }

    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);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,rshift_slot,NULL,sipArg0,sipArg1);
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDataStream(void *, const sipTypeDef *);}
static void *cast_QDataStream(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QDataStream)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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_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_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_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_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), 33},
    {sipName_DoublePrecision, static_cast<int>(QDataStream::DoublePrecision), 34},
    {sipName_LittleEndian, static_cast<int>(QDataStream::LittleEndian), 33},
    {sipName_Ok, static_cast<int>(QDataStream::Ok), 35},
    {sipName_Qt_1_0, static_cast<int>(QDataStream::Qt_1_0), 36},
    {sipName_Qt_2_0, static_cast<int>(QDataStream::Qt_2_0), 36},
    {sipName_Qt_2_1, static_cast<int>(QDataStream::Qt_2_1), 36},
    {sipName_Qt_3_0, static_cast<int>(QDataStream::Qt_3_0), 36},
    {sipName_Qt_3_1, static_cast<int>(QDataStream::Qt_3_1), 36},
    {sipName_Qt_3_3, static_cast<int>(QDataStream::Qt_3_3), 36},
    {sipName_Qt_4_0, static_cast<int>(QDataStream::Qt_4_0), 36},
    {sipName_Qt_4_1, static_cast<int>(QDataStream::Qt_4_1), 36},
    {sipName_Qt_4_2, static_cast<int>(QDataStream::Qt_4_2), 36},
    {sipName_Qt_4_3, static_cast<int>(QDataStream::Qt_4_3), 36},
    {sipName_Qt_4_4, static_cast<int>(QDataStream::Qt_4_4), 36},
    {sipName_Qt_4_5, static_cast<int>(QDataStream::Qt_4_5), 36},
    {sipName_Qt_4_6, static_cast<int>(QDataStream::Qt_4_6), 36},
    {sipName_Qt_4_7, static_cast<int>(QDataStream::Qt_4_7), 36},
    {sipName_Qt_4_8, static_cast<int>(QDataStream::Qt_4_8), 36},
    {sipName_Qt_4_9, static_cast<int>(QDataStream::Qt_4_9), 36},
    {sipName_Qt_5_0, static_cast<int>(QDataStream::Qt_5_0), 36},
    {sipName_Qt_5_1, static_cast<int>(QDataStream::Qt_5_1), 36},
    {sipName_Qt_5_2, static_cast<int>(QDataStream::Qt_5_2), 36},
    {sipName_Qt_5_3, static_cast<int>(QDataStream::Qt_5_3), 36},
    {sipName_Qt_5_4, static_cast<int>(QDataStream::Qt_5_4), 36},
    {sipName_ReadCorruptData, static_cast<int>(QDataStream::ReadCorruptData), 35},
    {sipName_ReadPastEnd, static_cast<int>(QDataStream::ReadPastEnd), 35},
    {sipName_SinglePrecision, static_cast<int>(QDataStream::SinglePrecision), 34},
    {sipName_WriteFailed, static_cast<int>(QDataStream::WriteFailed), 35},
};

PyDoc_STRVAR(doc_QDataStream, "\1QDataStream()\n"
    "QDataStream(QIODevice)\n"
    "QDataStream(QByteArray, QIODevice.OpenMode)\n"
    "QDataStream(QByteArray)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QDataStream = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QDataStream,
        {0}
    },
    {
        sipNameNr_QDataStream,
        {0, 0, 1},
        55, methods_QDataStream,
        29, enummembers_QDataStream,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDataStream,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QDataStream,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcryptographichash.sip"
#include <qcryptographichash.h>
#line 144601 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 144605 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 144608 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QCryptographicHash_reset, "QCryptographicHash.reset()");

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, "QCryptographicHash.addData(str)\n"
    "QCryptographicHash.addData(QByteArray)\n"
    "QCryptographicHash.addData(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, "QCryptographicHash.result() -> 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, "QCryptographicHash.hash(QByteArray, 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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QCryptographicHash(void *, const sipTypeDef *);}
static void *cast_QCryptographicHash(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QCryptographicHash)
        return ptr;

    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 (sipIsPyOwned(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), 31},
    {sipName_Md5, static_cast<int>(QCryptographicHash::Md5), 31},
    {sipName_Sha1, static_cast<int>(QCryptographicHash::Sha1), 31},
    {sipName_Sha224, static_cast<int>(QCryptographicHash::Sha224), 31},
    {sipName_Sha256, static_cast<int>(QCryptographicHash::Sha256), 31},
    {sipName_Sha384, static_cast<int>(QCryptographicHash::Sha384), 31},
    {sipName_Sha3_224, static_cast<int>(QCryptographicHash::Sha3_224), 31},
    {sipName_Sha3_256, static_cast<int>(QCryptographicHash::Sha3_256), 31},
    {sipName_Sha3_384, static_cast<int>(QCryptographicHash::Sha3_384), 31},
    {sipName_Sha3_512, static_cast<int>(QCryptographicHash::Sha3_512), 31},
    {sipName_Sha512, static_cast<int>(QCryptographicHash::Sha512), 31},
};

PyDoc_STRVAR(doc_QCryptographicHash, "\1QCryptographicHash(QCryptographicHash.Algorithm)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QCryptographicHash = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QCryptographicHash,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QCryptographicHash,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 256 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 144883 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 144887 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 144890 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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()
{
    sipCommonDtor(sipPySelf);
}


PyDoc_STRVAR(doc_QDynamicPropertyChangeEvent_propertyName, "QDynamicPropertyChangeEvent.propertyName() -> 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 superclass hierarchy. */
extern "C" {static void *cast_QDynamicPropertyChangeEvent(void *, const sipTypeDef *);}
static void *cast_QDynamicPropertyChangeEvent(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QDynamicPropertyChangeEvent)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QEvent)->ctd_cast((QEvent *)(QDynamicPropertyChangeEvent *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQDynamicPropertyChangeEvent *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QDynamicPropertyChangeEvent(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{53, 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(QByteArray)\n"
    "QDynamicPropertyChangeEvent(QDynamicPropertyChangeEvent)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QDynamicPropertyChangeEvent = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QDynamicPropertyChangeEvent,
        {0}
    },
    {
        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
},
    0,
    0,
    0,
    0
};

#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 145095 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 145099 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 145102 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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()
{
    sipCommonDtor(sipPySelf);
}


PyDoc_STRVAR(doc_QChildEvent_child, "QChildEvent.child() -> 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, "QChildEvent.added() -> 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, "QChildEvent.polished() -> 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, "QChildEvent.removed() -> 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 superclass hierarchy. */
extern "C" {static void *cast_QChildEvent(void *, const sipTypeDef *);}
static void *cast_QChildEvent(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QChildEvent)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QEvent)->ctd_cast((QEvent *)(QChildEvent *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQChildEvent *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QChildEvent(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{53, 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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QChildEvent = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QChildEvent,
        {0}
    },
    {
        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
},
    0,
    0,
    0,
    0
};

#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 145390 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 145394 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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()
{
    sipCommonDtor(sipPySelf);
}


PyDoc_STRVAR(doc_QTimerEvent_timerId, "QTimerEvent.timerId() -> 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 superclass hierarchy. */
extern "C" {static void *cast_QTimerEvent(void *, const sipTypeDef *);}
static void *cast_QTimerEvent(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QTimerEvent)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QEvent)->ctd_cast((QEvent *)(QTimerEvent *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQTimerEvent *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QTimerEvent(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{53, 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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QTimerEvent = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTimerEvent,
        {0}
    },
    {
        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
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 145597 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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()
{
    sipCommonDtor(sipPySelf);
}


PyDoc_STRVAR(doc_QEvent_type, "QEvent.type() -> 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, "QEvent.spontaneous() -> 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, "QEvent.setAccepted(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, "QEvent.isAccepted() -> 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, "QEvent.accept()");

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, "QEvent.ignore()");

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, "QEvent.registerEventType(int hint=-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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QEvent(void *, const sipTypeDef *);}
static void *cast_QEvent(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QEvent)
        return ptr;

    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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQEvent *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QEvent(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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), 54},
    {sipName_ActionChanged, static_cast<int>(QEvent::ActionChanged), 54},
    {sipName_ActionRemoved, static_cast<int>(QEvent::ActionRemoved), 54},
    {sipName_ActivationChange, static_cast<int>(QEvent::ActivationChange), 54},
    {sipName_ApplicationActivate, static_cast<int>(QEvent::ApplicationActivate), 54},
    {sipName_ApplicationActivated, static_cast<int>(QEvent::ApplicationActivated), 54},
    {sipName_ApplicationDeactivate, static_cast<int>(QEvent::ApplicationDeactivate), 54},
    {sipName_ApplicationDeactivated, static_cast<int>(QEvent::ApplicationDeactivated), 54},
    {sipName_ApplicationFontChange, static_cast<int>(QEvent::ApplicationFontChange), 54},
    {sipName_ApplicationLayoutDirectionChange, static_cast<int>(QEvent::ApplicationLayoutDirectionChange), 54},
    {sipName_ApplicationPaletteChange, static_cast<int>(QEvent::ApplicationPaletteChange), 54},
    {sipName_ApplicationStateChange, static_cast<int>(QEvent::ApplicationStateChange), 54},
    {sipName_ApplicationWindowIconChange, static_cast<int>(QEvent::ApplicationWindowIconChange), 54},
    {sipName_ChildAdded, static_cast<int>(QEvent::ChildAdded), 54},
    {sipName_ChildPolished, static_cast<int>(QEvent::ChildPolished), 54},
    {sipName_ChildRemoved, static_cast<int>(QEvent::ChildRemoved), 54},
    {sipName_Clipboard, static_cast<int>(QEvent::Clipboard), 54},
    {sipName_Close, static_cast<int>(QEvent::Close), 54},
    {sipName_CloseSoftwareInputPanel, static_cast<int>(QEvent::CloseSoftwareInputPanel), 54},
    {sipName_ContentsRectChange, static_cast<int>(QEvent::ContentsRectChange), 54},
    {sipName_ContextMenu, static_cast<int>(QEvent::ContextMenu), 54},
    {sipName_CursorChange, static_cast<int>(QEvent::CursorChange), 54},
    {sipName_DeferredDelete, static_cast<int>(QEvent::DeferredDelete), 54},
    {sipName_DragEnter, static_cast<int>(QEvent::DragEnter), 54},
    {sipName_DragLeave, static_cast<int>(QEvent::DragLeave), 54},
    {sipName_DragMove, static_cast<int>(QEvent::DragMove), 54},
    {sipName_Drop, static_cast<int>(QEvent::Drop), 54},
    {sipName_DynamicPropertyChange, static_cast<int>(QEvent::DynamicPropertyChange), 54},
    {sipName_EnabledChange, static_cast<int>(QEvent::EnabledChange), 54},
    {sipName_Enter, static_cast<int>(QEvent::Enter), 54},
    {sipName_EnterWhatsThisMode, static_cast<int>(QEvent::EnterWhatsThisMode), 54},
    {sipName_Expose, static_cast<int>(QEvent::Expose), 54},
    {sipName_FileOpen, static_cast<int>(QEvent::FileOpen), 54},
    {sipName_FocusAboutToChange, static_cast<int>(QEvent::FocusAboutToChange), 54},
    {sipName_FocusIn, static_cast<int>(QEvent::FocusIn), 54},
    {sipName_FocusOut, static_cast<int>(QEvent::FocusOut), 54},
    {sipName_FontChange, static_cast<int>(QEvent::FontChange), 54},
    {sipName_Gesture, static_cast<int>(QEvent::Gesture), 54},
    {sipName_GestureOverride, static_cast<int>(QEvent::GestureOverride), 54},
    {sipName_GrabKeyboard, static_cast<int>(QEvent::GrabKeyboard), 54},
    {sipName_GrabMouse, static_cast<int>(QEvent::GrabMouse), 54},
    {sipName_GraphicsSceneContextMenu, static_cast<int>(QEvent::GraphicsSceneContextMenu), 54},
    {sipName_GraphicsSceneDragEnter, static_cast<int>(QEvent::GraphicsSceneDragEnter), 54},
    {sipName_GraphicsSceneDragLeave, static_cast<int>(QEvent::GraphicsSceneDragLeave), 54},
    {sipName_GraphicsSceneDragMove, static_cast<int>(QEvent::GraphicsSceneDragMove), 54},
    {sipName_GraphicsSceneDrop, static_cast<int>(QEvent::GraphicsSceneDrop), 54},
    {sipName_GraphicsSceneHelp, static_cast<int>(QEvent::GraphicsSceneHelp), 54},
    {sipName_GraphicsSceneHoverEnter, static_cast<int>(QEvent::GraphicsSceneHoverEnter), 54},
    {sipName_GraphicsSceneHoverLeave, static_cast<int>(QEvent::GraphicsSceneHoverLeave), 54},
    {sipName_GraphicsSceneHoverMove, static_cast<int>(QEvent::GraphicsSceneHoverMove), 54},
    {sipName_GraphicsSceneMouseDoubleClick, static_cast<int>(QEvent::GraphicsSceneMouseDoubleClick), 54},
    {sipName_GraphicsSceneMouseMove, static_cast<int>(QEvent::GraphicsSceneMouseMove), 54},
    {sipName_GraphicsSceneMousePress, static_cast<int>(QEvent::GraphicsSceneMousePress), 54},
    {sipName_GraphicsSceneMouseRelease, static_cast<int>(QEvent::GraphicsSceneMouseRelease), 54},
    {sipName_GraphicsSceneMove, static_cast<int>(QEvent::GraphicsSceneMove), 54},
    {sipName_GraphicsSceneResize, static_cast<int>(QEvent::GraphicsSceneResize), 54},
    {sipName_GraphicsSceneWheel, static_cast<int>(QEvent::GraphicsSceneWheel), 54},
    {sipName_Hide, static_cast<int>(QEvent::Hide), 54},
    {sipName_HideToParent, static_cast<int>(QEvent::HideToParent), 54},
    {sipName_HoverEnter, static_cast<int>(QEvent::HoverEnter), 54},
    {sipName_HoverLeave, static_cast<int>(QEvent::HoverLeave), 54},
    {sipName_HoverMove, static_cast<int>(QEvent::HoverMove), 54},
    {sipName_IconDrag, static_cast<int>(QEvent::IconDrag), 54},
    {sipName_IconTextChange, static_cast<int>(QEvent::IconTextChange), 54},
    {sipName_InputMethod, static_cast<int>(QEvent::InputMethod), 54},
    {sipName_InputMethodQuery, static_cast<int>(QEvent::InputMethodQuery), 54},
    {sipName_KeyPress, static_cast<int>(QEvent::KeyPress), 54},
    {sipName_KeyRelease, static_cast<int>(QEvent::KeyRelease), 54},
    {sipName_KeyboardLayoutChange, static_cast<int>(QEvent::KeyboardLayoutChange), 54},
    {sipName_LanguageChange, static_cast<int>(QEvent::LanguageChange), 54},
    {sipName_LayoutDirectionChange, static_cast<int>(QEvent::LayoutDirectionChange), 54},
    {sipName_LayoutRequest, static_cast<int>(QEvent::LayoutRequest), 54},
    {sipName_Leave, static_cast<int>(QEvent::Leave), 54},
    {sipName_LeaveWhatsThisMode, static_cast<int>(QEvent::LeaveWhatsThisMode), 54},
    {sipName_LocaleChange, static_cast<int>(QEvent::LocaleChange), 54},
    {sipName_MacSizeChange, static_cast<int>(QEvent::MacSizeChange), 54},
    {sipName_MaxUser, static_cast<int>(QEvent::MaxUser), 54},
    {sipName_MetaCall, static_cast<int>(QEvent::MetaCall), 54},
    {sipName_ModifiedChange, static_cast<int>(QEvent::ModifiedChange), 54},
    {sipName_MouseButtonDblClick, static_cast<int>(QEvent::MouseButtonDblClick), 54},
    {sipName_MouseButtonPress, static_cast<int>(QEvent::MouseButtonPress), 54},
    {sipName_MouseButtonRelease, static_cast<int>(QEvent::MouseButtonRelease), 54},
    {sipName_MouseMove, static_cast<int>(QEvent::MouseMove), 54},
    {sipName_MouseTrackingChange, static_cast<int>(QEvent::MouseTrackingChange), 54},
    {sipName_Move, static_cast<int>(QEvent::Move), 54},
    {sipName_NonClientAreaMouseButtonDblClick, static_cast<int>(QEvent::NonClientAreaMouseButtonDblClick), 54},
    {sipName_NonClientAreaMouseButtonPress, static_cast<int>(QEvent::NonClientAreaMouseButtonPress), 54},
    {sipName_NonClientAreaMouseButtonRelease, static_cast<int>(QEvent::NonClientAreaMouseButtonRelease), 54},
    {sipName_NonClientAreaMouseMove, static_cast<int>(QEvent::NonClientAreaMouseMove), 54},
    {sipName_None_, static_cast<int>(QEvent::None), 54},
    {sipName_OkRequest, static_cast<int>(QEvent::OkRequest), 54},
    {sipName_OrientationChange, static_cast<int>(QEvent::OrientationChange), 54},
    {sipName_Paint, static_cast<int>(QEvent::Paint), 54},
    {sipName_PaletteChange, static_cast<int>(QEvent::PaletteChange), 54},
    {sipName_ParentAboutToChange, static_cast<int>(QEvent::ParentAboutToChange), 54},
    {sipName_ParentChange, static_cast<int>(QEvent::ParentChange), 54},
    {sipName_PlatformPanel, static_cast<int>(QEvent::PlatformPanel), 54},
    {sipName_Polish, static_cast<int>(QEvent::Polish), 54},
    {sipName_PolishRequest, static_cast<int>(QEvent::PolishRequest), 54},
    {sipName_QueryWhatsThis, static_cast<int>(QEvent::QueryWhatsThis), 54},
    {sipName_ReadOnlyChange, static_cast<int>(QEvent::ReadOnlyChange), 54},
    {sipName_RequestSoftwareInputPanel, static_cast<int>(QEvent::RequestSoftwareInputPanel), 54},
    {sipName_Resize, static_cast<int>(QEvent::Resize), 54},
    {sipName_Scroll, static_cast<int>(QEvent::Scroll), 54},
    {sipName_ScrollPrepare, static_cast<int>(QEvent::ScrollPrepare), 54},
    {sipName_Shortcut, static_cast<int>(QEvent::Shortcut), 54},
    {sipName_ShortcutOverride, static_cast<int>(QEvent::ShortcutOverride), 54},
    {sipName_Show, static_cast<int>(QEvent::Show), 54},
    {sipName_ShowToParent, static_cast<int>(QEvent::ShowToParent), 54},
    {sipName_SockAct, static_cast<int>(QEvent::SockAct), 54},
    {sipName_StateMachineSignal, static_cast<int>(QEvent::StateMachineSignal), 54},
    {sipName_StateMachineWrapped, static_cast<int>(QEvent::StateMachineWrapped), 54},
    {sipName_StatusTip, static_cast<int>(QEvent::StatusTip), 54},
    {sipName_StyleChange, static_cast<int>(QEvent::StyleChange), 54},
    {sipName_TabletEnterProximity, static_cast<int>(QEvent::TabletEnterProximity), 54},
    {sipName_TabletLeaveProximity, static_cast<int>(QEvent::TabletLeaveProximity), 54},
    {sipName_TabletMove, static_cast<int>(QEvent::TabletMove), 54},
    {sipName_TabletPress, static_cast<int>(QEvent::TabletPress), 54},
    {sipName_TabletRelease, static_cast<int>(QEvent::TabletRelease), 54},
    {sipName_ThreadChange, static_cast<int>(QEvent::ThreadChange), 54},
    {sipName_Timer, static_cast<int>(QEvent::Timer), 54},
    {sipName_ToolBarChange, static_cast<int>(QEvent::ToolBarChange), 54},
    {sipName_ToolTip, static_cast<int>(QEvent::ToolTip), 54},
    {sipName_ToolTipChange, static_cast<int>(QEvent::ToolTipChange), 54},
    {sipName_TouchBegin, static_cast<int>(QEvent::TouchBegin), 54},
    {sipName_TouchCancel, static_cast<int>(QEvent::TouchCancel), 54},
    {sipName_TouchEnd, static_cast<int>(QEvent::TouchEnd), 54},
    {sipName_TouchUpdate, static_cast<int>(QEvent::TouchUpdate), 54},
    {sipName_UngrabKeyboard, static_cast<int>(QEvent::UngrabKeyboard), 54},
    {sipName_UngrabMouse, static_cast<int>(QEvent::UngrabMouse), 54},
    {sipName_UpdateLater, static_cast<int>(QEvent::UpdateLater), 54},
    {sipName_UpdateRequest, static_cast<int>(QEvent::UpdateRequest), 54},
    {sipName_User, static_cast<int>(QEvent::User), 54},
    {sipName_WhatsThis, static_cast<int>(QEvent::WhatsThis), 54},
    {sipName_WhatsThisClicked, static_cast<int>(QEvent::WhatsThisClicked), 54},
    {sipName_Wheel, static_cast<int>(QEvent::Wheel), 54},
    {sipName_WinEventAct, static_cast<int>(QEvent::WinEventAct), 54},
    {sipName_WinIdChange, static_cast<int>(QEvent::WinIdChange), 54},
    {sipName_WindowActivate, static_cast<int>(QEvent::WindowActivate), 54},
    {sipName_WindowBlocked, static_cast<int>(QEvent::WindowBlocked), 54},
    {sipName_WindowDeactivate, static_cast<int>(QEvent::WindowDeactivate), 54},
    {sipName_WindowIconChange, static_cast<int>(QEvent::WindowIconChange), 54},
    {sipName_WindowStateChange, static_cast<int>(QEvent::WindowStateChange), 54},
    {sipName_WindowTitleChange, static_cast<int>(QEvent::WindowTitleChange), 54},
    {sipName_WindowUnblocked, static_cast<int>(QEvent::WindowUnblocked), 54},
    {sipName_ZOrderChange, static_cast<int>(QEvent::ZOrderChange), 54},
};

PyDoc_STRVAR(doc_QEvent, "\1QEvent(QEvent.Type)\n"
    "QEvent(QEvent)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QEvent = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QEvent,
        {0}
    },
    {
        sipNameNr_QEvent,
        {0, 0, 1},
        7, methods_QEvent,
        146, enummembers_QEvent,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QEvent,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    -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,
    cast_QEvent,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreapplication.sip"
#include <qcoreapplication.h>
#line 146111 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractnativeeventfilter.sip"
#include <qabstractnativeeventfilter.h>
#line 146115 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstracteventdispatcher.sip"
#include <qabstracteventdispatcher.h>
#line 146118 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 146121 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 146124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 146127 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qtranslator.sip"
#include <qtranslator.h>
#line 146130 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 146133 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 146136 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 146139 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 146142 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 146145 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 146148 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 146151 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 146154 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 146157 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 146160 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 146163 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 146166 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 146169 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 146172 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 146175 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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 notify(QObject*,QEvent*);

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQCoreApplication::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QCoreApplication);
}

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));
}

void sipQCoreApplication::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QCoreApplication::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQCoreApplication::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QCoreApplication::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQCoreApplication::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QCoreApplication::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQCoreApplication::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QCoreApplication::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQCoreApplication::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QCoreApplication::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQCoreApplication::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QCoreApplication::eventFilter(a0,a1);

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQCoreApplication::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QCoreApplication::event(a0);

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQCoreApplication::notify(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_notify);

    if (!sipMeth)
        return QCoreApplication::notify(a0,a1);

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

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, "QCoreApplication.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 146493 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QCoreApplication.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 146552 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QCoreApplication.timerEvent(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 || sipIsDerived((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, "QCoreApplication.childEvent(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 || sipIsDerived((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, "QCoreApplication.customEvent(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 || sipIsDerived((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, "QCoreApplication.connectNotify(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 || sipIsDerived((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, "QCoreApplication.disconnectNotify(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 || sipIsDerived((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, "QCoreApplication.senderSignalIndex() -> 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, "QCoreApplication.isSignalConnected(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, "QCoreApplication.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, "QCoreApplication.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, "QCoreApplication.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, "QCoreApplication.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, "QCoreApplication.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, "QCoreApplication.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, "QCoreApplication.arguments() -> list-of-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, "QCoreApplication.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_, "QCoreApplication.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, "QCoreApplication.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, "QCoreApplication.processEvents(QEventLoop.ProcessEventsFlags flags=QEventLoop.AllEvents)\n"
    "QCoreApplication.processEvents(QEventLoop.ProcessEventsFlags, 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, "QCoreApplication.exit(int returnCode=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, "QCoreApplication.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, "QCoreApplication.postEvent(QObject, QEvent, int priority=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, "QCoreApplication.sendPostedEvents(QObject receiver=None, int eventType=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, "QCoreApplication.removePostedEvents(QObject, int eventType=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, "QCoreApplication.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, "QCoreApplication.notify(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 || sipIsDerived((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, "QCoreApplication.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, "QCoreApplication.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, "QCoreApplication.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, "QCoreApplication.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, "QCoreApplication.setLibraryPaths(list-of-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, "QCoreApplication.libraryPaths() -> list-of-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, "QCoreApplication.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, "QCoreApplication.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, "QCoreApplication.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, "QCoreApplication.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, "QCoreApplication.translate(str, str, str disambiguation=None, int n=-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, "QCoreApplication.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, "QCoreApplication.setAttribute(Qt.ApplicationAttribute, bool on=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, "QCoreApplication.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, "QCoreApplication.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, "QCoreApplication.event(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 || sipIsDerived((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, "QCoreApplication.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, "QCoreApplication.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, "QCoreApplication.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, "QCoreApplication.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, "QCoreApplication.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, "QCoreApplication.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, "QCoreApplication.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, "QCoreApplication.installNativeEventFilter(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, "QCoreApplication.removeNativeEventFilter(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, "QCoreApplication.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, "QCoreApplication.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 superclass hierarchy. */
extern "C" {static void *cast_QCoreApplication(void *, const sipTypeDef *);}
static void *cast_QCoreApplication(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QCoreApplication)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QCoreApplication *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QCoreApplication(sipSimpleWrapper *);}
static void dealloc_QCoreApplication(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQCoreApplication *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QCoreApplication(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 148114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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[] = {{162, 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)}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QCoreApplication[] = {
    {"aboutToQuit()", "\1QCoreApplication.aboutToQuit", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QCoreApplication, "\1QCoreApplication(list-of-str)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QCoreApplication = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QCoreApplication,
        {0}
    },
    {
        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
},
    &QCoreApplication::staticMetaObject,
    0,
    signals_QCoreApplication,
    0
};

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcommandlineparser.sip"
#include <qcommandlineparser.h>
#line 148267 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 148271 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcommandlineoption.sip"
#include <qcommandlineoption.h>
#line 148274 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 148277 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 148280 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreapplication.sip"
#include <qcoreapplication.h>
#line 148283 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QCommandLineParser_setSingleDashWordOptionMode, "QCommandLineParser.setSingleDashWordOptionMode(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, "QCommandLineParser.addOption(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, "QCommandLineParser.addVersionOption() -> 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, "QCommandLineParser.addHelpOption() -> 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, "QCommandLineParser.setApplicationDescription(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, "QCommandLineParser.applicationDescription() -> 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, "QCommandLineParser.addPositionalArgument(str, str, str syntax=QString())");

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, "QCommandLineParser.clearPositionalArguments()");

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, "QCommandLineParser.process(list-of-str)\n"
    "QCommandLineParser.process(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, "QCommandLineParser.parse(list-of-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, "QCommandLineParser.errorText() -> 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, "QCommandLineParser.isSet(str) -> bool\n"
    "QCommandLineParser.isSet(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, "QCommandLineParser.value(str) -> str\n"
    "QCommandLineParser.value(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, "QCommandLineParser.values(str) -> list-of-str\n"
    "QCommandLineParser.values(QCommandLineOption) -> list-of-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, "QCommandLineParser.positionalArguments() -> list-of-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, "QCommandLineParser.optionNames() -> list-of-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, "QCommandLineParser.unknownOptionNames() -> list-of-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, "QCommandLineParser.showHelp(int exitCode=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, "QCommandLineParser.helpText() -> 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, "QCommandLineParser.addOptions(list-of-QCommandLineOption) -> 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, "QCommandLineParser.showVersion()");

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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QCommandLineParser(void *, const sipTypeDef *);}
static void *cast_QCommandLineParser(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QCommandLineParser)
        return ptr;

    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 (sipIsPyOwned(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_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), 28},
    {sipName_ParseAsLongOptions, static_cast<int>(QCommandLineParser::ParseAsLongOptions), 28},
};

PyDoc_STRVAR(doc_QCommandLineParser, "\1QCommandLineParser()");


pyqt5ClassTypeDef sipTypeDef_QtCore_QCommandLineParser = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QCommandLineParser,
        {0}
    },
    {
        sipNameNr_QCommandLineParser,
        {0, 0, 1},
        21, methods_QCommandLineParser,
        2, enummembers_QCommandLineParser,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCommandLineParser,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QCommandLineParser,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcommandlineoption.sip"
#include <qcommandlineoption.h>
#line 149091 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 149095 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 149098 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QCommandLineOption_swap, "QCommandLineOption.swap(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, "QCommandLineOption.names() -> list-of-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, "QCommandLineOption.setValueName(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, "QCommandLineOption.valueName() -> 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, "QCommandLineOption.setDescription(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, "QCommandLineOption.description() -> 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, "QCommandLineOption.setDefaultValue(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, "QCommandLineOption.setDefaultValues(list-of-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, "QCommandLineOption.defaultValues() -> list-of-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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QCommandLineOption(void *, const sipTypeDef *);}
static void *cast_QCommandLineOption(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QCommandLineOption)
        return ptr;

    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 (sipIsPyOwned(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_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_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)}
};

PyDoc_STRVAR(doc_QCommandLineOption, "\1QCommandLineOption(str)\n"
    "QCommandLineOption(list-of-str)\n"
    "QCommandLineOption(str, str, str valueName=QString(), str defaultValue=QString())\n"
    "QCommandLineOption(list-of-str, str, str valueName=QString(), str defaultValue=QString())\n"
    "QCommandLineOption(QCommandLineOption)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QCommandLineOption = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QCommandLineOption,
        {0}
    },
    {
        sipNameNr_QCommandLineOption,
        {0, 0, 1},
        9, methods_QCommandLineOption,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCommandLineOption,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QCommandLineOption,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 56 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcollator.sip"
#include <qcollator.h>
#line 149565 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 149569 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcollator.sip"
#include <qcollator.h>
#line 149572 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 149575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 149578 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QCollator_swap, "QCollator.swap(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, "QCollator.setLocale(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, "QCollator.locale() -> 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, "QCollator.caseSensitivity() -> 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, "QCollator.setCaseSensitivity(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, "QCollator.setNumericMode(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, "QCollator.numericMode() -> 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, "QCollator.setIgnorePunctuation(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, "QCollator.ignorePunctuation() -> 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, "QCollator.compare(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, "QCollator.sortKey(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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QCollator(void *, const sipTypeDef *);}
static void *cast_QCollator(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QCollator)
        return ptr;

    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 (sipIsPyOwned(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(QLocale locale=QLocale())\n"
    "QCollator(QCollator)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QCollator = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QCollator,
        {0}
    },
    {
        sipNameNr_QCollator,
        {0, 0, 1},
        11, methods_QCollator,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCollator,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QCollator,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcollator.sip"
#include <qcollator.h>
#line 150048 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"



PyDoc_STRVAR(doc_QCollatorSortKey_swap, "QCollatorSortKey.swap(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, "QCollatorSortKey.compare(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);
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QCollatorSortKey(void *, const sipTypeDef *);}
static void *cast_QCollatorSortKey(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QCollatorSortKey)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QCollatorSortKey = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QCollatorSortKey,
        {0}
    },
    {
        sipNameNr_QCollatorSortKey,
        {0, 0, 1},
        2, methods_QCollatorSortKey,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCollatorSortKey,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QCollatorSortKey,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 150293 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_GET_SIZE(sipPy) != 1)
    {
        PyErr_SetString(PyExc_ValueError, "string of length 1 expected");
        *sipIsErr = 1;
        return 0;
    }

    *sipCppPtr = new QChar(*PyString_AS_STRING(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 150368 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qchar.sip"
    return qpycore_PyObject_FromQString(QString(*sipCpp));
#line 150379 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QChar = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_QChar,
        {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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearraymatcher.sip"
#include <qbytearraymatcher.h>
#line 150410 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 150414 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QByteArrayMatcher_setPattern, "QByteArrayMatcher.setPattern(QByteArray)");

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, "QByteArrayMatcher.indexIn(QByteArray, int from=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, "QByteArrayMatcher.pattern() -> 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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QByteArrayMatcher(void *, const sipTypeDef *);}
static void *cast_QByteArrayMatcher(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QByteArrayMatcher)
        return ptr;

    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 (sipIsPyOwned(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(QByteArray)\n"
    "QByteArrayMatcher(QByteArrayMatcher)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QByteArrayMatcher = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QByteArrayMatcher,
        {0}
    },
    {
        sipNameNr_QByteArrayMatcher,
        {0, 0, 1},
        3, methods_QByteArrayMatcher,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QByteArrayMatcher,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QByteArrayMatcher,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 150669 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 150673 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QByteArray::Base64Options::Int() != 0);
#line 150691 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QByteArray::Base64Options::Int() != a0->operator QByteArray::Base64Options::Int());
#line 150721 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QByteArray::Base64Options::Int() == a0->operator QByteArray::Base64Options::Int());
#line 150757 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QByteArray_Base64Options___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QByteArray::Base64Options* a0;
        int a0State = 0;
        QByteArray::Base64Options* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QByteArray_Base64Options, &a0, &a0State, sipType_QByteArray_Base64Options, &a1, &a1State))
        {
            QByteArray::Base64Options*sipRes;

            sipRes = new QByteArray::Base64Options((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QByteArray_Base64Options,a0State);
            sipReleaseType(a1,sipType_QByteArray_Base64Options,a1State);

            return sipConvertFromNewType(sipRes,sipType_QByteArray_Base64Options,NULL);
        }
    }

    {
        QByteArray::Base64Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QByteArray_Base64Options, &a0, &a0State, &a1))
        {
            QByteArray::Base64Options*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QByteArray::Base64Options(*a0 ^ a1);
#line 150860 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QByteArray_Base64Options___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QByteArray::Base64Options* a0;
        int a0State = 0;
        QByteArray::Base64Options* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QByteArray_Base64Options, &a0, &a0State, sipType_QByteArray_Base64Options, &a1, &a1State))
        {
            QByteArray::Base64Options*sipRes;

            sipRes = new QByteArray::Base64Options((*a0 | *a1));
            sipReleaseType(a0,sipType_QByteArray_Base64Options,a0State);
            sipReleaseType(a1,sipType_QByteArray_Base64Options,a1State);

            return sipConvertFromNewType(sipRes,sipType_QByteArray_Base64Options,NULL);
        }
    }

    {
        QByteArray::Base64Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QByteArray_Base64Options, &a0, &a0State, &a1))
        {
            QByteArray::Base64Options*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new QByteArray::Base64Options(*a0 | a1);
#line 150910 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        QByteArray::Base64Options* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QByteArray_Base64Options, &a0, &a0State))
        {
            sipCpp->QByteArray::Base64Options::operator^=(*a0);
            sipReleaseType(a0,sipType_QByteArray_Base64Options,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_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;

    {
        QByteArray::Base64Options* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QByteArray_Base64Options, &a0, &a0State))
        {
            sipCpp->QByteArray::Base64Options::operator|=(*a0);
            sipReleaseType(a0,sipType_QByteArray_Base64Options,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QByteArray_Base64Options(void *, const sipTypeDef *);}
static void *cast_QByteArray_Base64Options(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QByteArray_Base64Options)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QByteArray::Base64Options(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QByteArray::Base64Options();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 151187 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QByteArray_Base64Options[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QByteArray_Base64Options___and__, and_slot},
    {(void *)slot_QByteArray_Base64Options___xor__, xor_slot},
    {(void *)slot_QByteArray_Base64Options___or__, or_slot},
    {(void *)slot_QByteArray_Base64Options___int__, int_slot},
    {(void *)slot_QByteArray_Base64Options___ixor__, ixor_slot},
    {(void *)slot_QByteArray_Base64Options___ior__, ior_slot},
    {(void *)slot_QByteArray_Base64Options___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QByteArray_Base64Options, "\1QByteArray.Base64Options(QByteArray.Base64Options)\n"
    "QByteArray.Base64Options(int)\n"
    "QByteArray.Base64Options()");


pyqt5ClassTypeDef sipTypeDef_QtCore_QByteArray_Base64Options = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QByteArray__Base64Options,
        {0}
    },
    {
        sipNameNr_Base64Options,
        {18, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QByteArray_Base64Options,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QByteArray_Base64Options,
    convertTo_QByteArray_Base64Options,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 151269 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 151273 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 151276 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 151279 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 151296 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QByteArray_resize, "QByteArray.resize(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, "QByteArray.fill(str, int size=-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, "QByteArray.clear()");

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, "QByteArray.indexOf(QByteArray, int from=0) -> int\n"
    "QByteArray.indexOf(str, int from=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, "QByteArray.lastIndexOf(QByteArray, int from=-1) -> int\n"
    "QByteArray.lastIndexOf(str, int from=-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, "QByteArray.count(QByteArray) -> int\n"
    "QByteArray.count() -> 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, "QByteArray.left(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, "QByteArray.right(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, "QByteArray.mid(int, int length=-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, "QByteArray.startsWith(QByteArray) -> 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, "QByteArray.endsWith(QByteArray) -> 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, "QByteArray.truncate(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, "QByteArray.chop(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, "QByteArray.toLower() -> 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, "QByteArray.toUpper() -> 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, "QByteArray.trimmed() -> 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, "QByteArray.simplified() -> 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, "QByteArray.leftJustified(int, str fill=' ', bool truncate=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, "QByteArray.rightJustified(int, str fill=' ', bool truncate=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, "QByteArray.prepend(QByteArray) -> 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);
        }
    }

    /* 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, "QByteArray.append(QByteArray) -> QByteArray\n"
    "QByteArray.append(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);
        }
    }

    /* 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, "QByteArray.insert(int, QByteArray) -> QByteArray\n"
    "QByteArray.insert(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);
        }
    }

    /* 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, "QByteArray.remove(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, "QByteArray.replace(int, int, QByteArray) -> QByteArray\n"
    "QByteArray.replace(QByteArray, QByteArray) -> QByteArray\n"
    "QByteArray.replace(str, QByteArray) -> 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, "QByteArray.split(str) -> list-of-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, "QByteArray.toShort(int base=10) -> (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, "QByteArray.toUShort(int base=10) -> (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, "QByteArray.toInt(int base=10) -> (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, "QByteArray.toUInt(int base=10) -> (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, "QByteArray.toLong(int base=10) -> (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, "QByteArray.toULong(int base=10) -> (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, "QByteArray.toLongLong(int base=10) -> (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, "QByteArray.toULongLong(int base=10) -> (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, "QByteArray.toFloat() -> (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, "QByteArray.toDouble() -> (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, "QByteArray.toBase64() -> QByteArray\n"
    "QByteArray.toBase64(QByteArray.Base64Options) -> 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, "QByteArray.setNum(int, int base=10) -> QByteArray\n"
    "QByteArray.setNum(float, str format='g', int precision=6) -> QByteArray\n"
    "QByteArray.setNum(int, int base=10) -> QByteArray\n"
    "QByteArray.setNum(int, int base=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, "QByteArray.number(int, int base=10) -> QByteArray\n"
    "QByteArray.number(float, str format='g', int precision=6) -> QByteArray\n"
    "QByteArray.number(int, int base=10) -> QByteArray\n"
    "QByteArray.number(int, int base=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, "QByteArray.fromBase64(QByteArray) -> QByteArray\n"
    "QByteArray.fromBase64(QByteArray, QByteArray.Base64Options) -> 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, "QByteArray.fromRawData(str) -> 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, "QByteArray.fromHex(QByteArray) -> 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, "QByteArray.length() -> 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, "QByteArray.isNull() -> 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, "QByteArray.size() -> 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, "QByteArray.at(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, "QByteArray.isEmpty() -> 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, "QByteArray.data() -> 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 356 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 153017 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QByteArray.capacity() -> 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, "QByteArray.reserve(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, "QByteArray.squeeze()");

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, "QByteArray.push_back(QByteArray)");

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, "QByteArray.push_front(QByteArray)");

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, "QByteArray.contains(QByteArray) -> 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, "QByteArray.toHex() -> 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);
        }
    }

    /* 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, "QByteArray.toPercentEncoding(QByteArray exclude=QByteArray(), QByteArray include=QByteArray(), str percent='%') -> 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, "QByteArray.fromPercentEncoding(QByteArray, str percent='%') -> 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, "QByteArray.repeated(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, "QByteArray.swap(QByteArray)");

extern "C" {static PyObject *meth_QByteArray_swap(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QByteArray* a0;
        int a0State = 0;
        QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QByteArray, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            sipCpp->swap(*a0);
            sipReleaseType(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_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 345 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
        QByteArray orig(*sipCpp);
        
        sipCpp->clear();
        
        while (a0-- > 0)
            *sipCpp += orig;
#line 153412 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 337 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
        sipRes = new QByteArray();
        
        while (a0-- > 0)
            *sipRes += *sipCpp;
#line 153441 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 308 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 153490 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 293 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 153525 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 288 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
        sipRes = qHash(*sipCpp);
#line 153550 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 282 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
        // It looks like you can't assign QBool to int.
        sipRes = bool(sipCpp->contains(*a0));
#line 153581 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 248 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
        SIP_SSIZE_T idx = sipConvertFromSequenceIndex(a0, sipCpp->count());
        
        if (idx < 0)
            sipIsErr = 1;
        else
            sipRes = sipCpp->operator[]((int)idx);
#line 153620 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 258 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
        SIP_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 153658 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 153689 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QByteArray(void *, const sipTypeDef *);}
static void *cast_QByteArray(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QByteArray)
        return ptr;

    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 *, Py_buffer *, int);}
static int getbuffer_QByteArray(PyObject *sipSelf, void *sipCppV, Py_buffer *sipBuffer, int sipFlags)
{
    QByteArray *sipCpp = reinterpret_cast<QByteArray *>(sipCppV);
    int sipRes;

#line 131 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
    sipRes = PyBuffer_FillInfo(sipBuffer, sipSelf, sipCpp->data(), sipCpp->size(), 0, sipFlags);
#line 154066 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 135 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 154091 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 148 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
    if (sipLenPtr)
        *sipLenPtr = sipCpp->size();
    
    sipRes = 1;
#line 154110 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 155 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 154135 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 168 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 154154 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (sipIsPyOwned(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 54 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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.
//
// A QByteArray can be created from a Latin-1 encoded string.  This was a
// mistaken attempt to ease the porting of Python2 code to Python3.  It is
// deprecated in PyQt v5.4 and will be removed in v5.5.

if (sipIsErr == NULL)
    return (PyByteArray_Check(sipPy) || PyUnicode_Check(sipPy) ||
            SIPBytes_Check(sipPy) ||
            sipCanConvertToType(sipPy, sipType_QByteArray, SIP_NO_CONVERTORS));

if (PyByteArray_Check(sipPy))
{
    *sipCppPtr = new QByteArray(PyByteArray_AS_STRING(sipPy),
            PyByteArray_GET_SIZE(sipPy));

    return sipGetState(sipTransferObj);
}

if (PyUnicode_Check(sipPy))
{
    if (PyErr_WarnEx(PyExc_DeprecationWarning, "support for creating a QByteArray from a Latin-1 encoded string is deprecated in PyQt v5.4 and will be removed in v5.5", 1) < 0)
    {
        *sipIsErr = 1;
        return 0;
    }

    const char *bytes = sipString_AsLatin1String(&sipPy);

    if (!sipPy)
    {
        *sipIsErr = 1;
        return 0;
    }

    *sipCppPtr = new QByteArray(bytes);

    Py_DECREF(sipPy);

    return sipGetState(sipTransferObj);
}

if (SIPBytes_Check(sipPy))
{
    *sipCppPtr = new QByteArray(SIPBytes_AS_STRING(sipPy),
            SIPBytes_GET_SIZE(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QByteArray *>(sipConvertToType(sipPy,
        sipType_QByteArray, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 154314 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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), 19},
    {sipName_Base64UrlEncoding, static_cast<int>(QByteArray::Base64UrlEncoding), 19},
    {sipName_KeepTrailingEquals, static_cast<int>(QByteArray::KeepTrailingEquals), 19},
    {sipName_OmitTrailingEquals, static_cast<int>(QByteArray::OmitTrailingEquals), 19},
};

PyDoc_STRVAR(doc_QByteArray, "\1QByteArray()\n"
    "QByteArray(int, str)\n"
    "QByteArray(QByteArray)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QByteArray = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QByteArray,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QByteArray,
    convertTo_QByteArray,
    0,
    0,
    pickle_QByteArray,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbuffer.sip"
#include <qbuffer.h>
#line 154470 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 154474 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 154477 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 154480 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 154483 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 154486 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 154489 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 154492 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 154495 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 154498 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 154501 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 154504 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 154507 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 154510 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 154513 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 154516 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 154519 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 154522 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    qint64 readLineData(char*,qint64);
    bool waitForBytesWritten(int);
    bool waitForReadyRead(int);
    qint64 bytesToWrite() const;
    qint64 bytesAvailable() const;
    bool reset();
    bool isSequential() const;
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    qint64 writeData(const char*,PY_LONG_LONG);
    qint64 readData(char*,qint64);
    bool canReadLine() const;
    bool atEnd() const;
    bool seek(qint64);
    qint64 pos() const;
    qint64 size() const;
    void close();
    bool open(QIODevice::OpenMode);

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQBuffer::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QBuffer);
}

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::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QBuffer::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQBuffer::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QBuffer::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQBuffer::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QBuffer::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQBuffer::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QBuffer::eventFilter(a0,a1);

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQBuffer::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QBuffer::event(a0);

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

qint64 sipQBuffer::readLineData(char*a0,qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_readLineData);

    if (!sipMeth)
        return QBuffer::readLineData(a0,a1);

    extern PY_LONG_LONG sipVH_QtCore_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_43(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQBuffer::waitForBytesWritten(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_waitForBytesWritten);

    if (!sipMeth)
        return QBuffer::waitForBytesWritten(a0);

    extern bool sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQBuffer::waitForReadyRead(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_waitForReadyRead);

    if (!sipMeth)
        return QBuffer::waitForReadyRead(a0);

    extern bool sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

qint64 sipQBuffer::bytesToWrite() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_bytesToWrite);

    if (!sipMeth)
        return QBuffer::bytesToWrite();

    extern PY_LONG_LONG sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

qint64 sipQBuffer::bytesAvailable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_bytesAvailable);

    if (!sipMeth)
        return QBuffer::bytesAvailable();

    extern PY_LONG_LONG sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQBuffer::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
        return QBuffer::reset();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQBuffer::isSequential() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_isSequential);

    if (!sipMeth)
        return QBuffer::isSequential();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQBuffer::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QBuffer::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQBuffer::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QBuffer::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

qint64 sipQBuffer::writeData(const char*a0,PY_LONG_LONG a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_writeData);

    if (!sipMeth)
        return QBuffer::writeData(a0,a1);

    extern PY_LONG_LONG sipVH_QtCore_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*,PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_42(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

qint64 sipQBuffer::readData(char*a0,qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_readData);

    if (!sipMeth)
        return QBuffer::readData(a0,a1);

    extern PY_LONG_LONG sipVH_QtCore_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_43(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQBuffer::canReadLine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_canReadLine);

    if (!sipMeth)
        return QBuffer::canReadLine();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQBuffer::atEnd() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_atEnd);

    if (!sipMeth)
        return QBuffer::atEnd();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQBuffer::seek(qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_seek);

    if (!sipMeth)
        return QBuffer::seek(a0);

    extern bool sipVH_QtCore_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_53(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

qint64 sipQBuffer::pos() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_pos);

    if (!sipMeth)
        return QBuffer::pos();

    extern PY_LONG_LONG sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

qint64 sipQBuffer::size() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_size);

    if (!sipMeth)
        return QBuffer::size();

    extern PY_LONG_LONG sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQBuffer::close()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_close);

    if (!sipMeth)
    {
        QBuffer::close();
        return;
    }

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    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[22],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
        return QBuffer::open(a0);

    extern bool sipVH_QtCore_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QIODevice::OpenMode);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_15(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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, "QBuffer.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 155128 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QBuffer.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 155187 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QBuffer.timerEvent(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 || sipIsDerived((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, "QBuffer.childEvent(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 || sipIsDerived((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, "QBuffer.customEvent(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 || sipIsDerived((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, "QBuffer.senderSignalIndex() -> 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, "QBuffer.isSignalConnected(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, "QBuffer.readLineData(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 || sipIsDerived((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 232 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 155399 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QBuffer.setOpenMode(QIODevice.OpenMode)");

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, "QBuffer.setErrorString(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, "QBuffer.buffer() -> 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, "QBuffer.data() -> 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, "QBuffer.setBuffer(QByteArray)");

extern "C" {static PyObject *meth_QBuffer_setBuffer(PyObject *, PyObject *);}
static PyObject *meth_QBuffer_setBuffer(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QByteArray* a0;
        int a0State = 0;
        QBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ0", &sipSelf, sipType_QBuffer, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            sipCpp->setBuffer(a0);
            sipReleaseType(a0,sipType_QByteArray,a0State);

            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, "QBuffer.setData(QByteArray)\n"
    "QBuffer.setData(str)");

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, "QBuffer.open(QIODevice.OpenMode) -> 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 || sipIsDerived((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, "QBuffer.close()");

extern "C" {static PyObject *meth_QBuffer_close(PyObject *, PyObject *);}
static PyObject *meth_QBuffer_close(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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, "QBuffer.size() -> 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 || sipIsDerived((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, "QBuffer.pos() -> 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 || sipIsDerived((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, "QBuffer.seek(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 || sipIsDerived((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, "QBuffer.atEnd() -> 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 || sipIsDerived((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, "QBuffer.canReadLine() -> 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 || sipIsDerived((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, "QBuffer.readData(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 || sipIsDerived((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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 155851 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QBuffer.writeData(str) -> 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 || sipIsDerived((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, "QBuffer.connectNotify(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 || sipIsDerived((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, "QBuffer.disconnectNotify(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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QBuffer(void *, const sipTypeDef *);}
static void *cast_QBuffer(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QBuffer)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QIODevice)->ctd_cast((QIODevice *)(QBuffer *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQBuffer *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QBuffer(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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;
        int a0State = 0;
        QObject* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J0|JH", sipType_QByteArray, &a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQBuffer(a0,a1);
            sipReleaseType(a0,sipType_QByteArray,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QBuffer[] = {{78, 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(QObject parent=None)\n"
    "QBuffer(QByteArray, QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QBuffer = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QBuffer,
        {0}
    },
    {
        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
},
    &QBuffer::staticMetaObject,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 156137 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 156141 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 156144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 156147 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 156150 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 156153 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 156156 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 156159 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 156162 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 156165 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 156168 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 156171 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 156174 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 156177 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 156180 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 156183 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 156186 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 156189 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    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;

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQIODevice::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QIODevice);
}

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));
}

void sipQIODevice::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QIODevice::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQIODevice::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QIODevice::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQIODevice::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QIODevice::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQIODevice::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QIODevice::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQIODevice::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QIODevice::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQIODevice::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QIODevice::eventFilter(a0,a1);

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQIODevice::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QIODevice::event(a0);

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

qint64 sipQIODevice::writeData(const char*a0,PY_LONG_LONG a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,sipName_QIODevice,sipName_writeData);

    if (!sipMeth)
        return 0;

    extern PY_LONG_LONG sipVH_QtCore_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*,PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_42(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[8],sipPySelf,NULL,sipName_readLineData);

    if (!sipMeth)
        return QIODevice::readLineData(a0,a1);

    extern PY_LONG_LONG sipVH_QtCore_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_43(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[9],sipPySelf,sipName_QIODevice,sipName_readData);

    if (!sipMeth)
        return 0;

    extern PY_LONG_LONG sipVH_QtCore_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_52(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQIODevice::waitForBytesWritten(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_waitForBytesWritten);

    if (!sipMeth)
        return QIODevice::waitForBytesWritten(a0);

    extern bool sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQIODevice::waitForReadyRead(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_waitForReadyRead);

    if (!sipMeth)
        return QIODevice::waitForReadyRead(a0);

    extern bool sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQIODevice::canReadLine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_canReadLine);

    if (!sipMeth)
        return QIODevice::canReadLine();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

qint64 sipQIODevice::bytesToWrite() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_bytesToWrite);

    if (!sipMeth)
        return QIODevice::bytesToWrite();

    extern PY_LONG_LONG sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

qint64 sipQIODevice::bytesAvailable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_bytesAvailable);

    if (!sipMeth)
        return QIODevice::bytesAvailable();

    extern PY_LONG_LONG sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQIODevice::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
        return QIODevice::reset();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQIODevice::atEnd() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_atEnd);

    if (!sipMeth)
        return QIODevice::atEnd();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQIODevice::seek(qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_seek);

    if (!sipMeth)
        return QIODevice::seek(a0);

    extern bool sipVH_QtCore_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, PY_LONG_LONG);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_53(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

qint64 sipQIODevice::size() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_size);

    if (!sipMeth)
        return QIODevice::size();

    extern PY_LONG_LONG sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

qint64 sipQIODevice::pos() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_pos);

    if (!sipMeth)
        return QIODevice::pos();

    extern PY_LONG_LONG sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQIODevice::close()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_close);

    if (!sipMeth)
    {
        QIODevice::close();
        return;
    }

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQIODevice::open(QIODevice::OpenMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
        return QIODevice::open(a0);

    extern bool sipVH_QtCore_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QIODevice::OpenMode);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_15(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQIODevice::isSequential() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_isSequential);

    if (!sipMeth)
        return QIODevice::isSequential();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

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, "QIODevice.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 156795 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QIODevice.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 156854 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QIODevice.timerEvent(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 || sipIsDerived((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, "QIODevice.childEvent(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 || sipIsDerived((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, "QIODevice.customEvent(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 || sipIsDerived((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, "QIODevice.connectNotify(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 || sipIsDerived((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, "QIODevice.disconnectNotify(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 || sipIsDerived((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, "QIODevice.senderSignalIndex() -> 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, "QIODevice.isSignalConnected(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, "QIODevice.openMode() -> 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, "QIODevice.setTextModeEnabled(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, "QIODevice.isTextModeEnabled() -> 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, "QIODevice.isOpen() -> 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, "QIODevice.isReadable() -> 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, "QIODevice.isWritable() -> 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, "QIODevice.isSequential() -> 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 || sipIsDerived((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, "QIODevice.open(QIODevice.OpenMode) -> 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 || sipIsDerived((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, "QIODevice.close()");

extern "C" {static PyObject *meth_QIODevice_close(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_close(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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, "QIODevice.pos() -> 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 || sipIsDerived((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, "QIODevice.size() -> 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 || sipIsDerived((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, "QIODevice.seek(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 || sipIsDerived((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, "QIODevice.atEnd() -> 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 || sipIsDerived((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, "QIODevice.reset() -> 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 || sipIsDerived((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, "QIODevice.bytesAvailable() -> 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 || sipIsDerived((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, "QIODevice.bytesToWrite() -> 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 || sipIsDerived((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, "QIODevice.read(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 68 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 157568 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QIODevice.readAll() -> 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, "QIODevice.readLine(int maxlen=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 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 157677 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QIODevice.canReadLine() -> 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 || sipIsDerived((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, "QIODevice.peek(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, "QIODevice.write(QByteArray) -> 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, "QIODevice.waitForReadyRead(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 || sipIsDerived((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, "QIODevice.waitForBytesWritten(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 || sipIsDerived((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, "QIODevice.ungetChar(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, "QIODevice.putChar(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, "QIODevice.getChar() -> (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, "QIODevice.errorString() -> 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, "QIODevice.readData(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 167 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 158013 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QIODevice.readLineData(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 || sipIsDerived((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 232 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 158081 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QIODevice.writeData(str) -> 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, "QIODevice.setOpenMode(QIODevice.OpenMode)");

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, "QIODevice.setErrorString(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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QIODevice(void *, const sipTypeDef *);}
static void *cast_QIODevice(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QIODevice)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QIODevice *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQIODevice *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QIODevice(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{162, 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_connectNotify), (PyCFunction)meth_QIODevice_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {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_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_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_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_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_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_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), 80},
    {sipName_NotOpen, static_cast<int>(QIODevice::NotOpen), 80},
    {sipName_ReadOnly, static_cast<int>(QIODevice::ReadOnly), 80},
    {sipName_ReadWrite, static_cast<int>(QIODevice::ReadWrite), 80},
    {sipName_Text, static_cast<int>(QIODevice::Text), 80},
    {sipName_Truncate, static_cast<int>(QIODevice::Truncate), 80},
    {sipName_Unbuffered, static_cast<int>(QIODevice::Unbuffered), 80},
    {sipName_WriteOnly, static_cast<int>(QIODevice::WriteOnly), 80},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QIODevice[] = {
    {"readChannelFinished()", "\1QIODevice.readChannelFinished", 0, 0},
    {"aboutToClose()", "\1QIODevice.aboutToClose", 0, 0},
    {"bytesWritten(qint64)", "\1QIODevice.bytesWritten[int]", 0, 0},
    {"readyRead()", "\1QIODevice.readyRead", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QIODevice, "\1QIODevice()\n"
    "QIODevice(QObject)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QIODevice = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QIODevice,
        {0}
    },
    {
        sipNameNr_QIODevice,
        {0, 0, 1},
        42, 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
},
    &QIODevice::staticMetaObject,
    0,
    signals_QIODevice,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbitarray.sip"
#include <qbitarray.h>
#line 158397 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbitarray.sip"
// This is needed by __hash__().
#include <qhash.h>
#line 158402 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QBitArray_size, "QBitArray.size() -> 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, "QBitArray.count() -> int\n"
    "QBitArray.count(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, "QBitArray.isEmpty() -> 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, "QBitArray.isNull() -> 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, "QBitArray.resize(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, "QBitArray.detach()");

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, "QBitArray.isDetached() -> 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, "QBitArray.clear()");

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, "QBitArray.fill(bool, int, int)\n"
    "QBitArray.fill(bool, int size=-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, "QBitArray.truncate(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, "QBitArray.testBit(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, "QBitArray.setBit(int)\n"
    "QBitArray.setBit(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, "QBitArray.clearBit(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, "QBitArray.toggleBit(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, "QBitArray.at(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, "QBitArray.swap(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 78 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbitarray.sip"
        sipRes = qHash(*sipCpp);
#line 158990 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 66 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbitarray.sip"
        SIP_SSIZE_T idx = sipConvertFromSequenceIndex(a0, sipCpp->count());
        
        if (idx < 0)
            sipIsErr = 1;
        else
            sipRes = sipCpp->operator[]((int)idx);
#line 159025 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 159263 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QBitArray(void *, const sipTypeDef *);}
static void *cast_QBitArray(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QBitArray)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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, bool value=False)\n"
    "QBitArray(QBitArray)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QBitArray = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QBitArray,
        {0}
    },
    {
        sipNameNr_QBitArray,
        {0, 0, 1},
        16, methods_QBitArray,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QBitArray,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QBitArray,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbasictimer.sip"
#include <qbasictimer.h>
#line 159468 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 159472 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 159475 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QBasicTimer_isActive, "QBasicTimer.isActive() -> 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, "QBasicTimer.timerId() -> 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, "QBasicTimer.start(int, Qt.TimerType, QObject)\n"
    "QBasicTimer.start(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, "QBasicTimer.stop()");

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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QBasicTimer(void *, const sipTypeDef *);}
static void *cast_QBasicTimer(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QBasicTimer)
        return ptr;

    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 (sipIsPyOwned(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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QBasicTimer = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QBasicTimer,
        {0}
    },
    {
        sipNameNr_QBasicTimer,
        {0, 0, 1},
        4, methods_QBasicTimer,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QBasicTimer,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QBasicTimer,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qanimationgroup.sip"
#include <qanimationgroup.h>
#line 159749 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 159753 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 159756 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 159759 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 159762 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 159765 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 159768 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 159771 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 159774 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 159777 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 159780 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 159783 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 159786 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 159789 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 159792 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 159795 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 159798 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 159801 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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*);
    void updateDirection(QAbstractAnimation::Direction);
    void updateState(QAbstractAnimation::State,QAbstractAnimation::State);
    void updateCurrentTime(int);
    int duration() const;
    bool event(QEvent*);

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQAnimationGroup::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QAnimationGroup);
}

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_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(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_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(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_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(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_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(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_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQAnimationGroup::updateDirection(QAbstractAnimation::Direction a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_updateDirection);

    if (!sipMeth)
    {
        QAnimationGroup::updateDirection(a0);
        return;
    }

    extern void sipVH_QtCore_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractAnimation::Direction);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_41(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[7],sipPySelf,NULL,sipName_updateState);

    if (!sipMeth)
    {
        QAnimationGroup::updateState(a0,a1);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractAnimation::State,QAbstractAnimation::State);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

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_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

int sipQAnimationGroup::duration() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,sipName_QAnimationGroup,sipName_duration);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtCore_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_6(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQAnimationGroup::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QAnimationGroup::event(a0);

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(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, "QAnimationGroup.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 160194 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAnimationGroup.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 160253 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAnimationGroup.timerEvent(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 || sipIsDerived((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, "QAnimationGroup.childEvent(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 || sipIsDerived((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, "QAnimationGroup.customEvent(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 || sipIsDerived((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, "QAnimationGroup.connectNotify(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 || sipIsDerived((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, "QAnimationGroup.disconnectNotify(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 || sipIsDerived((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, "QAnimationGroup.senderSignalIndex() -> 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, "QAnimationGroup.isSignalConnected(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, "QAnimationGroup.updateCurrentTime(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, "QAnimationGroup.updateState(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 || sipIsDerived((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, "QAnimationGroup.updateDirection(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 || sipIsDerived((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, "QAnimationGroup.animationAt(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, "QAnimationGroup.animationCount() -> 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, "QAnimationGroup.indexOfAnimation(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, "QAnimationGroup.addAnimation(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, "QAnimationGroup.insertAnimation(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, "QAnimationGroup.removeAnimation(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, "QAnimationGroup.takeAnimation(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, "QAnimationGroup.clear()");

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, "QAnimationGroup.event(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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QAnimationGroup(void *, const sipTypeDef *);}
static void *cast_QAnimationGroup(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QAnimationGroup)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractAnimation)->ctd_cast((QAbstractAnimation *)(QAnimationGroup *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQAnimationGroup *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QAnimationGroup(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QAnimationGroup = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAnimationGroup,
        {0}
    },
    {
        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
},
    &QAnimationGroup::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstracttransition.sip"
#include <qabstracttransition.h>
#line 160964 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstate.sip"
#include <qstate.h>
#line 160968 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 160971 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 160974 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 160977 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 160980 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 160983 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 160986 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 160989 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 160992 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 160995 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 160998 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 161001 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 161004 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 161007 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 161010 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 161013 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 161016 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 161019 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 161022 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 161025 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 161028 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 161031 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void onTransition(QEvent*);
    bool eventTest(QEvent*);

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQAbstractTransition::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QAbstractTransition);
}

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::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QAbstractTransition::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractTransition::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QAbstractTransition::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractTransition::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QAbstractTransition::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractTransition::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QAbstractTransition::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractTransition::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QAbstractTransition::eventFilter(a0,a1);

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractTransition::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QAbstractTransition::event(a0);

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractTransition::onTransition(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,sipName_QAbstractTransition,sipName_onTransition);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractTransition::eventTest(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,sipName_QAbstractTransition,sipName_eventTest);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return 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, "QAbstractTransition.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 161378 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAbstractTransition.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 161437 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAbstractTransition.timerEvent(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 || sipIsDerived((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, "QAbstractTransition.childEvent(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 || sipIsDerived((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, "QAbstractTransition.customEvent(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 || sipIsDerived((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, "QAbstractTransition.connectNotify(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 || sipIsDerived((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, "QAbstractTransition.disconnectNotify(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 || sipIsDerived((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, "QAbstractTransition.senderSignalIndex() -> 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, "QAbstractTransition.isSignalConnected(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, "QAbstractTransition.sourceState() -> 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, "QAbstractTransition.targetState() -> 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, "QAbstractTransition.setTargetState(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, "QAbstractTransition.targetStates() -> list-of-QAbstractState");

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, "QAbstractTransition.setTargetStates(list-of-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, "QAbstractTransition.machine() -> 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, "QAbstractTransition.addAnimation(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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 = ((sipSimpleWrapper *)sipSelf)->user;
        
        if (!user)
            user = ((sipSimpleWrapper *)sipSelf)->user = PyList_New(0);
        
        if (user)
            PyList_Append(user, a0Wrapper);
#line 161850 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAbstractTransition.removeAnimation(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 56 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 = ((sipSimpleWrapper *)sipSelf)->user;
        
        if (user)
        {
            Py_ssize_t i = 0;
            
            // Note that we deal with an object appearing in the list more than once.
            while (i < PyList_GET_SIZE(user))
                if (PyList_GET_ITEM(user, i) == a0Wrapper)
                    PyList_SetSlice(user, i, i + 1, NULL);
                else
                    ++i;
        }
#line 161896 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAbstractTransition.animations() -> list-of-QAbstractAnimation");

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, "QAbstractTransition.eventTest(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, "QAbstractTransition.onTransition(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, "QAbstractTransition.event(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 || sipIsDerived((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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QAbstractTransition(void *, const sipTypeDef *);}
static void *cast_QAbstractTransition(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QAbstractTransition)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QAbstractTransition *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQAbstractTransition *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QAbstractTransition(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{162, 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_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}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAbstractTransition[] = {
    {"targetStatesChanged()", "\1QAbstractTransition.targetStatesChanged", 0, 0},
    {"targetStateChanged()", "\1QAbstractTransition.targetStateChanged", 0, 0},
    {"triggered()", "\1QAbstractTransition.triggered", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QAbstractTransition, "\1QAbstractTransition(QState sourceState=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QAbstractTransition = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAbstractTransition,
        {0}
    },
    {
        sipNameNr_QAbstractTransition,
        {0, 0, 1},
        21, methods_QAbstractTransition,
        0, 0,
        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
},
    &QAbstractTransition::staticMetaObject,
    0,
    signals_QAbstractTransition,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 162200 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstate.sip"
#include <qstate.h>
#line 162204 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 162207 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 162210 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 162213 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 162216 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 162219 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 162222 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 162225 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 162228 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 162231 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 162234 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 162237 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 162240 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 162243 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 162246 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 162249 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 162252 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 162255 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void onExit(QEvent*);
    void onEntry(QEvent*);

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQAbstractState::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QAbstractState);
}

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::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QAbstractState::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractState::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QAbstractState::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractState::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QAbstractState::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractState::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QAbstractState::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractState::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QAbstractState::eventFilter(a0,a1);

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractState::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QAbstractState::event(a0);

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractState::onExit(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,sipName_QAbstractState,sipName_onExit);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractState::onEntry(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,sipName_QAbstractState,sipName_onEntry);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(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, "QAbstractState.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 162602 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAbstractState.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 162661 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAbstractState.timerEvent(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 || sipIsDerived((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, "QAbstractState.childEvent(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 || sipIsDerived((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, "QAbstractState.customEvent(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 || sipIsDerived((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, "QAbstractState.connectNotify(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 || sipIsDerived((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, "QAbstractState.disconnectNotify(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 || sipIsDerived((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, "QAbstractState.senderSignalIndex() -> 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, "QAbstractState.isSignalConnected(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, "QAbstractState.parentState() -> 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, "QAbstractState.machine() -> 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, "QAbstractState.active() -> 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, "QAbstractState.onEntry(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, "QAbstractState.onExit(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, "QAbstractState.event(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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QAbstractState(void *, const sipTypeDef *);}
static void *cast_QAbstractState(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QAbstractState)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QAbstractState *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQAbstractState *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QAbstractState(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{162, 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}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAbstractState[] = {
    {"exited()", "\1QAbstractState.exited", 0, 0},
    {"entered()", "\1QAbstractState.entered", 0, 0},
    {"activeChanged(bool)", "\1QAbstractState.activeChanged[bool]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QAbstractState, "\1QAbstractState(QState parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QAbstractState = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAbstractState,
        {0}
    },
    {
        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
},
    &QAbstractState::staticMetaObject,
    0,
    signals_QAbstractState,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractproxymodel.sip"
#include <qabstractproxymodel.h>
#line 163214 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 163218 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 163221 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 163224 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 163227 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 163230 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 163233 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 163236 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 163239 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 163242 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 163245 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 163248 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 133 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 163251 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 105 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 163254 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 266 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 163257 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 163260 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 163263 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 163266 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 70 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 163269 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 321 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 163272 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 163275 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 163278 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 163281 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 163284 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 163287 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 163290 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 163293 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 163296 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 163299 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 163302 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 163305 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 163308 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 163311 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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 moveColumns(const QModelIndex&,int,int,const QModelIndex&,int);
    bool moveRows(const QModelIndex&,int,int,const QModelIndex&,int);
    QHash<int,QByteArray> roleNames() const;
    QModelIndexList match(const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags) const;
    bool removeColumns(int,int,const QModelIndex&);
    bool removeRows(int,int,const QModelIndex&);
    bool insertColumns(int,int,const QModelIndex&);
    bool insertRows(int,int,const QModelIndex&);
    int columnCount(const QModelIndex&) const;
    int rowCount(const QModelIndex&) const;
    QModelIndex parent(const QModelIndex&) const;
    QModelIndex index(int,int,const QModelIndex&) const;
    Qt::DropActions supportedDragActions() const;
    bool dropMimeData(const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    bool canDropMimeData(const QMimeData*,Qt::DropAction,int,int,const QModelIndex&) const;
    QModelIndex sibling(int,int,const QModelIndex&) const;
    Qt::DropActions supportedDropActions() const;
    QStringList mimeTypes() const;
    QMimeData* mimeData(const QModelIndexList&) const;
    bool hasChildren(const QModelIndex&) const;
    QSize span(const QModelIndex&) const;
    void sort(int,Qt::SortOrder);
    void fetchMore(const QModelIndex&);
    bool canFetchMore(const QModelIndex&) const;
    QModelIndex buddy(const QModelIndex&) const;
    bool setItemData(const QModelIndex&,const QMap<int,QVariant>&);
    Qt::ItemFlags flags(const QModelIndex&) const;
    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;
    void revert();
    bool submit();
    QItemSelection mapSelectionFromSource(const QItemSelection&) const;
    QItemSelection mapSelectionToSource(const QItemSelection&) const;
    QModelIndex mapFromSource(const QModelIndex&) const;
    QModelIndex mapToSource(const QModelIndex&) const;
    void setSourceModel(QAbstractItemModel*);

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQAbstractProxyModel::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QAbstractProxyModel);
}

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));
}

void sipQAbstractProxyModel::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QAbstractProxyModel::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractProxyModel::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QAbstractProxyModel::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractProxyModel::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QAbstractProxyModel::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractProxyModel::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QAbstractProxyModel::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractProxyModel::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QAbstractProxyModel::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractProxyModel::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QAbstractProxyModel::eventFilter(a0,a1);

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractProxyModel::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QAbstractProxyModel::event(a0);

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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[7],sipPySelf,NULL,sipName_moveColumns);

    if (!sipMeth)
        return QAbstractProxyModel::moveColumns(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int,const QModelIndex&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_59(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[8],sipPySelf,NULL,sipName_moveRows);

    if (!sipMeth)
        return QAbstractProxyModel::moveRows(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int,const QModelIndex&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_59(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QHash<int,QByteArray> sipQAbstractProxyModel::roleNames() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_roleNames);

    if (!sipMeth)
        return QAbstractProxyModel::roleNames();

    extern QHash<int,QByteArray> sipVH_QtCore_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_60(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

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[10]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return QAbstractProxyModel::match(a0,a1,a2,a3,a4);

    extern QList<QModelIndex> sipVH_QtCore_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_28(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

bool sipQAbstractProxyModel::removeColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return QAbstractProxyModel::removeColumns(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(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[12],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return QAbstractProxyModel::removeRows(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(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[13],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return QAbstractProxyModel::insertColumns(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractProxyModel::insertRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return QAbstractProxyModel::insertRows(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

int sipQAbstractProxyModel::columnCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,sipName_QAbstractProxyModel,sipName_columnCount);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtCore_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_24(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

int sipQAbstractProxyModel::rowCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,sipName_QAbstractProxyModel,sipName_rowCount);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtCore_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_24(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

QModelIndex sipQAbstractProxyModel::parent(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,sipName_QAbstractProxyModel,sipName_parent);

    if (!sipMeth)
        return QModelIndex();

    extern QModelIndex sipVH_QtCore_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_30(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[18]),sipPySelf,sipName_QAbstractProxyModel,sipName_index);

    if (!sipMeth)
        return QModelIndex();

    extern QModelIndex sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

Qt::DropActions sipQAbstractProxyModel::supportedDragActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_supportedDragActions);

    if (!sipMeth)
        return QAbstractProxyModel::supportedDragActions();

    extern Qt::DropActions sipVH_QtCore_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_18(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

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[20],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return QAbstractProxyModel::dropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

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[21]),sipPySelf,NULL,sipName_canDropMimeData);

    if (!sipMeth)
        return QAbstractProxyModel::canDropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QModelIndex sipQAbstractProxyModel::sibling(int a0,int a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_sibling);

    if (!sipMeth)
        return QAbstractProxyModel::sibling(a0,a1,a2);

    extern QModelIndex sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

Qt::DropActions sipQAbstractProxyModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return QAbstractProxyModel::supportedDropActions();

    extern Qt::DropActions sipVH_QtCore_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_18(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

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_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_27(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_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QModelIndex>&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_34(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[26]),sipPySelf,NULL,sipName_hasChildren);

    if (!sipMeth)
        return QAbstractProxyModel::hasChildren(a0);

    extern bool sipVH_QtCore_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_31(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

QSize sipQAbstractProxyModel::span(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return QAbstractProxyModel::span(a0);

    extern QSize sipVH_QtCore_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_29(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[28],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
        QAbstractProxyModel::sort(a0,a1);
        return;
    }

    extern void sipVH_QtCore_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::SortOrder);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_19(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractProxyModel::fetchMore(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
        QAbstractProxyModel::fetchMore(a0);
        return;
    }

    extern void sipVH_QtCore_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_32(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[30]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return QAbstractProxyModel::canFetchMore(a0);

    extern bool sipVH_QtCore_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_31(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

QModelIndex sipQAbstractProxyModel::buddy(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return QAbstractProxyModel::buddy(a0);

    extern QModelIndex sipVH_QtCore_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_30(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[32],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return QAbstractProxyModel::setItemData(a0,a1);

    extern bool sipVH_QtCore_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QMap<int,QVariant>&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_56(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

Qt::ItemFlags sipQAbstractProxyModel::flags(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return QAbstractProxyModel::flags(a0);

    extern Qt::ItemFlags sipVH_QtCore_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_21(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

QMap<int,QVariant> sipQAbstractProxyModel::itemData(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return QAbstractProxyModel::itemData(a0);

    extern QMap<int,QVariant> sipVH_QtCore_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_57(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractProxyModel::setHeaderData(int a0,Qt::Orientation a1,const QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return QAbstractProxyModel::setHeaderData(a0,a1,a2,a3);

    extern bool sipVH_QtCore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,const QVariant&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_35(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3);
}

QVariant sipQAbstractProxyModel::headerData(int a0,Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return QAbstractProxyModel::headerData(a0,a1,a2);

    extern QVariant sipVH_QtCore_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_36(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractProxyModel::setData(const QModelIndex& a0,const QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return QAbstractProxyModel::setData(a0,a1,a2);

    extern bool sipVH_QtCore_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QVariant&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_22(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

QVariant sipQAbstractProxyModel::data(const QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),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);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_23(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractProxyModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
        QAbstractProxyModel::revert();
        return;
    }

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQAbstractProxyModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return QAbstractProxyModel::submit();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

QItemSelection sipQAbstractProxyModel::mapSelectionFromSource(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_mapSelectionFromSource);

    if (!sipMeth)
        return QAbstractProxyModel::mapSelectionFromSource(a0);

    extern QItemSelection sipVH_QtCore_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_39(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[42]),sipPySelf,NULL,sipName_mapSelectionToSource);

    if (!sipMeth)
        return QAbstractProxyModel::mapSelectionToSource(a0);

    extern QItemSelection sipVH_QtCore_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_39(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[43]),sipPySelf,sipName_QAbstractProxyModel,sipName_mapFromSource);

    if (!sipMeth)
        return QModelIndex();

    extern QModelIndex sipVH_QtCore_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_30(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[44]),sipPySelf,sipName_QAbstractProxyModel,sipName_mapToSource);

    if (!sipMeth)
        return QModelIndex();

    extern QModelIndex sipVH_QtCore_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_30(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractProxyModel::setSourceModel(QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_setSourceModel);

    if (!sipMeth)
    {
        QAbstractProxyModel::setSourceModel(a0);
        return;
    }

    extern void sipVH_QtCore_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractItemModel*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_40(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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, "QAbstractProxyModel.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 164407 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAbstractProxyModel.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 164466 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAbstractProxyModel.timerEvent(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 || sipIsDerived((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, "QAbstractProxyModel.childEvent(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 || sipIsDerived((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, "QAbstractProxyModel.customEvent(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 || sipIsDerived((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, "QAbstractProxyModel.connectNotify(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 || sipIsDerived((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, "QAbstractProxyModel.disconnectNotify(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 || sipIsDerived((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, "QAbstractProxyModel.senderSignalIndex() -> 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, "QAbstractProxyModel.isSignalConnected(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, "QAbstractProxyModel.encodeData(list-of-QModelIndex, 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, "QAbstractProxyModel.decodeData(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, "QAbstractProxyModel.beginInsertRows(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, "QAbstractProxyModel.endInsertRows()");

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, "QAbstractProxyModel.beginRemoveRows(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, "QAbstractProxyModel.endRemoveRows()");

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, "QAbstractProxyModel.beginInsertColumns(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, "QAbstractProxyModel.endInsertColumns()");

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, "QAbstractProxyModel.beginRemoveColumns(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, "QAbstractProxyModel.endRemoveColumns()");

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, "QAbstractProxyModel.persistentIndexList() -> list-of-QModelIndex");

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, "QAbstractProxyModel.changePersistentIndex(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, "QAbstractProxyModel.changePersistentIndexList(list-of-QModelIndex, list-of-QModelIndex)");

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, "QAbstractProxyModel.createIndex(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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 165105 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAbstractProxyModel.beginMoveRows(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, "QAbstractProxyModel.endMoveRows()");

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, "QAbstractProxyModel.beginMoveColumns(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, "QAbstractProxyModel.endMoveColumns()");

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, "QAbstractProxyModel.beginResetModel()");

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))
        {
            sipCpp->sipProtect_beginResetModel();

            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, "QAbstractProxyModel.endResetModel()");

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))
        {
            sipCpp->sipProtect_endResetModel();

            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, "QAbstractProxyModel.setSourceModel(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 || sipIsDerived((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, "QAbstractProxyModel.sourceModel() -> 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, "QAbstractProxyModel.mapToSource(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, "QAbstractProxyModel.mapFromSource(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, "QAbstractProxyModel.mapSelectionToSource(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 || sipIsDerived((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, "QAbstractProxyModel.mapSelectionFromSource(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 || sipIsDerived((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, "QAbstractProxyModel.submit() -> 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 || sipIsDerived((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, "QAbstractProxyModel.revert()");

extern "C" {static PyObject *meth_QAbstractProxyModel_revert(PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_revert(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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, "QAbstractProxyModel.data(QModelIndex, int role=Qt.DisplayRole) -> QVariant");

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 || sipIsDerived((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, "QAbstractProxyModel.setData(QModelIndex, QVariant, int role=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 || sipIsDerived((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, "QAbstractProxyModel.headerData(int, Qt.Orientation, int) -> QVariant");

extern "C" {static PyObject *meth_QAbstractProxyModel_headerData(PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_headerData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        Qt::Orientation a1;
        int a2;
        const QAbstractProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiEi", &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, "QAbstractProxyModel.setHeaderData(int, Qt.Orientation, QVariant, int role=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 || sipIsDerived((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, "QAbstractProxyModel.itemData(QModelIndex) -> dict-of-int-object");

extern "C" {static PyObject *meth_QAbstractProxyModel_itemData(PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_itemData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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, "QAbstractProxyModel.flags(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 || sipIsDerived((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, "QAbstractProxyModel.setItemData(QModelIndex, dict-of-int-object) -> 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 || sipIsDerived((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, "QAbstractProxyModel.buddy(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 || sipIsDerived((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, "QAbstractProxyModel.canFetchMore(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 || sipIsDerived((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, "QAbstractProxyModel.fetchMore(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 || sipIsDerived((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, "QAbstractProxyModel.sort(int, Qt.SortOrder order=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 || sipIsDerived((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, "QAbstractProxyModel.span(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 || sipIsDerived((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, "QAbstractProxyModel.hasChildren(QModelIndex parent=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 || sipIsDerived((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, "QAbstractProxyModel.mimeData(list-of-QModelIndex) -> 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 || sipIsDerived((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, "QAbstractProxyModel.mimeTypes() -> list-of-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 || sipIsDerived((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, "QAbstractProxyModel.supportedDropActions() -> 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 || sipIsDerived((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, "QAbstractProxyModel.sibling(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 || sipIsDerived((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, "QAbstractProxyModel.resetInternalData()");

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, "QAbstractProxyModel.canDropMimeData(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 || sipIsDerived((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, "QAbstractProxyModel.dropMimeData(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 || sipIsDerived((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, "QAbstractProxyModel.supportedDragActions() -> 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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QAbstractProxyModel(void *, const sipTypeDef *);}
static void *cast_QAbstractProxyModel(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QAbstractProxyModel)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractItemModel)->ctd_cast((QAbstractItemModel *)(QAbstractProxyModel *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQAbstractProxyModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QAbstractProxyModel(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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), meth_QAbstractProxyModel_headerData, METH_VARARGS, 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}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAbstractProxyModel[] = {
    {"sourceModelChanged()", "\1QAbstractProxyModel.sourceModelChanged", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QAbstractProxyModel, "\1QAbstractProxyModel(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QAbstractProxyModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAbstractProxyModel,
        {0}
    },
    {
        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
},
    &QAbstractProxyModel::staticMetaObject,
    0,
    signals_QAbstractProxyModel,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractnativeeventfilter.sip"
#include <qabstractnativeeventfilter.h>
#line 166384 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 166388 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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()
{
    sipCommonDtor(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_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_58(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}


PyDoc_STRVAR(doc_QAbstractNativeEventFilter_nativeEventFilter, "QAbstractNativeEventFilter.nativeEventFilter(QByteArray, sip.voidptr) -> (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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QAbstractNativeEventFilter(void *, const sipTypeDef *);}
static void *cast_QAbstractNativeEventFilter(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QAbstractNativeEventFilter)
        return ptr;

    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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQAbstractNativeEventFilter *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QAbstractNativeEventFilter(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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()");


pyqt5ClassTypeDef sipTypeDef_QtCore_QAbstractNativeEventFilter = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAbstractNativeEventFilter,
        {0}
    },
    {
        sipNameNr_QAbstractNativeEventFilter,
        {0, 0, 1},
        1, methods_QAbstractNativeEventFilter,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractNativeEventFilter,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QAbstractNativeEventFilter,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 284 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 166599 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 166603 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 166606 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 166609 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 166612 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 166615 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 266 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 166618 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 166621 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 166624 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 166627 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 166630 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 166633 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 70 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 166636 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 105 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 166639 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 321 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 166642 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 166645 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 166648 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 166651 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 166654 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 166657 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 166660 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 166663 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 166666 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 166669 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 166672 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 166675 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 166678 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 166681 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 166684 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 166687 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 166690 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 166693 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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*);
    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);
    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;
    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;
    Qt::ItemFlags flags(const QModelIndex&) const;
    bool dropMimeData(const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    QModelIndex index(int,int,const QModelIndex&) const;

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQAbstractListModel::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QAbstractListModel);
}

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_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(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_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(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_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(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_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(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_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(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_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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[7],sipPySelf,NULL,sipName_moveColumns);

    if (!sipMeth)
        return QAbstractListModel::moveColumns(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int,const QModelIndex&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_59(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[8],sipPySelf,NULL,sipName_moveRows);

    if (!sipMeth)
        return QAbstractListModel::moveRows(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int,const QModelIndex&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_59(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

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[9]),sipPySelf,NULL,sipName_canDropMimeData);

    if (!sipMeth)
        return QAbstractListModel::canDropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QHash<int,QByteArray> sipQAbstractListModel::roleNames() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_roleNames);

    if (!sipMeth)
        return QAbstractListModel::roleNames();

    extern QHash<int,QByteArray> sipVH_QtCore_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_60(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

Qt::DropActions sipQAbstractListModel::supportedDragActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_supportedDragActions);

    if (!sipMeth)
        return QAbstractListModel::supportedDragActions();

    extern Qt::DropActions sipVH_QtCore_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_18(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQAbstractListModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
        QAbstractListModel::revert();
        return;
    }

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQAbstractListModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return QAbstractListModel::submit();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

QSize sipQAbstractListModel::span(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return QAbstractListModel::span(a0);

    extern QSize sipVH_QtCore_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_29(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[15]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return QAbstractListModel::match(a0,a1,a2,a3,a4);

    extern QList<QModelIndex> sipVH_QtCore_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_28(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QModelIndex sipQAbstractListModel::buddy(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return QAbstractListModel::buddy(a0);

    extern QModelIndex sipVH_QtCore_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_30(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[17],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
        QAbstractListModel::sort(a0,a1);
        return;
    }

    extern void sipVH_QtCore_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::SortOrder);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_19(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractListModel::canFetchMore(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return QAbstractListModel::canFetchMore(a0);

    extern bool sipVH_QtCore_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_31(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractListModel::fetchMore(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
        QAbstractListModel::fetchMore(a0);
        return;
    }

    extern void sipVH_QtCore_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_32(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractListModel::removeColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return QAbstractListModel::removeColumns(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(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[21],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return QAbstractListModel::removeRows(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(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[22],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return QAbstractListModel::insertColumns(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractListModel::insertRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return QAbstractListModel::insertRows(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

Qt::DropActions sipQAbstractListModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return QAbstractListModel::supportedDropActions();

    extern Qt::DropActions sipVH_QtCore_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_18(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[25]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return QAbstractListModel::mimeData(a0);

    extern QMimeData* sipVH_QtCore_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QModelIndex>&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_34(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

QStringList sipQAbstractListModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return QAbstractListModel::mimeTypes();

    extern QStringList sipVH_QtCore_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_27(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQAbstractListModel::setItemData(const QModelIndex& a0,const QMap<int,QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return QAbstractListModel::setItemData(a0,a1);

    extern bool sipVH_QtCore_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QMap<int,QVariant>&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_56(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

QMap<int,QVariant> sipQAbstractListModel::itemData(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return QAbstractListModel::itemData(a0);

    extern QMap<int,QVariant> sipVH_QtCore_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_57(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractListModel::setHeaderData(int a0,Qt::Orientation a1,const QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return QAbstractListModel::setHeaderData(a0,a1,a2,a3);

    extern bool sipVH_QtCore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,const QVariant&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_35(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3);
}

QVariant sipQAbstractListModel::headerData(int a0,Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return QAbstractListModel::headerData(a0,a1,a2);

    extern QVariant sipVH_QtCore_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_36(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractListModel::setData(const QModelIndex& a0,const QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return QAbstractListModel::setData(a0,a1,a2);

    extern bool sipVH_QtCore_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QVariant&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_22(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

QVariant sipQAbstractListModel::data(const QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,sipName_QAbstractListModel,sipName_data);

    if (!sipMeth)
        return QVariant();

    extern QVariant sipVH_QtCore_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_23(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

int sipQAbstractListModel::rowCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,sipName_QAbstractListModel,sipName_rowCount);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtCore_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_24(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

QModelIndex sipQAbstractListModel::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 QAbstractListModel::sibling(a0,a1,a2);

    extern QModelIndex sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

Qt::ItemFlags sipQAbstractListModel::flags(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return QAbstractListModel::flags(a0);

    extern Qt::ItemFlags sipVH_QtCore_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_21(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[36],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return QAbstractListModel::dropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QModelIndex sipQAbstractListModel::index(int a0,int a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return QAbstractListModel::index(a0,a1,a2);

    extern QModelIndex sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

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, "QAbstractListModel.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 167650 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAbstractListModel.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 167709 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAbstractListModel.timerEvent(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 || sipIsDerived((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, "QAbstractListModel.childEvent(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 || sipIsDerived((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, "QAbstractListModel.customEvent(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 || sipIsDerived((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, "QAbstractListModel.connectNotify(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 || sipIsDerived((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, "QAbstractListModel.disconnectNotify(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 || sipIsDerived((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, "QAbstractListModel.senderSignalIndex() -> 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, "QAbstractListModel.isSignalConnected(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, "QAbstractListModel.encodeData(list-of-QModelIndex, 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, "QAbstractListModel.decodeData(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, "QAbstractListModel.beginInsertRows(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, "QAbstractListModel.endInsertRows()");

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, "QAbstractListModel.beginRemoveRows(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, "QAbstractListModel.endRemoveRows()");

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, "QAbstractListModel.beginInsertColumns(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, "QAbstractListModel.endInsertColumns()");

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, "QAbstractListModel.beginRemoveColumns(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, "QAbstractListModel.endRemoveColumns()");

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, "QAbstractListModel.persistentIndexList() -> list-of-QModelIndex");

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, "QAbstractListModel.changePersistentIndex(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, "QAbstractListModel.changePersistentIndexList(list-of-QModelIndex, list-of-QModelIndex)");

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, "QAbstractListModel.createIndex(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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 168348 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAbstractListModel.beginMoveRows(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, "QAbstractListModel.endMoveRows()");

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, "QAbstractListModel.beginMoveColumns(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, "QAbstractListModel.endMoveColumns()");

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, "QAbstractListModel.beginResetModel()");

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))
        {
            sipCpp->sipProtect_beginResetModel();

            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, "QAbstractListModel.endResetModel()");

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))
        {
            sipCpp->sipProtect_endResetModel();

            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, "QAbstractListModel.resetInternalData()");

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, "QAbstractListModel.index(int, int column=0, QModelIndex parent=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 || sipIsDerived((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, "QAbstractListModel.dropMimeData(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 || sipIsDerived((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, "QAbstractListModel.flags(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 || sipIsDerived((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, "QAbstractListModel.parent() -> 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;
}


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 superclass hierarchy. */
extern "C" {static void *cast_QAbstractListModel(void *, const sipTypeDef *);}
static void *cast_QAbstractListModel(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QAbstractListModel)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractItemModel)->ctd_cast((QAbstractItemModel *)(QAbstractListModel *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQAbstractListModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QAbstractListModel(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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_timerEvent), (PyCFunction)meth_QAbstractListModel_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QAbstractListModel, "\1QAbstractListModel(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QAbstractListModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAbstractListModel,
        {0}
    },
    {
        sipNameNr_QAbstractListModel,
        {0, 0, 1},
        36, 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
},
    &QAbstractListModel::staticMetaObject,
    0,
    0,
    0
};

#line 260 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 168875 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 168879 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 168882 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 168885 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 168888 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 168891 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 266 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 168894 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 168897 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 168900 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 168903 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 168906 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 168909 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 70 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 168912 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 105 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 168915 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 321 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 168918 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 168921 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 168924 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 168927 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 168930 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 168933 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 168936 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 168939 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 168942 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 168945 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 168948 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 168951 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 168954 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 168957 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 168960 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 168963 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 168966 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 168969 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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*);
    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);
    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;
    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 columnCount(const QModelIndex&) const;
    int rowCount(const QModelIndex&) const;
    QModelIndex sibling(int,int,const QModelIndex&) const;
    Qt::ItemFlags flags(const QModelIndex&) const;
    bool dropMimeData(const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    QModelIndex index(int,int,const QModelIndex&) const;

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQAbstractTableModel::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QAbstractTableModel);
}

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_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(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_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(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_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(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_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(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_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(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_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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[7],sipPySelf,NULL,sipName_moveColumns);

    if (!sipMeth)
        return QAbstractTableModel::moveColumns(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int,const QModelIndex&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_59(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[8],sipPySelf,NULL,sipName_moveRows);

    if (!sipMeth)
        return QAbstractTableModel::moveRows(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int,const QModelIndex&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_59(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

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[9]),sipPySelf,NULL,sipName_canDropMimeData);

    if (!sipMeth)
        return QAbstractTableModel::canDropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QHash<int,QByteArray> sipQAbstractTableModel::roleNames() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_roleNames);

    if (!sipMeth)
        return QAbstractTableModel::roleNames();

    extern QHash<int,QByteArray> sipVH_QtCore_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_60(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

Qt::DropActions sipQAbstractTableModel::supportedDragActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_supportedDragActions);

    if (!sipMeth)
        return QAbstractTableModel::supportedDragActions();

    extern Qt::DropActions sipVH_QtCore_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_18(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQAbstractTableModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
        QAbstractTableModel::revert();
        return;
    }

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQAbstractTableModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return QAbstractTableModel::submit();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

QSize sipQAbstractTableModel::span(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return QAbstractTableModel::span(a0);

    extern QSize sipVH_QtCore_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_29(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[15]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return QAbstractTableModel::match(a0,a1,a2,a3,a4);

    extern QList<QModelIndex> sipVH_QtCore_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_28(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QModelIndex sipQAbstractTableModel::buddy(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return QAbstractTableModel::buddy(a0);

    extern QModelIndex sipVH_QtCore_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_30(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[17],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
        QAbstractTableModel::sort(a0,a1);
        return;
    }

    extern void sipVH_QtCore_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::SortOrder);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_19(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractTableModel::canFetchMore(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return QAbstractTableModel::canFetchMore(a0);

    extern bool sipVH_QtCore_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_31(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractTableModel::fetchMore(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
        QAbstractTableModel::fetchMore(a0);
        return;
    }

    extern void sipVH_QtCore_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_32(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractTableModel::removeColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return QAbstractTableModel::removeColumns(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(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[21],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return QAbstractTableModel::removeRows(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(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_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractTableModel::insertRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return QAbstractTableModel::insertRows(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

Qt::DropActions sipQAbstractTableModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return QAbstractTableModel::supportedDropActions();

    extern Qt::DropActions sipVH_QtCore_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_18(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[25]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return QAbstractTableModel::mimeData(a0);

    extern QMimeData* sipVH_QtCore_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QModelIndex>&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_34(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

QStringList sipQAbstractTableModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return QAbstractTableModel::mimeTypes();

    extern QStringList sipVH_QtCore_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_27(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQAbstractTableModel::setItemData(const QModelIndex& a0,const QMap<int,QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return QAbstractTableModel::setItemData(a0,a1);

    extern bool sipVH_QtCore_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QMap<int,QVariant>&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_56(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

QMap<int,QVariant> sipQAbstractTableModel::itemData(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return QAbstractTableModel::itemData(a0);

    extern QMap<int,QVariant> sipVH_QtCore_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_57(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractTableModel::setHeaderData(int a0,Qt::Orientation a1,const QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return QAbstractTableModel::setHeaderData(a0,a1,a2,a3);

    extern bool sipVH_QtCore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,const QVariant&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_35(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3);
}

QVariant sipQAbstractTableModel::headerData(int a0,Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return QAbstractTableModel::headerData(a0,a1,a2);

    extern QVariant sipVH_QtCore_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_36(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractTableModel::setData(const QModelIndex& a0,const QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return QAbstractTableModel::setData(a0,a1,a2);

    extern bool sipVH_QtCore_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QVariant&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_22(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

QVariant sipQAbstractTableModel::data(const QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,sipName_QAbstractTableModel,sipName_data);

    if (!sipMeth)
        return QVariant();

    extern QVariant sipVH_QtCore_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_23(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

int sipQAbstractTableModel::columnCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,sipName_QAbstractTableModel,sipName_columnCount);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtCore_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_24(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

int sipQAbstractTableModel::rowCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,sipName_QAbstractTableModel,sipName_rowCount);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtCore_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_24(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

QModelIndex sipQAbstractTableModel::sibling(int a0,int a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_sibling);

    if (!sipMeth)
        return QAbstractTableModel::sibling(a0,a1,a2);

    extern QModelIndex sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

Qt::ItemFlags sipQAbstractTableModel::flags(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return QAbstractTableModel::flags(a0);

    extern Qt::ItemFlags sipVH_QtCore_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_21(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[37],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return QAbstractTableModel::dropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QModelIndex sipQAbstractTableModel::index(int a0,int a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return QAbstractTableModel::index(a0,a1,a2);

    extern QModelIndex sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

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, "QAbstractTableModel.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 169943 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAbstractTableModel.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 170002 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAbstractTableModel.timerEvent(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 || sipIsDerived((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, "QAbstractTableModel.childEvent(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 || sipIsDerived((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, "QAbstractTableModel.customEvent(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 || sipIsDerived((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, "QAbstractTableModel.connectNotify(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 || sipIsDerived((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, "QAbstractTableModel.disconnectNotify(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 || sipIsDerived((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, "QAbstractTableModel.senderSignalIndex() -> 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, "QAbstractTableModel.isSignalConnected(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, "QAbstractTableModel.encodeData(list-of-QModelIndex, 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, "QAbstractTableModel.decodeData(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, "QAbstractTableModel.beginInsertRows(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, "QAbstractTableModel.endInsertRows()");

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, "QAbstractTableModel.beginRemoveRows(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, "QAbstractTableModel.endRemoveRows()");

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, "QAbstractTableModel.beginInsertColumns(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, "QAbstractTableModel.endInsertColumns()");

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, "QAbstractTableModel.beginRemoveColumns(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, "QAbstractTableModel.endRemoveColumns()");

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, "QAbstractTableModel.persistentIndexList() -> list-of-QModelIndex");

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, "QAbstractTableModel.changePersistentIndex(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, "QAbstractTableModel.changePersistentIndexList(list-of-QModelIndex, list-of-QModelIndex)");

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, "QAbstractTableModel.createIndex(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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 170641 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAbstractTableModel.beginMoveRows(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, "QAbstractTableModel.endMoveRows()");

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, "QAbstractTableModel.beginMoveColumns(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, "QAbstractTableModel.endMoveColumns()");

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, "QAbstractTableModel.beginResetModel()");

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))
        {
            sipCpp->sipProtect_beginResetModel();

            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, "QAbstractTableModel.endResetModel()");

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))
        {
            sipCpp->sipProtect_endResetModel();

            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, "QAbstractTableModel.resetInternalData()");

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, "QAbstractTableModel.index(int, int, QModelIndex parent=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 || sipIsDerived((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, "QAbstractTableModel.dropMimeData(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 || sipIsDerived((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, "QAbstractTableModel.flags(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 || sipIsDerived((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, "QAbstractTableModel.parent() -> 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;
}


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 superclass hierarchy. */
extern "C" {static void *cast_QAbstractTableModel(void *, const sipTypeDef *);}
static void *cast_QAbstractTableModel(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QAbstractTableModel)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractItemModel)->ctd_cast((QAbstractItemModel *)(QAbstractTableModel *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQAbstractTableModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QAbstractTableModel(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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_timerEvent), (PyCFunction)meth_QAbstractTableModel_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QAbstractTableModel, "\1QAbstractTableModel(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QAbstractTableModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAbstractTableModel,
        {0}
    },
    {
        sipNameNr_QAbstractTableModel,
        {0, 0, 1},
        35, 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
},
    &QAbstractTableModel::staticMetaObject,
    0,
    0,
    0
};

#line 105 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 171156 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 171160 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 171163 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 171166 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 171169 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 266 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 171172 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 171175 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 171178 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 171181 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 171184 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 171187 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 70 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 171190 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 321 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 171193 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 171196 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 171199 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 171202 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 171205 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 171208 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 171211 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 171214 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 171217 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 171220 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 171223 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 171226 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 171229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 171232 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 171235 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 171238 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 171241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 171244 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 171247 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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 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;

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQAbstractItemModel::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QAbstractItemModel);
}

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));
}

void sipQAbstractItemModel::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QAbstractItemModel::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemModel::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QAbstractItemModel::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemModel::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QAbstractItemModel::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemModel::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QAbstractItemModel::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemModel::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QAbstractItemModel::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractItemModel::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QAbstractItemModel::eventFilter(a0,a1);

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractItemModel::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QAbstractItemModel::event(a0);

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

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[7],sipPySelf,NULL,sipName_moveColumns);

    if (!sipMeth)
        return QAbstractItemModel::moveColumns(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int,const QModelIndex&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_59(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[8],sipPySelf,NULL,sipName_moveRows);

    if (!sipMeth)
        return QAbstractItemModel::moveRows(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int,const QModelIndex&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_59(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[9]),sipPySelf,NULL,sipName_canDropMimeData);

    if (!sipMeth)
        return QAbstractItemModel::canDropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_33(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[10]),sipPySelf,NULL,sipName_roleNames);

    if (!sipMeth)
        return QAbstractItemModel::roleNames();

    extern QHash<int,QByteArray> sipVH_QtCore_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_60(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

Qt::DropActions sipQAbstractItemModel::supportedDragActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_supportedDragActions);

    if (!sipMeth)
        return QAbstractItemModel::supportedDragActions();

    extern Qt::DropActions sipVH_QtCore_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_18(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQAbstractItemModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
        QAbstractItemModel::revert();
        return;
    }

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQAbstractItemModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return QAbstractItemModel::submit();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(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[14]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return QAbstractItemModel::span(a0);

    extern QSize sipVH_QtCore_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_29(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[15]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return QAbstractItemModel::match(a0,a1,a2,a3,a4);

    extern QList<QModelIndex> sipVH_QtCore_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_28(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[16]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return QAbstractItemModel::buddy(a0);

    extern QModelIndex sipVH_QtCore_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_30(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[17],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
        QAbstractItemModel::sort(a0,a1);
        return;
    }

    extern void sipVH_QtCore_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::SortOrder);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_19(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[18]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return QAbstractItemModel::flags(a0);

    extern Qt::ItemFlags sipVH_QtCore_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_21(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[19]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return QAbstractItemModel::canFetchMore(a0);

    extern bool sipVH_QtCore_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_31(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemModel::fetchMore(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
        QAbstractItemModel::fetchMore(a0);
        return;
    }

    extern void sipVH_QtCore_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_32(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[21],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return QAbstractItemModel::removeColumns(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(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[22],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return QAbstractItemModel::removeRows(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(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[23],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return QAbstractItemModel::insertColumns(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(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[24],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return QAbstractItemModel::insertRows(a0,a1,a2);

    extern bool sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_20(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[25]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return QAbstractItemModel::supportedDropActions();

    extern Qt::DropActions sipVH_QtCore_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_18(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[26],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return QAbstractItemModel::dropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_33(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[27]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return QAbstractItemModel::mimeData(a0);

    extern QMimeData* sipVH_QtCore_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QModelIndex>&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_34(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

QStringList sipQAbstractItemModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return QAbstractItemModel::mimeTypes();

    extern QStringList sipVH_QtCore_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_27(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[29],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return QAbstractItemModel::setItemData(a0,a1);

    extern bool sipVH_QtCore_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QMap<int,QVariant>&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_56(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[30]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return QAbstractItemModel::itemData(a0);

    extern QMap<int,QVariant> sipVH_QtCore_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_57(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[31],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return QAbstractItemModel::setHeaderData(a0,a1,a2,a3);

    extern bool sipVH_QtCore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,const QVariant&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_35(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[32]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return QAbstractItemModel::headerData(a0,a1,a2);

    extern QVariant sipVH_QtCore_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_36(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[33],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return QAbstractItemModel::setData(a0,a1,a2);

    extern bool sipVH_QtCore_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QVariant&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_22(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[34]),sipPySelf,sipName_QAbstractItemModel,sipName_data);

    if (!sipMeth)
        return QVariant();

    extern QVariant sipVH_QtCore_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    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[35]),sipPySelf,NULL,sipName_hasChildren);

    if (!sipMeth)
        return QAbstractItemModel::hasChildren(a0);

    extern bool sipVH_QtCore_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_31(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[36]),sipPySelf,sipName_QAbstractItemModel,sipName_columnCount);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtCore_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_24(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[37]),sipPySelf,sipName_QAbstractItemModel,sipName_rowCount);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtCore_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_24(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[38]),sipPySelf,NULL,sipName_sibling);

    if (!sipMeth)
        return QAbstractItemModel::sibling(a0,a1,a2);

    extern QModelIndex sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_17(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[39]),sipPySelf,sipName_QAbstractItemModel,sipName_parent);

    if (!sipMeth)
        return QModelIndex();

    extern QModelIndex sipVH_QtCore_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_30(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[40]),sipPySelf,sipName_QAbstractItemModel,sipName_index);

    if (!sipMeth)
        return QModelIndex();

    extern QModelIndex sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

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, "QAbstractItemModel.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 172255 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAbstractItemModel.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 172314 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAbstractItemModel.timerEvent(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 || sipIsDerived((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, "QAbstractItemModel.childEvent(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 || sipIsDerived((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, "QAbstractItemModel.customEvent(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 || sipIsDerived((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, "QAbstractItemModel.connectNotify(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 || sipIsDerived((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, "QAbstractItemModel.disconnectNotify(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 || sipIsDerived((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, "QAbstractItemModel.senderSignalIndex() -> 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, "QAbstractItemModel.isSignalConnected(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, "QAbstractItemModel.hasIndex(int, int, QModelIndex parent=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, "QAbstractItemModel.index(int, int, QModelIndex parent=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, "QAbstractItemModel.parent(QModelIndex) -> QModelIndex\n"
    "QAbstractItemModel.parent() -> 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, "QAbstractItemModel.sibling(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 || sipIsDerived((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, "QAbstractItemModel.rowCount(QModelIndex parent=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, "QAbstractItemModel.columnCount(QModelIndex parent=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, "QAbstractItemModel.hasChildren(QModelIndex parent=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 || sipIsDerived((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, "QAbstractItemModel.data(QModelIndex, int role=Qt.DisplayRole) -> QVariant");

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, "QAbstractItemModel.setData(QModelIndex, QVariant, int role=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 || sipIsDerived((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, "QAbstractItemModel.headerData(int, Qt.Orientation, int role=Qt.DisplayRole) -> QVariant");

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 || sipIsDerived((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, "QAbstractItemModel.setHeaderData(int, Qt.Orientation, QVariant, int role=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 || sipIsDerived((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, "QAbstractItemModel.itemData(QModelIndex) -> dict-of-int-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 || sipIsDerived((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, "QAbstractItemModel.setItemData(QModelIndex, dict-of-int-object) -> 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 || sipIsDerived((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, "QAbstractItemModel.mimeTypes() -> list-of-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 || sipIsDerived((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, "QAbstractItemModel.mimeData(list-of-QModelIndex) -> 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 || sipIsDerived((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, "QAbstractItemModel.dropMimeData(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 || sipIsDerived((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, "QAbstractItemModel.supportedDropActions() -> 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 || sipIsDerived((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, "QAbstractItemModel.insertRows(int, int, QModelIndex parent=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 || sipIsDerived((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, "QAbstractItemModel.insertColumns(int, int, QModelIndex parent=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 || sipIsDerived((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, "QAbstractItemModel.removeRows(int, int, QModelIndex parent=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 || sipIsDerived((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, "QAbstractItemModel.removeColumns(int, int, QModelIndex parent=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 || sipIsDerived((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, "QAbstractItemModel.fetchMore(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 || sipIsDerived((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, "QAbstractItemModel.canFetchMore(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 || sipIsDerived((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, "QAbstractItemModel.flags(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 || sipIsDerived((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, "QAbstractItemModel.sort(int, Qt.SortOrder order=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 || sipIsDerived((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, "QAbstractItemModel.buddy(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 || sipIsDerived((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, "QAbstractItemModel.match(QModelIndex, int, QVariant, int hits=1, Qt.MatchFlags flags=Qt.MatchStartsWith|Qt.MatchWrap) -> list-of-QModelIndex");

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 || sipIsDerived((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, "QAbstractItemModel.span(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 || sipIsDerived((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, "QAbstractItemModel.submit() -> 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 || sipIsDerived((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, "QAbstractItemModel.revert()");

extern "C" {static PyObject *meth_QAbstractItemModel_revert(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_revert(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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, "QAbstractItemModel.encodeData(list-of-QModelIndex, 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, "QAbstractItemModel.decodeData(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, "QAbstractItemModel.beginInsertRows(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, "QAbstractItemModel.endInsertRows()");

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, "QAbstractItemModel.beginRemoveRows(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, "QAbstractItemModel.endRemoveRows()");

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, "QAbstractItemModel.beginInsertColumns(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, "QAbstractItemModel.endInsertColumns()");

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, "QAbstractItemModel.beginRemoveColumns(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, "QAbstractItemModel.endRemoveColumns()");

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, "QAbstractItemModel.persistentIndexList() -> list-of-QModelIndex");

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, "QAbstractItemModel.changePersistentIndex(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, "QAbstractItemModel.changePersistentIndexList(list-of-QModelIndex, list-of-QModelIndex)");

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, "QAbstractItemModel.insertRow(int, QModelIndex parent=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, "QAbstractItemModel.insertColumn(int, QModelIndex parent=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, "QAbstractItemModel.removeRow(int, QModelIndex parent=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, "QAbstractItemModel.removeColumn(int, QModelIndex parent=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, "QAbstractItemModel.supportedDragActions() -> 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 || sipIsDerived((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, "QAbstractItemModel.roleNames() -> dict-of-int-QByteArray");

extern "C" {static PyObject *meth_QAbstractItemModel_roleNames(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_roleNames(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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, "QAbstractItemModel.createIndex(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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 174194 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAbstractItemModel.beginMoveRows(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, "QAbstractItemModel.endMoveRows()");

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, "QAbstractItemModel.beginMoveColumns(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, "QAbstractItemModel.endMoveColumns()");

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, "QAbstractItemModel.beginResetModel()");

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))
        {
            sipCpp->sipProtect_beginResetModel();

            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, "QAbstractItemModel.endResetModel()");

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))
        {
            sipCpp->sipProtect_endResetModel();

            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, "QAbstractItemModel.resetInternalData()");

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, "QAbstractItemModel.canDropMimeData(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 || sipIsDerived((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, "QAbstractItemModel.moveRows(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 || sipIsDerived((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, "QAbstractItemModel.moveColumns(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 || sipIsDerived((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, "QAbstractItemModel.moveRow(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, "QAbstractItemModel.moveColumn(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 superclass hierarchy. */
extern "C" {static void *cast_QAbstractItemModel(void *, const sipTypeDef *);}
static void *cast_QAbstractItemModel(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QAbstractItemModel)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QAbstractItemModel *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQAbstractItemModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QAbstractItemModel(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{162, 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},
};


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)", "\1QAbstractItemModel.columnsMoved[QModelIndex, int, int, QModelIndex, int]", 0, 0},
    {"columnsAboutToBeMoved(QModelIndex,int,int,QModelIndex,int)", "\1QAbstractItemModel.columnsAboutToBeMoved[QModelIndex, int, int, QModelIndex, int]", 0, 0},
    {"rowsMoved(QModelIndex,int,int,QModelIndex,int)", "\1QAbstractItemModel.rowsMoved[QModelIndex, int, int, QModelIndex, int]", 0, 0},
    {"rowsAboutToBeMoved(QModelIndex,int,int,QModelIndex,int)", "\1QAbstractItemModel.rowsAboutToBeMoved[QModelIndex, int, int, QModelIndex, int]", 0, 0},
    {"modelReset()", "\1QAbstractItemModel.modelReset", 0, 0},
    {"modelAboutToBeReset()", "\1QAbstractItemModel.modelAboutToBeReset", 0, 0},
    {"columnsRemoved(QModelIndex,int,int)", "\1QAbstractItemModel.columnsRemoved[QModelIndex, int, int]", 0, 0},
    {"columnsAboutToBeRemoved(QModelIndex,int,int)", "\1QAbstractItemModel.columnsAboutToBeRemoved[QModelIndex, int, int]", 0, 0},
    {"columnsInserted(QModelIndex,int,int)", "\1QAbstractItemModel.columnsInserted[QModelIndex, int, int]", 0, 0},
    {"columnsAboutToBeInserted(QModelIndex,int,int)", "\1QAbstractItemModel.columnsAboutToBeInserted[QModelIndex, int, int]", 0, 0},
    {"rowsRemoved(QModelIndex,int,int)", "\1QAbstractItemModel.rowsRemoved[QModelIndex, int, int]", 0, 0},
    {"rowsAboutToBeRemoved(QModelIndex,int,int)", "\1QAbstractItemModel.rowsAboutToBeRemoved[QModelIndex, int, int]", 0, 0},
    {"rowsInserted(QModelIndex,int,int)", "\1QAbstractItemModel.rowsInserted[QModelIndex, int, int]", 0, 0},
    {"rowsAboutToBeInserted(QModelIndex,int,int)", "\1QAbstractItemModel.rowsAboutToBeInserted[QModelIndex, int, int]", 0, 0},
    {"layoutChanged(QList<QPersistentModelIndex>,QAbstractItemModel::LayoutChangeHint)", "\1QAbstractItemModel.layoutChanged[list-of-QPersistentModelIndex, QAbstractItemModel.LayoutChangeHint]", 0, emit_QAbstractItemModel_layoutChanged},
    {"layoutAboutToBeChanged(QList<QPersistentModelIndex>,QAbstractItemModel::LayoutChangeHint)", "\1QAbstractItemModel.layoutAboutToBeChanged[list-of-QPersistentModelIndex, QAbstractItemModel.LayoutChangeHint]", 0, emit_QAbstractItemModel_layoutAboutToBeChanged},
    {"headerDataChanged(Qt::Orientation,int,int)", "\1QAbstractItemModel.headerDataChanged[Qt.Orientation, int, int]", 0, 0},
    {"dataChanged(QModelIndex,QModelIndex,QVector<int>)", "\1QAbstractItemModel.dataChanged[QModelIndex, QModelIndex, list-of-int]", 0, emit_QAbstractItemModel_dataChanged},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QAbstractItemModel, "\1QAbstractItemModel(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QAbstractItemModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAbstractItemModel,
        {0}
    },
    {
        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
},
    &QAbstractItemModel::staticMetaObject,
    0,
    signals_QAbstractItemModel,
    0
};

#line 70 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 174892 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 174896 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 105 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 174899 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 174902 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 174905 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QPersistentModelIndex_row, "QPersistentModelIndex.row() -> 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, "QPersistentModelIndex.column() -> 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, "QPersistentModelIndex.data(int role=Qt.DisplayRole) -> QVariant");

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, "QPersistentModelIndex.flags() -> 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, "QPersistentModelIndex.parent() -> 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, "QPersistentModelIndex.sibling(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, "QPersistentModelIndex.child(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, "QPersistentModelIndex.model() -> 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, "QPersistentModelIndex.isValid() -> 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, "QPersistentModelIndex.swap(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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
        sipRes = qHash(*sipCpp);
#line 175234 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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);
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QPersistentModelIndex(void *, const sipTypeDef *);}
static void *cast_QPersistentModelIndex(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QPersistentModelIndex)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QPersistentModelIndex = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QPersistentModelIndex,
        {0}
    },
    {
        sipNameNr_QPersistentModelIndex,
        {0, 0, 1},
        10, methods_QPersistentModelIndex,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QPersistentModelIndex,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QPersistentModelIndex,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 175542 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 70 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 175546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 105 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 175549 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 175552 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 175555 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QModelIndex_child, "QModelIndex.child(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, "QModelIndex.row() -> 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, "QModelIndex.column() -> 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, "QModelIndex.data(int role=Qt.DisplayRole) -> QVariant");

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, "QModelIndex.flags() -> 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, "QModelIndex.internalPointer() -> 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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
        sipRes = reinterpret_cast<PyObject *>(sipCpp->internalPointer());
        
        if (!sipRes)
            sipRes = Py_None;
        
        Py_INCREF(sipRes);
#line 175721 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QModelIndex.internalId() -> 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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 175753 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QModelIndex.model() -> 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, "QModelIndex.isValid() -> 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, "QModelIndex.parent() -> 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, "QModelIndex.sibling(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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractitemmodel.sip"
        sipRes = qHash(*sipCpp);
#line 175923 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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);
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QModelIndex(void *, const sipTypeDef *);}
static void *cast_QModelIndex(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QModelIndex)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QModelIndex = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QModelIndex,
        {0}
    },
    {
        sipNameNr_QModelIndex,
        {0, 0, 1},
        11, methods_QModelIndex,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QModelIndex,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QModelIndex,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstracteventdispatcher.sip"
#include <qabstracteventdispatcher.h>
#line 33 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstracteventdispatcher.sip"
#include <qabstracteventdispatcher.h>
#line 176208 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 176212 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QAbstractEventDispatcher_TimerInfo(void *, const sipTypeDef *);}
static void *cast_QAbstractEventDispatcher_TimerInfo(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QAbstractEventDispatcher_TimerInfo)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QAbstractEventDispatcher_TimerInfo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAbstractEventDispatcher__TimerInfo,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QAbstractEventDispatcher_TimerInfo,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstracteventdispatcher.sip"
#include <qabstracteventdispatcher.h>
#line 176430 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 176434 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 176437 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractnativeeventfilter.sip"
#include <qabstractnativeeventfilter.h>
#line 176440 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 176443 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstracteventdispatcher.sip"
#include <qabstracteventdispatcher.h>
#line 33 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstracteventdispatcher.sip"
#include <qabstracteventdispatcher.h>
#line 176448 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 176451 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qsocketnotifier.sip"
#include <qsocketnotifier.h>
#line 176454 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 176457 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 176460 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 176463 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 176466 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 176469 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 176472 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 176475 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 176478 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 176481 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 176484 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 176487 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 176490 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 176493 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 176496 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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 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);

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQAbstractEventDispatcher::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QAbstractEventDispatcher);
}

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));
}

void sipQAbstractEventDispatcher::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QAbstractEventDispatcher::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractEventDispatcher::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QAbstractEventDispatcher::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractEventDispatcher::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QAbstractEventDispatcher::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractEventDispatcher::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QAbstractEventDispatcher::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractEventDispatcher::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QAbstractEventDispatcher::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractEventDispatcher::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QAbstractEventDispatcher::eventFilter(a0,a1);

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractEventDispatcher::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QAbstractEventDispatcher::event(a0);

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

int sipQAbstractEventDispatcher::remainingTime(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,sipName_QAbstractEventDispatcher,sipName_remainingTime);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtCore_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_61(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractEventDispatcher::closingDown()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_closingDown);

    if (!sipMeth)
    {
        QAbstractEventDispatcher::closingDown();
        return;
    }

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQAbstractEventDispatcher::startingUp()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_startingUp);

    if (!sipMeth)
    {
        QAbstractEventDispatcher::startingUp();
        return;
    }

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQAbstractEventDispatcher::flush()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,sipName_QAbstractEventDispatcher,sipName_flush);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQAbstractEventDispatcher::interrupt()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,sipName_QAbstractEventDispatcher,sipName_interrupt);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQAbstractEventDispatcher::wakeUp()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,sipName_QAbstractEventDispatcher,sipName_wakeUp);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_11(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[13]),sipPySelf,sipName_QAbstractEventDispatcher,sipName_registeredTimers);

    if (!sipMeth)
        return QList<QAbstractEventDispatcher::TimerInfo>();

    extern QList<QAbstractEventDispatcher::TimerInfo> sipVH_QtCore_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_62(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractEventDispatcher::unregisterTimers(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,sipName_QAbstractEventDispatcher,sipName_unregisterTimers);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtCore_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_63(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractEventDispatcher::unregisterTimer(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,sipName_QAbstractEventDispatcher,sipName_unregisterTimer);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_45(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[16],sipPySelf,sipName_QAbstractEventDispatcher,sipName_registerTimer);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_64(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,Qt::TimerType,QObject*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_64(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[17],sipPySelf,sipName_QAbstractEventDispatcher,sipName_unregisterSocketNotifier);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QSocketNotifier*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_65(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractEventDispatcher::registerSocketNotifier(QSocketNotifier*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,sipName_QAbstractEventDispatcher,sipName_registerSocketNotifier);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QSocketNotifier*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_65(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractEventDispatcher::hasPendingEvents()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,sipName_QAbstractEventDispatcher,sipName_hasPendingEvents);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQAbstractEventDispatcher::processEvents(QEventLoop::ProcessEventsFlags a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,sipName_QAbstractEventDispatcher,sipName_processEvents);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtCore_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEventLoop::ProcessEventsFlags);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_66(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, "QAbstractEventDispatcher.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 177035 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAbstractEventDispatcher.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 177094 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAbstractEventDispatcher.timerEvent(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 || sipIsDerived((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, "QAbstractEventDispatcher.childEvent(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 || sipIsDerived((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, "QAbstractEventDispatcher.customEvent(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 || sipIsDerived((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, "QAbstractEventDispatcher.connectNotify(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 || sipIsDerived((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, "QAbstractEventDispatcher.disconnectNotify(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 || sipIsDerived((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, "QAbstractEventDispatcher.senderSignalIndex() -> 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, "QAbstractEventDispatcher.isSignalConnected(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, "QAbstractEventDispatcher.instance(QThread thread=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, "QAbstractEventDispatcher.processEvents(QEventLoop.ProcessEventsFlags) -> 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, "QAbstractEventDispatcher.hasPendingEvents() -> 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, "QAbstractEventDispatcher.registerSocketNotifier(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, "QAbstractEventDispatcher.unregisterSocketNotifier(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, "QAbstractEventDispatcher.registerTimer(int, Qt.TimerType, QObject) -> int\n"
    "QAbstractEventDispatcher.registerTimer(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, "QAbstractEventDispatcher.unregisterTimer(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, "QAbstractEventDispatcher.unregisterTimers(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, "QAbstractEventDispatcher.registeredTimers(QObject) -> list-of-QAbstractEventDispatcher.TimerInfo");

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, "QAbstractEventDispatcher.wakeUp()");

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, "QAbstractEventDispatcher.interrupt()");

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, "QAbstractEventDispatcher.flush()");

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, "QAbstractEventDispatcher.startingUp()");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_startingUp(PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_startingUp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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, "QAbstractEventDispatcher.closingDown()");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_closingDown(PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_closingDown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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, "QAbstractEventDispatcher.remainingTime(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, "QAbstractEventDispatcher.installNativeEventFilter(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, "QAbstractEventDispatcher.removeNativeEventFilter(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, "QAbstractEventDispatcher.filterNativeEvent(QByteArray, sip.voidptr) -> (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 superclass hierarchy. */
extern "C" {static void *cast_QAbstractEventDispatcher(void *, const sipTypeDef *);}
static void *cast_QAbstractEventDispatcher(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QAbstractEventDispatcher)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QAbstractEventDispatcher *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQAbstractEventDispatcher *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QAbstractEventDispatcher(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{162, 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)}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAbstractEventDispatcher[] = {
    {"awake()", "\1QAbstractEventDispatcher.awake", 0, 0},
    {"aboutToBlock()", "\1QAbstractEventDispatcher.aboutToBlock", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QAbstractEventDispatcher, "\1QAbstractEventDispatcher(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QAbstractEventDispatcher = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAbstractEventDispatcher,
        {0}
    },
    {
        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
},
    &QAbstractEventDispatcher::staticMetaObject,
    0,
    signals_QAbstractEventDispatcher,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 178085 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 178089 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 178092 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qanimationgroup.sip"
#include <qanimationgroup.h>
#line 178095 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 178098 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 178101 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 178104 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 178107 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 178110 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 178113 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 178116 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 178119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 178122 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 178125 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 178128 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 178131 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 178134 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 178137 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void updateDirection(QAbstractAnimation::Direction);
    void updateState(QAbstractAnimation::State,QAbstractAnimation::State);
    void updateCurrentTime(int);
    bool event(QEvent*);
    int duration() const;

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQAbstractAnimation::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QAbstractAnimation);
}

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::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QAbstractAnimation::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractAnimation::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QAbstractAnimation::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractAnimation::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QAbstractAnimation::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractAnimation::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QAbstractAnimation::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractAnimation::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QAbstractAnimation::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(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_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractAnimation::updateDirection(QAbstractAnimation::Direction a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_updateDirection);

    if (!sipMeth)
    {
        QAbstractAnimation::updateDirection(a0);
        return;
    }

    extern void sipVH_QtCore_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractAnimation::Direction);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_41(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[7],sipPySelf,NULL,sipName_updateState);

    if (!sipMeth)
    {
        QAbstractAnimation::updateState(a0,a1);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractAnimation::State,QAbstractAnimation::State);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractAnimation::updateCurrentTime(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,sipName_QAbstractAnimation,sipName_updateCurrentTime);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractAnimation::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QAbstractAnimation::event(a0);

    extern bool sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

int sipQAbstractAnimation::duration() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,sipName_QAbstractAnimation,sipName_duration);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtCore_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_6(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

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, "QAbstractAnimation.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 178530 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAbstractAnimation.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 178589 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAbstractAnimation.timerEvent(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 || sipIsDerived((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, "QAbstractAnimation.childEvent(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 || sipIsDerived((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, "QAbstractAnimation.customEvent(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 || sipIsDerived((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, "QAbstractAnimation.connectNotify(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 || sipIsDerived((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, "QAbstractAnimation.disconnectNotify(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 || sipIsDerived((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, "QAbstractAnimation.senderSignalIndex() -> 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, "QAbstractAnimation.isSignalConnected(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, "QAbstractAnimation.state() -> 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, "QAbstractAnimation.group() -> 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, "QAbstractAnimation.direction() -> 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, "QAbstractAnimation.setDirection(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, "QAbstractAnimation.currentTime() -> 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, "QAbstractAnimation.currentLoopTime() -> 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, "QAbstractAnimation.loopCount() -> 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, "QAbstractAnimation.setLoopCount(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, "QAbstractAnimation.currentLoop() -> 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, "QAbstractAnimation.duration() -> 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, "QAbstractAnimation.totalDuration() -> 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, "QAbstractAnimation.start(QAbstractAnimation.DeletionPolicy policy=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, "QAbstractAnimation.pause()");

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, "QAbstractAnimation.resume()");

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, "QAbstractAnimation.setPaused(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, "QAbstractAnimation.stop()");

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, "QAbstractAnimation.setCurrentTime(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, "QAbstractAnimation.event(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 || sipIsDerived((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, "QAbstractAnimation.updateCurrentTime(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, "QAbstractAnimation.updateState(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 || sipIsDerived((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, "QAbstractAnimation.updateDirection(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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QAbstractAnimation(void *, const sipTypeDef *);}
static void *cast_QAbstractAnimation(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QAbstractAnimation)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QAbstractAnimation *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQAbstractAnimation *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QAbstractAnimation(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{162, 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},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAbstractAnimation[] = {
    {"directionChanged(QAbstractAnimation::Direction)", "\1QAbstractAnimation.directionChanged[QAbstractAnimation.Direction]", 0, 0},
    {"currentLoopChanged(int)", "\1QAbstractAnimation.currentLoopChanged[int]", 0, 0},
    {"stateChanged(QAbstractAnimation::State,QAbstractAnimation::State)", "\1QAbstractAnimation.stateChanged[QAbstractAnimation.State, QAbstractAnimation.State]", 0, 0},
    {"finished()", "\1QAbstractAnimation.finished", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QAbstractAnimation, "\1QAbstractAnimation(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QAbstractAnimation = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAbstractAnimation,
        {0}
    },
    {
        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
},
    &QAbstractAnimation::staticMetaObject,
    0,
    signals_QAbstractAnimation,
    0
};

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 179577 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 179581 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 179584 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 179587 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 179590 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 179593 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 179596 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 179599 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 179602 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 179605 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 179608 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 179611 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 179614 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 179617 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 179620 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 179623 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(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 (SIP_SSIZE_T i = 0; i < PyTuple_GET_SIZE(types); ++i)
        if (!PyObject_TypeCheck(PyTuple_GET_ITEM(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 (SIP_SSIZE_T t = 0; t < PyTuple_GET_SIZE(types); ++t)
                if (PyType_IsSubtype(Py_TYPE(pyo), (PyTypeObject *)PyTuple_GET_ITEM(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 (SIP_SSIZE_T t = 0; t < PyTuple_GET_SIZE(types); ++t)
                if (PyType_IsSubtype(Py_TYPE(pyo), (PyTypeObject *)PyTuple_GET_ITEM(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 (SIP_SSIZE_T t = 0; t < PyTuple_GET_SIZE(types); ++t)
                if (PyType_IsSubtype(Py_TYPE(pyo), (PyTypeObject *)PyTuple_GET_ITEM(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 (SIP_SSIZE_T t = 0; t < PyTuple_GET_SIZE(types); ++t)
                if (PyType_IsSubtype(Py_TYPE(pyo), (PyTypeObject *)PyTuple_GET_ITEM(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 179897 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQObject::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QObject);
}

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_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(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_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_46(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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_25(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_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_47(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_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    sipVH_QtCore_9(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_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_26(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_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
    extern void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t);

    return sipVH_QtCore_5(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, "QObject.metaObject() -> 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 430 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
        return qpycore_pyqtconfigure(sipSelf, sipArgs, sipKwds);
#line 180192 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


PyDoc_STRVAR(doc_QObject___getattr__, "QObject.__getattr__(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 435 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
        sipRes = qpycore_qobject_getattr(sipCpp, sipSelf, a0);
#line 180214 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QObject.event(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 || sipIsDerived((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, "QObject.eventFilter(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 || sipIsDerived((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, "QObject.tr(str, str disambiguation=None, int n=-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 442 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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(Py_TYPE(sipSelf)->tp_name, a0, a1, a2));
#line 180317 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QObject.findChild(type, str name='', Qt.FindChildOptions options=Qt.FindChildrenRecursively) -> QObject\n"
    "QObject.findChild(tuple, str name='', Qt.FindChildOptions options=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 450 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
        sipRes = qtcore_FindChild(sipCpp, qtcore_type_to_tuple(a0), *a1, *a2);
        
        if (!sipRes)
            sipIsErr = 1;
#line 180366 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 458 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
        sipRes = qtcore_FindChild(sipCpp, qtcore_check_tuple_types(a0), *a1, *a2);
        
        if (!sipRes)
            sipIsErr = 1;
#line 180403 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QObject.findChildren(type, str name='', Qt.FindChildOptions options=Qt.FindChildrenRecursively) -> list-of-QObject\n"
    "QObject.findChildren(tuple, str name='', Qt.FindChildOptions options=Qt.FindChildrenRecursively) -> list-of-QObject\n"
    "QObject.findChildren(type, QRegExp, Qt.FindChildOptions options=Qt.FindChildrenRecursively) -> list-of-QObject\n"
    "QObject.findChildren(tuple, QRegExp, Qt.FindChildOptions options=Qt.FindChildrenRecursively) -> list-of-QObject\n"
    "QObject.findChildren(type, QRegularExpression, Qt.FindChildOptions options=Qt.FindChildrenRecursively) -> list-of-QObject\n"
    "QObject.findChildren(tuple, QRegularExpression, Qt.FindChildOptions options=Qt.FindChildrenRecursively) -> list-of-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 466 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
        sipRes = qtcore_FindChildren(sipCpp, qtcore_type_to_tuple(a0), *a1, *a2);
        
        if (!sipRes)
            sipIsErr = 1;
#line 180459 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 474 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
        sipRes = qtcore_FindChildren(sipCpp, qtcore_check_tuple_types(a0), *a1, *a2);
        
        if (!sipRes)
            sipIsErr = 1;
#line 180496 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 482 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
        sipRes = qtcore_FindChildren(sipCpp, qtcore_type_to_tuple(a0), *a1, *a2);
        
        if (!sipRes)
            sipIsErr = 1;
#line 180531 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 490 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
        sipRes = qtcore_FindChildren(sipCpp, qtcore_check_tuple_types(a0), *a1, *a2);
        
        if (!sipRes)
            sipIsErr = 1;
#line 180565 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 498 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
        sipRes = qtcore_FindChildren(sipCpp, qtcore_type_to_tuple(a0), *a1, *a2);
        
        if (!sipRes)
            sipIsErr = 1;
#line 180599 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 506 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
        sipRes = qtcore_FindChildren(sipCpp, qtcore_check_tuple_types(a0), *a1, *a2);
        
        if (!sipRes)
            sipIsErr = 1;
#line 180633 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QObject.objectName() -> 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, "QObject.setObjectName(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, "QObject.isWidgetType() -> 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, "QObject.isWindowType() -> 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, "QObject.signalsBlocked() -> 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, "QObject.blockSignals(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, "QObject.thread() -> 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, "QObject.moveToThread(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, "QObject.startTimer(int, Qt.TimerType 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, "QObject.killTimer(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, "QObject.children() -> list-of-QObject");

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, "QObject.setParent(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, "QObject.installEventFilter(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, "QObject.removeEventFilter(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, "QObject.dumpObjectInfo()");

extern "C" {static PyObject *meth_QObject_dumpObjectInfo(PyObject *, PyObject *);}
static PyObject *meth_QObject_dumpObjectInfo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        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, "QObject.dumpObjectTree()");

extern "C" {static PyObject *meth_QObject_dumpObjectTree(PyObject *, PyObject *);}
static PyObject *meth_QObject_dumpObjectTree(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        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, "QObject.dynamicPropertyNames() -> list-of-QByteArray");

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, "QObject.setProperty(str, QVariant) -> 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, "QObject.property(str) -> QVariant");

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, "QObject.parent() -> 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, "QObject.inherits(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, "QObject.deleteLater()");

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, "QObject.sender() -> 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 546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 181311 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QObject.receivers(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 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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");
        
        if (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 181370 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QObject.timerEvent(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 || sipIsDerived((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, "QObject.childEvent(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 || sipIsDerived((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, "QObject.customEvent(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 || sipIsDerived((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, "QObject.connectNotify(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 || sipIsDerived((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, "QObject.disconnectNotify(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 || sipIsDerived((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, "QObject.senderSignalIndex() -> 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, "QObject.isSignalConnected(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, "QObject.disconnect()");

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 617 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
        sipRes = qpycore_qobject_disconnect(sipCpp);
#line 181602 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QObject(void *, const sipTypeDef *);}
static void *cast_QObject(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QObject)
        return ptr;

    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 399 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
    // Traverse any saved slots we might be connected to.
    sipRes = qpycore_visitSlotProxies(sipCpp, sipVisit, sipArg);
#line 181648 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 404 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
    // Clear any saved slots we might be connected to.
    sipRes = qpycore_clearSlotProxies(sipCpp);
#line 181663 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
    return qpycore_qobject_finalisation(sipSelf, sipCpp, sipKwds, sipUnused);
#line 181676 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static void dealloc_QObject(sipSimpleWrapper *);}
static void dealloc_QObject(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQObject *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QObject(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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 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)", "\1QObject.objectNameChanged[str]", 0, 0},
    {"destroyed(QObject*)", "\1QObject.destroyed[QObject]", 0, emit_QObject_destroyed},
    {0, 0, 0, 0}
};


extern "C" {static PyObject *varget_QObject_staticMetaObject(void *, PyObject *, PyObject *);}
static PyObject *varget_QObject_staticMetaObject(void *, PyObject *sipPySelf, PyObject *sipPyType)
{
    PyObject *sipPy;
#line 411 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qobject.sip"
        sipPy = qpycore_qobject_staticmetaobject(sipPyType);
#line 181804 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

    return sipPy;
}

sipVariableDef variables_QObject[] = {
    {ClassVariable, sipName_staticMetaObject, (PyMethodDef *)varget_QObject_staticMetaObject, NULL, NULL, NULL},
};

PyDoc_STRVAR(doc_QObject, "\1QObject(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtCore_QObject = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_NONLAZY|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QObject,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    -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,
    cast_QObject,
    0,
    0,
    0,
    0,
    final_QObject,
    0
},
    &QObject::staticMetaObject,
    0,
    signals_QObject,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 181873 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 181877 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::MouseEventFlags::Int() != 0);
#line 181895 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::MouseEventFlags::Int() != a0->operator Qt::MouseEventFlags::Int());
#line 181925 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::MouseEventFlags::Int() == a0->operator Qt::MouseEventFlags::Int());
#line 181961 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MouseEventFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::MouseEventFlags* a0;
        int a0State = 0;
        Qt::MouseEventFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_MouseEventFlags, &a0, &a0State, sipType_Qt_MouseEventFlags, &a1, &a1State))
        {
            Qt::MouseEventFlags*sipRes;

            sipRes = new Qt::MouseEventFlags((*a0 ^ *a1));
            sipReleaseType(a0,sipType_Qt_MouseEventFlags,a0State);
            sipReleaseType(a1,sipType_Qt_MouseEventFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_MouseEventFlags,NULL);
        }
    }

    {
        Qt::MouseEventFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_MouseEventFlags, &a0, &a0State, &a1))
        {
            Qt::MouseEventFlags*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::MouseEventFlags(*a0 ^ a1);
#line 182064 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MouseEventFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::MouseEventFlags* a0;
        int a0State = 0;
        Qt::MouseEventFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_MouseEventFlags, &a0, &a0State, sipType_Qt_MouseEventFlags, &a1, &a1State))
        {
            Qt::MouseEventFlags*sipRes;

            sipRes = new Qt::MouseEventFlags((*a0 | *a1));
            sipReleaseType(a0,sipType_Qt_MouseEventFlags,a0State);
            sipReleaseType(a1,sipType_Qt_MouseEventFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_MouseEventFlags,NULL);
        }
    }

    {
        Qt::MouseEventFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_MouseEventFlags, &a0, &a0State, &a1))
        {
            Qt::MouseEventFlags*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::MouseEventFlags(*a0 | a1);
#line 182114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        Qt::MouseEventFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_MouseEventFlags, &a0, &a0State))
        {
            sipCpp->Qt::MouseEventFlags::operator^=(*a0);
            sipReleaseType(a0,sipType_Qt_MouseEventFlags,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_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;

    {
        Qt::MouseEventFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_MouseEventFlags, &a0, &a0State))
        {
            sipCpp->Qt::MouseEventFlags::operator|=(*a0);
            sipReleaseType(a0,sipType_Qt_MouseEventFlags,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Qt_MouseEventFlags(void *, const sipTypeDef *);}
static void *cast_Qt_MouseEventFlags(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Qt_MouseEventFlags)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new Qt::MouseEventFlags(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new Qt::MouseEventFlags();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 182391 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_MouseEventFlags[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_Qt_MouseEventFlags___and__, and_slot},
    {(void *)slot_Qt_MouseEventFlags___xor__, xor_slot},
    {(void *)slot_Qt_MouseEventFlags___or__, or_slot},
    {(void *)slot_Qt_MouseEventFlags___int__, int_slot},
    {(void *)slot_Qt_MouseEventFlags___ixor__, ixor_slot},
    {(void *)slot_Qt_MouseEventFlags___ior__, ior_slot},
    {(void *)slot_Qt_MouseEventFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_MouseEventFlags, "\1Qt.MouseEventFlags(Qt.MouseEventFlags)\n"
    "Qt.MouseEventFlags(int)\n"
    "Qt.MouseEventFlags()");


pyqt5ClassTypeDef sipTypeDef_QtCore_Qt_MouseEventFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_Qt__MouseEventFlags,
        {0}
    },
    {
        sipNameNr_MouseEventFlags,
        {310, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_MouseEventFlags,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_Qt_MouseEventFlags,
    convertTo_Qt_MouseEventFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 182473 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 182477 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::Edges::Int() != 0);
#line 182495 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::Edges::Int() != a0->operator Qt::Edges::Int());
#line 182525 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::Edges::Int() == a0->operator Qt::Edges::Int());
#line 182561 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Edges___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Edges* a0;
        int a0State = 0;
        Qt::Edges* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_Edges, &a0, &a0State, sipType_Qt_Edges, &a1, &a1State))
        {
            Qt::Edges*sipRes;

            sipRes = new Qt::Edges((*a0 ^ *a1));
            sipReleaseType(a0,sipType_Qt_Edges,a0State);
            sipReleaseType(a1,sipType_Qt_Edges,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_Edges,NULL);
        }
    }

    {
        Qt::Edges* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_Edges, &a0, &a0State, &a1))
        {
            Qt::Edges*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::Edges(*a0 ^ a1);
#line 182664 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Edges___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Edges* a0;
        int a0State = 0;
        Qt::Edges* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_Edges, &a0, &a0State, sipType_Qt_Edges, &a1, &a1State))
        {
            Qt::Edges*sipRes;

            sipRes = new Qt::Edges((*a0 | *a1));
            sipReleaseType(a0,sipType_Qt_Edges,a0State);
            sipReleaseType(a1,sipType_Qt_Edges,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_Edges,NULL);
        }
    }

    {
        Qt::Edges* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_Edges, &a0, &a0State, &a1))
        {
            Qt::Edges*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::Edges(*a0 | a1);
#line 182714 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        Qt::Edges* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_Edges, &a0, &a0State))
        {
            sipCpp->Qt::Edges::operator^=(*a0);
            sipReleaseType(a0,sipType_Qt_Edges,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_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;

    {
        Qt::Edges* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_Edges, &a0, &a0State))
        {
            sipCpp->Qt::Edges::operator|=(*a0);
            sipReleaseType(a0,sipType_Qt_Edges,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Qt_Edges(void *, const sipTypeDef *);}
static void *cast_Qt_Edges(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Qt_Edges)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new Qt::Edges(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new Qt::Edges();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 182991 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_Edges[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_Qt_Edges___and__, and_slot},
    {(void *)slot_Qt_Edges___xor__, xor_slot},
    {(void *)slot_Qt_Edges___or__, or_slot},
    {(void *)slot_Qt_Edges___int__, int_slot},
    {(void *)slot_Qt_Edges___ixor__, ixor_slot},
    {(void *)slot_Qt_Edges___ior__, ior_slot},
    {(void *)slot_Qt_Edges___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_Edges, "\1Qt.Edges(Qt.Edges)\n"
    "Qt.Edges(int)\n"
    "Qt.Edges()");


pyqt5ClassTypeDef sipTypeDef_QtCore_Qt_Edges = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_Qt__Edges,
        {0}
    },
    {
        sipNameNr_Edges,
        {310, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_Edges,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_Qt_Edges,
    convertTo_Qt_Edges,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 183073 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 183077 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ApplicationStates::Int() != 0);
#line 183095 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ApplicationStates::Int() != a0->operator Qt::ApplicationStates::Int());
#line 183125 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ApplicationStates::Int() == a0->operator Qt::ApplicationStates::Int());
#line 183161 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ApplicationStates___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ApplicationStates* a0;
        int a0State = 0;
        Qt::ApplicationStates* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_ApplicationStates, &a0, &a0State, sipType_Qt_ApplicationStates, &a1, &a1State))
        {
            Qt::ApplicationStates*sipRes;

            sipRes = new Qt::ApplicationStates((*a0 ^ *a1));
            sipReleaseType(a0,sipType_Qt_ApplicationStates,a0State);
            sipReleaseType(a1,sipType_Qt_ApplicationStates,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_ApplicationStates,NULL);
        }
    }

    {
        Qt::ApplicationStates* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_ApplicationStates, &a0, &a0State, &a1))
        {
            Qt::ApplicationStates*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::ApplicationStates(*a0 ^ a1);
#line 183264 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ApplicationStates___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ApplicationStates* a0;
        int a0State = 0;
        Qt::ApplicationStates* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_ApplicationStates, &a0, &a0State, sipType_Qt_ApplicationStates, &a1, &a1State))
        {
            Qt::ApplicationStates*sipRes;

            sipRes = new Qt::ApplicationStates((*a0 | *a1));
            sipReleaseType(a0,sipType_Qt_ApplicationStates,a0State);
            sipReleaseType(a1,sipType_Qt_ApplicationStates,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_ApplicationStates,NULL);
        }
    }

    {
        Qt::ApplicationStates* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_ApplicationStates, &a0, &a0State, &a1))
        {
            Qt::ApplicationStates*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::ApplicationStates(*a0 | a1);
#line 183314 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        Qt::ApplicationStates* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_ApplicationStates, &a0, &a0State))
        {
            sipCpp->Qt::ApplicationStates::operator^=(*a0);
            sipReleaseType(a0,sipType_Qt_ApplicationStates,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_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;

    {
        Qt::ApplicationStates* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_ApplicationStates, &a0, &a0State))
        {
            sipCpp->Qt::ApplicationStates::operator|=(*a0);
            sipReleaseType(a0,sipType_Qt_ApplicationStates,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Qt_ApplicationStates(void *, const sipTypeDef *);}
static void *cast_Qt_ApplicationStates(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Qt_ApplicationStates)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new Qt::ApplicationStates(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new Qt::ApplicationStates();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 183591 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_ApplicationStates[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_Qt_ApplicationStates___and__, and_slot},
    {(void *)slot_Qt_ApplicationStates___xor__, xor_slot},
    {(void *)slot_Qt_ApplicationStates___or__, or_slot},
    {(void *)slot_Qt_ApplicationStates___int__, int_slot},
    {(void *)slot_Qt_ApplicationStates___ixor__, ixor_slot},
    {(void *)slot_Qt_ApplicationStates___ior__, ior_slot},
    {(void *)slot_Qt_ApplicationStates___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_ApplicationStates, "\1Qt.ApplicationStates(Qt.ApplicationStates)\n"
    "Qt.ApplicationStates(int)\n"
    "Qt.ApplicationStates()");


pyqt5ClassTypeDef sipTypeDef_QtCore_Qt_ApplicationStates = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_Qt__ApplicationStates,
        {0}
    },
    {
        sipNameNr_ApplicationStates,
        {310, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_ApplicationStates,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_Qt_ApplicationStates,
    convertTo_Qt_ApplicationStates,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 183673 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 183677 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::FindChildOptions::Int() != 0);
#line 183695 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::FindChildOptions::Int() != a0->operator Qt::FindChildOptions::Int());
#line 183725 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::FindChildOptions::Int() == a0->operator Qt::FindChildOptions::Int());
#line 183761 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_FindChildOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::FindChildOptions* a0;
        int a0State = 0;
        Qt::FindChildOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_FindChildOptions, &a0, &a0State, sipType_Qt_FindChildOptions, &a1, &a1State))
        {
            Qt::FindChildOptions*sipRes;

            sipRes = new Qt::FindChildOptions((*a0 ^ *a1));
            sipReleaseType(a0,sipType_Qt_FindChildOptions,a0State);
            sipReleaseType(a1,sipType_Qt_FindChildOptions,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_FindChildOptions,NULL);
        }
    }

    {
        Qt::FindChildOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_FindChildOptions, &a0, &a0State, &a1))
        {
            Qt::FindChildOptions*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::FindChildOptions(*a0 ^ a1);
#line 183864 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_FindChildOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::FindChildOptions* a0;
        int a0State = 0;
        Qt::FindChildOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_FindChildOptions, &a0, &a0State, sipType_Qt_FindChildOptions, &a1, &a1State))
        {
            Qt::FindChildOptions*sipRes;

            sipRes = new Qt::FindChildOptions((*a0 | *a1));
            sipReleaseType(a0,sipType_Qt_FindChildOptions,a0State);
            sipReleaseType(a1,sipType_Qt_FindChildOptions,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_FindChildOptions,NULL);
        }
    }

    {
        Qt::FindChildOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_FindChildOptions, &a0, &a0State, &a1))
        {
            Qt::FindChildOptions*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::FindChildOptions(*a0 | a1);
#line 183914 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        Qt::FindChildOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_FindChildOptions, &a0, &a0State))
        {
            sipCpp->Qt::FindChildOptions::operator^=(*a0);
            sipReleaseType(a0,sipType_Qt_FindChildOptions,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_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;

    {
        Qt::FindChildOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_FindChildOptions, &a0, &a0State))
        {
            sipCpp->Qt::FindChildOptions::operator|=(*a0);
            sipReleaseType(a0,sipType_Qt_FindChildOptions,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Qt_FindChildOptions(void *, const sipTypeDef *);}
static void *cast_Qt_FindChildOptions(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Qt_FindChildOptions)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new Qt::FindChildOptions(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new Qt::FindChildOptions();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 184191 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_FindChildOptions[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_Qt_FindChildOptions___and__, and_slot},
    {(void *)slot_Qt_FindChildOptions___xor__, xor_slot},
    {(void *)slot_Qt_FindChildOptions___or__, or_slot},
    {(void *)slot_Qt_FindChildOptions___int__, int_slot},
    {(void *)slot_Qt_FindChildOptions___ixor__, ixor_slot},
    {(void *)slot_Qt_FindChildOptions___ior__, ior_slot},
    {(void *)slot_Qt_FindChildOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_FindChildOptions, "\1Qt.FindChildOptions(Qt.FindChildOptions)\n"
    "Qt.FindChildOptions(int)\n"
    "Qt.FindChildOptions()");


pyqt5ClassTypeDef sipTypeDef_QtCore_Qt_FindChildOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_Qt__FindChildOptions,
        {0}
    },
    {
        sipNameNr_FindChildOptions,
        {310, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_FindChildOptions,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_Qt_FindChildOptions,
    convertTo_Qt_FindChildOptions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 184273 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 184277 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ScreenOrientations::Int() != 0);
#line 184295 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ScreenOrientations::Int() != a0->operator Qt::ScreenOrientations::Int());
#line 184325 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ScreenOrientations::Int() == a0->operator Qt::ScreenOrientations::Int());
#line 184361 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ScreenOrientations___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ScreenOrientations* a0;
        int a0State = 0;
        Qt::ScreenOrientations* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_ScreenOrientations, &a0, &a0State, sipType_Qt_ScreenOrientations, &a1, &a1State))
        {
            Qt::ScreenOrientations*sipRes;

            sipRes = new Qt::ScreenOrientations((*a0 ^ *a1));
            sipReleaseType(a0,sipType_Qt_ScreenOrientations,a0State);
            sipReleaseType(a1,sipType_Qt_ScreenOrientations,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_ScreenOrientations,NULL);
        }
    }

    {
        Qt::ScreenOrientations* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_ScreenOrientations, &a0, &a0State, &a1))
        {
            Qt::ScreenOrientations*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::ScreenOrientations(*a0 ^ a1);
#line 184464 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ScreenOrientations___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ScreenOrientations* a0;
        int a0State = 0;
        Qt::ScreenOrientations* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_ScreenOrientations, &a0, &a0State, sipType_Qt_ScreenOrientations, &a1, &a1State))
        {
            Qt::ScreenOrientations*sipRes;

            sipRes = new Qt::ScreenOrientations((*a0 | *a1));
            sipReleaseType(a0,sipType_Qt_ScreenOrientations,a0State);
            sipReleaseType(a1,sipType_Qt_ScreenOrientations,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_ScreenOrientations,NULL);
        }
    }

    {
        Qt::ScreenOrientations* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_ScreenOrientations, &a0, &a0State, &a1))
        {
            Qt::ScreenOrientations*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::ScreenOrientations(*a0 | a1);
#line 184514 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        Qt::ScreenOrientations* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_ScreenOrientations, &a0, &a0State))
        {
            sipCpp->Qt::ScreenOrientations::operator^=(*a0);
            sipReleaseType(a0,sipType_Qt_ScreenOrientations,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_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;

    {
        Qt::ScreenOrientations* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_ScreenOrientations, &a0, &a0State))
        {
            sipCpp->Qt::ScreenOrientations::operator|=(*a0);
            sipReleaseType(a0,sipType_Qt_ScreenOrientations,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Qt_ScreenOrientations(void *, const sipTypeDef *);}
static void *cast_Qt_ScreenOrientations(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Qt_ScreenOrientations)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new Qt::ScreenOrientations(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new Qt::ScreenOrientations();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 184791 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_ScreenOrientations[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_Qt_ScreenOrientations___and__, and_slot},
    {(void *)slot_Qt_ScreenOrientations___xor__, xor_slot},
    {(void *)slot_Qt_ScreenOrientations___or__, or_slot},
    {(void *)slot_Qt_ScreenOrientations___int__, int_slot},
    {(void *)slot_Qt_ScreenOrientations___ixor__, ixor_slot},
    {(void *)slot_Qt_ScreenOrientations___ior__, ior_slot},
    {(void *)slot_Qt_ScreenOrientations___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_ScreenOrientations, "\1Qt.ScreenOrientations(Qt.ScreenOrientations)\n"
    "Qt.ScreenOrientations(int)\n"
    "Qt.ScreenOrientations()");


pyqt5ClassTypeDef sipTypeDef_QtCore_Qt_ScreenOrientations = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_Qt__ScreenOrientations,
        {0}
    },
    {
        sipNameNr_ScreenOrientations,
        {310, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_ScreenOrientations,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_Qt_ScreenOrientations,
    convertTo_Qt_ScreenOrientations,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 184873 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 184877 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::GestureFlags::Int() != 0);
#line 184895 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::GestureFlags::Int() != a0->operator Qt::GestureFlags::Int());
#line 184925 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::GestureFlags::Int() == a0->operator Qt::GestureFlags::Int());
#line 184961 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_GestureFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::GestureFlags* a0;
        int a0State = 0;
        Qt::GestureFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_GestureFlags, &a0, &a0State, sipType_Qt_GestureFlags, &a1, &a1State))
        {
            Qt::GestureFlags*sipRes;

            sipRes = new Qt::GestureFlags((*a0 ^ *a1));
            sipReleaseType(a0,sipType_Qt_GestureFlags,a0State);
            sipReleaseType(a1,sipType_Qt_GestureFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_GestureFlags,NULL);
        }
    }

    {
        Qt::GestureFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_GestureFlags, &a0, &a0State, &a1))
        {
            Qt::GestureFlags*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::GestureFlags(*a0 ^ a1);
#line 185064 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_GestureFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::GestureFlags* a0;
        int a0State = 0;
        Qt::GestureFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_GestureFlags, &a0, &a0State, sipType_Qt_GestureFlags, &a1, &a1State))
        {
            Qt::GestureFlags*sipRes;

            sipRes = new Qt::GestureFlags((*a0 | *a1));
            sipReleaseType(a0,sipType_Qt_GestureFlags,a0State);
            sipReleaseType(a1,sipType_Qt_GestureFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_GestureFlags,NULL);
        }
    }

    {
        Qt::GestureFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_GestureFlags, &a0, &a0State, &a1))
        {
            Qt::GestureFlags*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::GestureFlags(*a0 | a1);
#line 185114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        Qt::GestureFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_GestureFlags, &a0, &a0State))
        {
            sipCpp->Qt::GestureFlags::operator^=(*a0);
            sipReleaseType(a0,sipType_Qt_GestureFlags,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_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;

    {
        Qt::GestureFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_GestureFlags, &a0, &a0State))
        {
            sipCpp->Qt::GestureFlags::operator|=(*a0);
            sipReleaseType(a0,sipType_Qt_GestureFlags,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Qt_GestureFlags(void *, const sipTypeDef *);}
static void *cast_Qt_GestureFlags(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Qt_GestureFlags)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new Qt::GestureFlags(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new Qt::GestureFlags();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 185391 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_GestureFlags[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_Qt_GestureFlags___and__, and_slot},
    {(void *)slot_Qt_GestureFlags___xor__, xor_slot},
    {(void *)slot_Qt_GestureFlags___or__, or_slot},
    {(void *)slot_Qt_GestureFlags___int__, int_slot},
    {(void *)slot_Qt_GestureFlags___ixor__, ixor_slot},
    {(void *)slot_Qt_GestureFlags___ior__, ior_slot},
    {(void *)slot_Qt_GestureFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_GestureFlags, "\1Qt.GestureFlags(Qt.GestureFlags)\n"
    "Qt.GestureFlags(int)\n"
    "Qt.GestureFlags()");


pyqt5ClassTypeDef sipTypeDef_QtCore_Qt_GestureFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_Qt__GestureFlags,
        {0}
    },
    {
        sipNameNr_GestureFlags,
        {310, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_GestureFlags,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_Qt_GestureFlags,
    convertTo_Qt_GestureFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 185473 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 185477 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::TouchPointStates::Int() != 0);
#line 185495 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::TouchPointStates::Int() != a0->operator Qt::TouchPointStates::Int());
#line 185525 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::TouchPointStates::Int() == a0->operator Qt::TouchPointStates::Int());
#line 185561 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_TouchPointStates___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::TouchPointStates* a0;
        int a0State = 0;
        Qt::TouchPointStates* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_TouchPointStates, &a0, &a0State, sipType_Qt_TouchPointStates, &a1, &a1State))
        {
            Qt::TouchPointStates*sipRes;

            sipRes = new Qt::TouchPointStates((*a0 ^ *a1));
            sipReleaseType(a0,sipType_Qt_TouchPointStates,a0State);
            sipReleaseType(a1,sipType_Qt_TouchPointStates,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_TouchPointStates,NULL);
        }
    }

    {
        Qt::TouchPointStates* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_TouchPointStates, &a0, &a0State, &a1))
        {
            Qt::TouchPointStates*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::TouchPointStates(*a0 ^ a1);
#line 185664 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_TouchPointStates___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::TouchPointStates* a0;
        int a0State = 0;
        Qt::TouchPointStates* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_TouchPointStates, &a0, &a0State, sipType_Qt_TouchPointStates, &a1, &a1State))
        {
            Qt::TouchPointStates*sipRes;

            sipRes = new Qt::TouchPointStates((*a0 | *a1));
            sipReleaseType(a0,sipType_Qt_TouchPointStates,a0State);
            sipReleaseType(a1,sipType_Qt_TouchPointStates,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_TouchPointStates,NULL);
        }
    }

    {
        Qt::TouchPointStates* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_TouchPointStates, &a0, &a0State, &a1))
        {
            Qt::TouchPointStates*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::TouchPointStates(*a0 | a1);
#line 185714 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        Qt::TouchPointStates* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_TouchPointStates, &a0, &a0State))
        {
            sipCpp->Qt::TouchPointStates::operator^=(*a0);
            sipReleaseType(a0,sipType_Qt_TouchPointStates,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_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;

    {
        Qt::TouchPointStates* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_TouchPointStates, &a0, &a0State))
        {
            sipCpp->Qt::TouchPointStates::operator|=(*a0);
            sipReleaseType(a0,sipType_Qt_TouchPointStates,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Qt_TouchPointStates(void *, const sipTypeDef *);}
static void *cast_Qt_TouchPointStates(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Qt_TouchPointStates)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new Qt::TouchPointStates(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new Qt::TouchPointStates();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 185991 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_TouchPointStates[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_Qt_TouchPointStates___and__, and_slot},
    {(void *)slot_Qt_TouchPointStates___xor__, xor_slot},
    {(void *)slot_Qt_TouchPointStates___or__, or_slot},
    {(void *)slot_Qt_TouchPointStates___int__, int_slot},
    {(void *)slot_Qt_TouchPointStates___ixor__, ixor_slot},
    {(void *)slot_Qt_TouchPointStates___ior__, ior_slot},
    {(void *)slot_Qt_TouchPointStates___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_TouchPointStates, "\1Qt.TouchPointStates(Qt.TouchPointStates)\n"
    "Qt.TouchPointStates(int)\n"
    "Qt.TouchPointStates()");


pyqt5ClassTypeDef sipTypeDef_QtCore_Qt_TouchPointStates = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_Qt__TouchPointStates,
        {0}
    },
    {
        sipNameNr_TouchPointStates,
        {310, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_TouchPointStates,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_Qt_TouchPointStates,
    convertTo_Qt_TouchPointStates,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 186073 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 186077 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::InputMethodHints::Int() != 0);
#line 186095 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::InputMethodHints::Int() != a0->operator Qt::InputMethodHints::Int());
#line 186125 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::InputMethodHints::Int() == a0->operator Qt::InputMethodHints::Int());
#line 186161 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_InputMethodHints___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::InputMethodHints* a0;
        int a0State = 0;
        Qt::InputMethodHints* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_InputMethodHints, &a0, &a0State, sipType_Qt_InputMethodHints, &a1, &a1State))
        {
            Qt::InputMethodHints*sipRes;

            sipRes = new Qt::InputMethodHints((*a0 ^ *a1));
            sipReleaseType(a0,sipType_Qt_InputMethodHints,a0State);
            sipReleaseType(a1,sipType_Qt_InputMethodHints,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_InputMethodHints,NULL);
        }
    }

    {
        Qt::InputMethodHints* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_InputMethodHints, &a0, &a0State, &a1))
        {
            Qt::InputMethodHints*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::InputMethodHints(*a0 ^ a1);
#line 186264 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_InputMethodHints___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::InputMethodHints* a0;
        int a0State = 0;
        Qt::InputMethodHints* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_InputMethodHints, &a0, &a0State, sipType_Qt_InputMethodHints, &a1, &a1State))
        {
            Qt::InputMethodHints*sipRes;

            sipRes = new Qt::InputMethodHints((*a0 | *a1));
            sipReleaseType(a0,sipType_Qt_InputMethodHints,a0State);
            sipReleaseType(a1,sipType_Qt_InputMethodHints,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_InputMethodHints,NULL);
        }
    }

    {
        Qt::InputMethodHints* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_InputMethodHints, &a0, &a0State, &a1))
        {
            Qt::InputMethodHints*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::InputMethodHints(*a0 | a1);
#line 186314 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        Qt::InputMethodHints* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_InputMethodHints, &a0, &a0State))
        {
            sipCpp->Qt::InputMethodHints::operator^=(*a0);
            sipReleaseType(a0,sipType_Qt_InputMethodHints,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_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;

    {
        Qt::InputMethodHints* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_InputMethodHints, &a0, &a0State))
        {
            sipCpp->Qt::InputMethodHints::operator|=(*a0);
            sipReleaseType(a0,sipType_Qt_InputMethodHints,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Qt_InputMethodHints(void *, const sipTypeDef *);}
static void *cast_Qt_InputMethodHints(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Qt_InputMethodHints)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new Qt::InputMethodHints(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new Qt::InputMethodHints();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 186591 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_InputMethodHints[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_Qt_InputMethodHints___and__, and_slot},
    {(void *)slot_Qt_InputMethodHints___xor__, xor_slot},
    {(void *)slot_Qt_InputMethodHints___or__, or_slot},
    {(void *)slot_Qt_InputMethodHints___int__, int_slot},
    {(void *)slot_Qt_InputMethodHints___ixor__, ixor_slot},
    {(void *)slot_Qt_InputMethodHints___ior__, ior_slot},
    {(void *)slot_Qt_InputMethodHints___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_InputMethodHints, "\1Qt.InputMethodHints(Qt.InputMethodHints)\n"
    "Qt.InputMethodHints(int)\n"
    "Qt.InputMethodHints()");


pyqt5ClassTypeDef sipTypeDef_QtCore_Qt_InputMethodHints = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_Qt__InputMethodHints,
        {0}
    },
    {
        sipNameNr_InputMethodHints,
        {310, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_InputMethodHints,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_Qt_InputMethodHints,
    convertTo_Qt_InputMethodHints,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 186673 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 186677 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::TextInteractionFlags::Int() != 0);
#line 186695 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::TextInteractionFlags::Int() != a0->operator Qt::TextInteractionFlags::Int());
#line 186725 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::TextInteractionFlags::Int() == a0->operator Qt::TextInteractionFlags::Int());
#line 186761 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_TextInteractionFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::TextInteractionFlags* a0;
        int a0State = 0;
        Qt::TextInteractionFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_TextInteractionFlags, &a0, &a0State, sipType_Qt_TextInteractionFlags, &a1, &a1State))
        {
            Qt::TextInteractionFlags*sipRes;

            sipRes = new Qt::TextInteractionFlags((*a0 ^ *a1));
            sipReleaseType(a0,sipType_Qt_TextInteractionFlags,a0State);
            sipReleaseType(a1,sipType_Qt_TextInteractionFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_TextInteractionFlags,NULL);
        }
    }

    {
        Qt::TextInteractionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_TextInteractionFlags, &a0, &a0State, &a1))
        {
            Qt::TextInteractionFlags*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::TextInteractionFlags(*a0 ^ a1);
#line 186864 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_TextInteractionFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::TextInteractionFlags* a0;
        int a0State = 0;
        Qt::TextInteractionFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_TextInteractionFlags, &a0, &a0State, sipType_Qt_TextInteractionFlags, &a1, &a1State))
        {
            Qt::TextInteractionFlags*sipRes;

            sipRes = new Qt::TextInteractionFlags((*a0 | *a1));
            sipReleaseType(a0,sipType_Qt_TextInteractionFlags,a0State);
            sipReleaseType(a1,sipType_Qt_TextInteractionFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_TextInteractionFlags,NULL);
        }
    }

    {
        Qt::TextInteractionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_TextInteractionFlags, &a0, &a0State, &a1))
        {
            Qt::TextInteractionFlags*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::TextInteractionFlags(*a0 | a1);
#line 186914 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        Qt::TextInteractionFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_TextInteractionFlags, &a0, &a0State))
        {
            sipCpp->Qt::TextInteractionFlags::operator^=(*a0);
            sipReleaseType(a0,sipType_Qt_TextInteractionFlags,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_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;

    {
        Qt::TextInteractionFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_TextInteractionFlags, &a0, &a0State))
        {
            sipCpp->Qt::TextInteractionFlags::operator|=(*a0);
            sipReleaseType(a0,sipType_Qt_TextInteractionFlags,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Qt_TextInteractionFlags(void *, const sipTypeDef *);}
static void *cast_Qt_TextInteractionFlags(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Qt_TextInteractionFlags)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new Qt::TextInteractionFlags(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new Qt::TextInteractionFlags();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 187191 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_TextInteractionFlags[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_Qt_TextInteractionFlags___and__, and_slot},
    {(void *)slot_Qt_TextInteractionFlags___xor__, xor_slot},
    {(void *)slot_Qt_TextInteractionFlags___or__, or_slot},
    {(void *)slot_Qt_TextInteractionFlags___int__, int_slot},
    {(void *)slot_Qt_TextInteractionFlags___ixor__, ixor_slot},
    {(void *)slot_Qt_TextInteractionFlags___ior__, ior_slot},
    {(void *)slot_Qt_TextInteractionFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_TextInteractionFlags, "\1Qt.TextInteractionFlags(Qt.TextInteractionFlags)\n"
    "Qt.TextInteractionFlags(int)\n"
    "Qt.TextInteractionFlags()");


pyqt5ClassTypeDef sipTypeDef_QtCore_Qt_TextInteractionFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_Qt__TextInteractionFlags,
        {0}
    },
    {
        sipNameNr_TextInteractionFlags,
        {310, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_TextInteractionFlags,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_Qt_TextInteractionFlags,
    convertTo_Qt_TextInteractionFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 187273 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 187277 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::MatchFlags::Int() != 0);
#line 187295 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::MatchFlags::Int() != a0->operator Qt::MatchFlags::Int());
#line 187325 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::MatchFlags::Int() == a0->operator Qt::MatchFlags::Int());
#line 187361 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MatchFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::MatchFlags* a0;
        int a0State = 0;
        Qt::MatchFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_MatchFlags, &a0, &a0State, sipType_Qt_MatchFlags, &a1, &a1State))
        {
            Qt::MatchFlags*sipRes;

            sipRes = new Qt::MatchFlags((*a0 ^ *a1));
            sipReleaseType(a0,sipType_Qt_MatchFlags,a0State);
            sipReleaseType(a1,sipType_Qt_MatchFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_MatchFlags,NULL);
        }
    }

    {
        Qt::MatchFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_MatchFlags, &a0, &a0State, &a1))
        {
            Qt::MatchFlags*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::MatchFlags(*a0 ^ a1);
#line 187464 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MatchFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::MatchFlags* a0;
        int a0State = 0;
        Qt::MatchFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_MatchFlags, &a0, &a0State, sipType_Qt_MatchFlags, &a1, &a1State))
        {
            Qt::MatchFlags*sipRes;

            sipRes = new Qt::MatchFlags((*a0 | *a1));
            sipReleaseType(a0,sipType_Qt_MatchFlags,a0State);
            sipReleaseType(a1,sipType_Qt_MatchFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_MatchFlags,NULL);
        }
    }

    {
        Qt::MatchFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_MatchFlags, &a0, &a0State, &a1))
        {
            Qt::MatchFlags*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::MatchFlags(*a0 | a1);
#line 187514 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        Qt::MatchFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_MatchFlags, &a0, &a0State))
        {
            sipCpp->Qt::MatchFlags::operator^=(*a0);
            sipReleaseType(a0,sipType_Qt_MatchFlags,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_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;

    {
        Qt::MatchFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_MatchFlags, &a0, &a0State))
        {
            sipCpp->Qt::MatchFlags::operator|=(*a0);
            sipReleaseType(a0,sipType_Qt_MatchFlags,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Qt_MatchFlags(void *, const sipTypeDef *);}
static void *cast_Qt_MatchFlags(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Qt_MatchFlags)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new Qt::MatchFlags(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new Qt::MatchFlags();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 187791 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_MatchFlags[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_Qt_MatchFlags___and__, and_slot},
    {(void *)slot_Qt_MatchFlags___xor__, xor_slot},
    {(void *)slot_Qt_MatchFlags___or__, or_slot},
    {(void *)slot_Qt_MatchFlags___int__, int_slot},
    {(void *)slot_Qt_MatchFlags___ixor__, ixor_slot},
    {(void *)slot_Qt_MatchFlags___ior__, ior_slot},
    {(void *)slot_Qt_MatchFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_MatchFlags, "\1Qt.MatchFlags(Qt.MatchFlags)\n"
    "Qt.MatchFlags(int)\n"
    "Qt.MatchFlags()");


pyqt5ClassTypeDef sipTypeDef_QtCore_Qt_MatchFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_Qt__MatchFlags,
        {0}
    },
    {
        sipNameNr_MatchFlags,
        {310, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_MatchFlags,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_Qt_MatchFlags,
    convertTo_Qt_MatchFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 187873 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 187877 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ItemFlags::Int() != 0);
#line 187895 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ItemFlags::Int() != a0->operator Qt::ItemFlags::Int());
#line 187925 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ItemFlags::Int() == a0->operator Qt::ItemFlags::Int());
#line 187961 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ItemFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ItemFlags* a0;
        int a0State = 0;
        Qt::ItemFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_ItemFlags, &a0, &a0State, sipType_Qt_ItemFlags, &a1, &a1State))
        {
            Qt::ItemFlags*sipRes;

            sipRes = new Qt::ItemFlags((*a0 ^ *a1));
            sipReleaseType(a0,sipType_Qt_ItemFlags,a0State);
            sipReleaseType(a1,sipType_Qt_ItemFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_ItemFlags,NULL);
        }
    }

    {
        Qt::ItemFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_ItemFlags, &a0, &a0State, &a1))
        {
            Qt::ItemFlags*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::ItemFlags(*a0 ^ a1);
#line 188064 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ItemFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ItemFlags* a0;
        int a0State = 0;
        Qt::ItemFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_ItemFlags, &a0, &a0State, sipType_Qt_ItemFlags, &a1, &a1State))
        {
            Qt::ItemFlags*sipRes;

            sipRes = new Qt::ItemFlags((*a0 | *a1));
            sipReleaseType(a0,sipType_Qt_ItemFlags,a0State);
            sipReleaseType(a1,sipType_Qt_ItemFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_ItemFlags,NULL);
        }
    }

    {
        Qt::ItemFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_ItemFlags, &a0, &a0State, &a1))
        {
            Qt::ItemFlags*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::ItemFlags(*a0 | a1);
#line 188114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        Qt::ItemFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_ItemFlags, &a0, &a0State))
        {
            sipCpp->Qt::ItemFlags::operator^=(*a0);
            sipReleaseType(a0,sipType_Qt_ItemFlags,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_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;

    {
        Qt::ItemFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_ItemFlags, &a0, &a0State))
        {
            sipCpp->Qt::ItemFlags::operator|=(*a0);
            sipReleaseType(a0,sipType_Qt_ItemFlags,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Qt_ItemFlags(void *, const sipTypeDef *);}
static void *cast_Qt_ItemFlags(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Qt_ItemFlags)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new Qt::ItemFlags(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new Qt::ItemFlags();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 188391 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_ItemFlags[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_Qt_ItemFlags___and__, and_slot},
    {(void *)slot_Qt_ItemFlags___xor__, xor_slot},
    {(void *)slot_Qt_ItemFlags___or__, or_slot},
    {(void *)slot_Qt_ItemFlags___int__, int_slot},
    {(void *)slot_Qt_ItemFlags___ixor__, ixor_slot},
    {(void *)slot_Qt_ItemFlags___ior__, ior_slot},
    {(void *)slot_Qt_ItemFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_ItemFlags, "\1Qt.ItemFlags(Qt.ItemFlags)\n"
    "Qt.ItemFlags(int)\n"
    "Qt.ItemFlags()");


pyqt5ClassTypeDef sipTypeDef_QtCore_Qt_ItemFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_Qt__ItemFlags,
        {0}
    },
    {
        sipNameNr_ItemFlags,
        {310, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_ItemFlags,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_Qt_ItemFlags,
    convertTo_Qt_ItemFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 188473 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 188477 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::DropActions::Int() != 0);
#line 188495 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::DropActions::Int() != a0->operator Qt::DropActions::Int());
#line 188525 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::DropActions::Int() == a0->operator Qt::DropActions::Int());
#line 188561 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_DropActions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::DropActions* a0;
        int a0State = 0;
        Qt::DropActions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_DropActions, &a0, &a0State, sipType_Qt_DropActions, &a1, &a1State))
        {
            Qt::DropActions*sipRes;

            sipRes = new Qt::DropActions((*a0 ^ *a1));
            sipReleaseType(a0,sipType_Qt_DropActions,a0State);
            sipReleaseType(a1,sipType_Qt_DropActions,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_DropActions,NULL);
        }
    }

    {
        Qt::DropActions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_DropActions, &a0, &a0State, &a1))
        {
            Qt::DropActions*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::DropActions(*a0 ^ a1);
#line 188664 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_DropActions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::DropActions* a0;
        int a0State = 0;
        Qt::DropActions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_DropActions, &a0, &a0State, sipType_Qt_DropActions, &a1, &a1State))
        {
            Qt::DropActions*sipRes;

            sipRes = new Qt::DropActions((*a0 | *a1));
            sipReleaseType(a0,sipType_Qt_DropActions,a0State);
            sipReleaseType(a1,sipType_Qt_DropActions,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_DropActions,NULL);
        }
    }

    {
        Qt::DropActions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_DropActions, &a0, &a0State, &a1))
        {
            Qt::DropActions*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::DropActions(*a0 | a1);
#line 188714 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        Qt::DropActions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_DropActions, &a0, &a0State))
        {
            sipCpp->Qt::DropActions::operator^=(*a0);
            sipReleaseType(a0,sipType_Qt_DropActions,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_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;

    {
        Qt::DropActions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_DropActions, &a0, &a0State))
        {
            sipCpp->Qt::DropActions::operator|=(*a0);
            sipReleaseType(a0,sipType_Qt_DropActions,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Qt_DropActions(void *, const sipTypeDef *);}
static void *cast_Qt_DropActions(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Qt_DropActions)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new Qt::DropActions(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new Qt::DropActions();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 188991 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_DropActions[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_Qt_DropActions___and__, and_slot},
    {(void *)slot_Qt_DropActions___xor__, xor_slot},
    {(void *)slot_Qt_DropActions___or__, or_slot},
    {(void *)slot_Qt_DropActions___int__, int_slot},
    {(void *)slot_Qt_DropActions___ixor__, ixor_slot},
    {(void *)slot_Qt_DropActions___ior__, ior_slot},
    {(void *)slot_Qt_DropActions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_DropActions, "\1Qt.DropActions(Qt.DropActions)\n"
    "Qt.DropActions(int)\n"
    "Qt.DropActions()");


pyqt5ClassTypeDef sipTypeDef_QtCore_Qt_DropActions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_Qt__DropActions,
        {0}
    },
    {
        sipNameNr_DropActions,
        {310, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_DropActions,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_Qt_DropActions,
    convertTo_Qt_DropActions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 189073 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 189077 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::InputMethodQueries::Int() != 0);
#line 189095 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::InputMethodQueries::Int() != a0->operator Qt::InputMethodQueries::Int());
#line 189125 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::InputMethodQueries::Int() == a0->operator Qt::InputMethodQueries::Int());
#line 189161 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_InputMethodQueries___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::InputMethodQueries* a0;
        int a0State = 0;
        Qt::InputMethodQueries* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_InputMethodQueries, &a0, &a0State, sipType_Qt_InputMethodQueries, &a1, &a1State))
        {
            Qt::InputMethodQueries*sipRes;

            sipRes = new Qt::InputMethodQueries((*a0 ^ *a1));
            sipReleaseType(a0,sipType_Qt_InputMethodQueries,a0State);
            sipReleaseType(a1,sipType_Qt_InputMethodQueries,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_InputMethodQueries,NULL);
        }
    }

    {
        Qt::InputMethodQueries* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_InputMethodQueries, &a0, &a0State, &a1))
        {
            Qt::InputMethodQueries*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::InputMethodQueries(*a0 ^ a1);
#line 189264 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_InputMethodQueries___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::InputMethodQueries* a0;
        int a0State = 0;
        Qt::InputMethodQueries* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_InputMethodQueries, &a0, &a0State, sipType_Qt_InputMethodQueries, &a1, &a1State))
        {
            Qt::InputMethodQueries*sipRes;

            sipRes = new Qt::InputMethodQueries((*a0 | *a1));
            sipReleaseType(a0,sipType_Qt_InputMethodQueries,a0State);
            sipReleaseType(a1,sipType_Qt_InputMethodQueries,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_InputMethodQueries,NULL);
        }
    }

    {
        Qt::InputMethodQueries* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_InputMethodQueries, &a0, &a0State, &a1))
        {
            Qt::InputMethodQueries*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::InputMethodQueries(*a0 | a1);
#line 189314 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        Qt::InputMethodQueries* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_InputMethodQueries, &a0, &a0State))
        {
            sipCpp->Qt::InputMethodQueries::operator^=(*a0);
            sipReleaseType(a0,sipType_Qt_InputMethodQueries,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_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;

    {
        Qt::InputMethodQueries* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_InputMethodQueries, &a0, &a0State))
        {
            sipCpp->Qt::InputMethodQueries::operator|=(*a0);
            sipReleaseType(a0,sipType_Qt_InputMethodQueries,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Qt_InputMethodQueries(void *, const sipTypeDef *);}
static void *cast_Qt_InputMethodQueries(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Qt_InputMethodQueries)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new Qt::InputMethodQueries(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new Qt::InputMethodQueries();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 189591 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_InputMethodQueries[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_Qt_InputMethodQueries___and__, and_slot},
    {(void *)slot_Qt_InputMethodQueries___xor__, xor_slot},
    {(void *)slot_Qt_InputMethodQueries___or__, or_slot},
    {(void *)slot_Qt_InputMethodQueries___int__, int_slot},
    {(void *)slot_Qt_InputMethodQueries___ixor__, ixor_slot},
    {(void *)slot_Qt_InputMethodQueries___ior__, ior_slot},
    {(void *)slot_Qt_InputMethodQueries___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_InputMethodQueries, "\1Qt.InputMethodQueries(Qt.InputMethodQueries)\n"
    "Qt.InputMethodQueries(int)\n"
    "Qt.InputMethodQueries()");


pyqt5ClassTypeDef sipTypeDef_QtCore_Qt_InputMethodQueries = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_Qt__InputMethodQueries,
        {0}
    },
    {
        sipNameNr_InputMethodQueries,
        {310, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_InputMethodQueries,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_Qt_InputMethodQueries,
    convertTo_Qt_InputMethodQueries,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 189673 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 189677 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ToolBarAreas::Int() != 0);
#line 189695 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ToolBarAreas::Int() != a0->operator Qt::ToolBarAreas::Int());
#line 189725 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ToolBarAreas::Int() == a0->operator Qt::ToolBarAreas::Int());
#line 189761 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ToolBarAreas___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ToolBarAreas* a0;
        int a0State = 0;
        Qt::ToolBarAreas* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_ToolBarAreas, &a0, &a0State, sipType_Qt_ToolBarAreas, &a1, &a1State))
        {
            Qt::ToolBarAreas*sipRes;

            sipRes = new Qt::ToolBarAreas((*a0 ^ *a1));
            sipReleaseType(a0,sipType_Qt_ToolBarAreas,a0State);
            sipReleaseType(a1,sipType_Qt_ToolBarAreas,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_ToolBarAreas,NULL);
        }
    }

    {
        Qt::ToolBarAreas* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_ToolBarAreas, &a0, &a0State, &a1))
        {
            Qt::ToolBarAreas*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::ToolBarAreas(*a0 ^ a1);
#line 189864 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ToolBarAreas___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ToolBarAreas* a0;
        int a0State = 0;
        Qt::ToolBarAreas* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_ToolBarAreas, &a0, &a0State, sipType_Qt_ToolBarAreas, &a1, &a1State))
        {
            Qt::ToolBarAreas*sipRes;

            sipRes = new Qt::ToolBarAreas((*a0 | *a1));
            sipReleaseType(a0,sipType_Qt_ToolBarAreas,a0State);
            sipReleaseType(a1,sipType_Qt_ToolBarAreas,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_ToolBarAreas,NULL);
        }
    }

    {
        Qt::ToolBarAreas* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_ToolBarAreas, &a0, &a0State, &a1))
        {
            Qt::ToolBarAreas*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::ToolBarAreas(*a0 | a1);
#line 189914 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        Qt::ToolBarAreas* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_ToolBarAreas, &a0, &a0State))
        {
            sipCpp->Qt::ToolBarAreas::operator^=(*a0);
            sipReleaseType(a0,sipType_Qt_ToolBarAreas,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_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;

    {
        Qt::ToolBarAreas* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_ToolBarAreas, &a0, &a0State))
        {
            sipCpp->Qt::ToolBarAreas::operator|=(*a0);
            sipReleaseType(a0,sipType_Qt_ToolBarAreas,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Qt_ToolBarAreas(void *, const sipTypeDef *);}
static void *cast_Qt_ToolBarAreas(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Qt_ToolBarAreas)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new Qt::ToolBarAreas(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new Qt::ToolBarAreas();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 190191 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_ToolBarAreas[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_Qt_ToolBarAreas___and__, and_slot},
    {(void *)slot_Qt_ToolBarAreas___xor__, xor_slot},
    {(void *)slot_Qt_ToolBarAreas___or__, or_slot},
    {(void *)slot_Qt_ToolBarAreas___int__, int_slot},
    {(void *)slot_Qt_ToolBarAreas___ixor__, ixor_slot},
    {(void *)slot_Qt_ToolBarAreas___ior__, ior_slot},
    {(void *)slot_Qt_ToolBarAreas___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_ToolBarAreas, "\1Qt.ToolBarAreas(Qt.ToolBarAreas)\n"
    "Qt.ToolBarAreas(int)\n"
    "Qt.ToolBarAreas()");


pyqt5ClassTypeDef sipTypeDef_QtCore_Qt_ToolBarAreas = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_Qt__ToolBarAreas,
        {0}
    },
    {
        sipNameNr_ToolBarAreas,
        {310, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_ToolBarAreas,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_Qt_ToolBarAreas,
    convertTo_Qt_ToolBarAreas,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 190273 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 190277 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::DockWidgetAreas::Int() != 0);
#line 190295 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::DockWidgetAreas::Int() != a0->operator Qt::DockWidgetAreas::Int());
#line 190325 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::DockWidgetAreas::Int() == a0->operator Qt::DockWidgetAreas::Int());
#line 190361 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_DockWidgetAreas___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::DockWidgetAreas* a0;
        int a0State = 0;
        Qt::DockWidgetAreas* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_DockWidgetAreas, &a0, &a0State, sipType_Qt_DockWidgetAreas, &a1, &a1State))
        {
            Qt::DockWidgetAreas*sipRes;

            sipRes = new Qt::DockWidgetAreas((*a0 ^ *a1));
            sipReleaseType(a0,sipType_Qt_DockWidgetAreas,a0State);
            sipReleaseType(a1,sipType_Qt_DockWidgetAreas,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_DockWidgetAreas,NULL);
        }
    }

    {
        Qt::DockWidgetAreas* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_DockWidgetAreas, &a0, &a0State, &a1))
        {
            Qt::DockWidgetAreas*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::DockWidgetAreas(*a0 ^ a1);
#line 190464 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_DockWidgetAreas___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::DockWidgetAreas* a0;
        int a0State = 0;
        Qt::DockWidgetAreas* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_DockWidgetAreas, &a0, &a0State, sipType_Qt_DockWidgetAreas, &a1, &a1State))
        {
            Qt::DockWidgetAreas*sipRes;

            sipRes = new Qt::DockWidgetAreas((*a0 | *a1));
            sipReleaseType(a0,sipType_Qt_DockWidgetAreas,a0State);
            sipReleaseType(a1,sipType_Qt_DockWidgetAreas,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_DockWidgetAreas,NULL);
        }
    }

    {
        Qt::DockWidgetAreas* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_DockWidgetAreas, &a0, &a0State, &a1))
        {
            Qt::DockWidgetAreas*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::DockWidgetAreas(*a0 | a1);
#line 190514 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        Qt::DockWidgetAreas* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_DockWidgetAreas, &a0, &a0State))
        {
            sipCpp->Qt::DockWidgetAreas::operator^=(*a0);
            sipReleaseType(a0,sipType_Qt_DockWidgetAreas,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_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;

    {
        Qt::DockWidgetAreas* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_DockWidgetAreas, &a0, &a0State))
        {
            sipCpp->Qt::DockWidgetAreas::operator|=(*a0);
            sipReleaseType(a0,sipType_Qt_DockWidgetAreas,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Qt_DockWidgetAreas(void *, const sipTypeDef *);}
static void *cast_Qt_DockWidgetAreas(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Qt_DockWidgetAreas)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new Qt::DockWidgetAreas(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new Qt::DockWidgetAreas();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 190791 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_DockWidgetAreas[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_Qt_DockWidgetAreas___and__, and_slot},
    {(void *)slot_Qt_DockWidgetAreas___xor__, xor_slot},
    {(void *)slot_Qt_DockWidgetAreas___or__, or_slot},
    {(void *)slot_Qt_DockWidgetAreas___int__, int_slot},
    {(void *)slot_Qt_DockWidgetAreas___ixor__, ixor_slot},
    {(void *)slot_Qt_DockWidgetAreas___ior__, ior_slot},
    {(void *)slot_Qt_DockWidgetAreas___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_DockWidgetAreas, "\1Qt.DockWidgetAreas(Qt.DockWidgetAreas)\n"
    "Qt.DockWidgetAreas(int)\n"
    "Qt.DockWidgetAreas()");


pyqt5ClassTypeDef sipTypeDef_QtCore_Qt_DockWidgetAreas = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_Qt__DockWidgetAreas,
        {0}
    },
    {
        sipNameNr_DockWidgetAreas,
        {310, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_DockWidgetAreas,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_Qt_DockWidgetAreas,
    convertTo_Qt_DockWidgetAreas,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 190873 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 190877 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ImageConversionFlags::Int() != 0);
#line 190895 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ImageConversionFlags::Int() != a0->operator Qt::ImageConversionFlags::Int());
#line 190925 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ImageConversionFlags::Int() == a0->operator Qt::ImageConversionFlags::Int());
#line 190961 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ImageConversionFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ImageConversionFlags* a0;
        int a0State = 0;
        Qt::ImageConversionFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_ImageConversionFlags, &a0, &a0State, sipType_Qt_ImageConversionFlags, &a1, &a1State))
        {
            Qt::ImageConversionFlags*sipRes;

            sipRes = new Qt::ImageConversionFlags((*a0 ^ *a1));
            sipReleaseType(a0,sipType_Qt_ImageConversionFlags,a0State);
            sipReleaseType(a1,sipType_Qt_ImageConversionFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_ImageConversionFlags,NULL);
        }
    }

    {
        Qt::ImageConversionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_ImageConversionFlags, &a0, &a0State, &a1))
        {
            Qt::ImageConversionFlags*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::ImageConversionFlags(*a0 ^ a1);
#line 191064 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ImageConversionFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ImageConversionFlags* a0;
        int a0State = 0;
        Qt::ImageConversionFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_ImageConversionFlags, &a0, &a0State, sipType_Qt_ImageConversionFlags, &a1, &a1State))
        {
            Qt::ImageConversionFlags*sipRes;

            sipRes = new Qt::ImageConversionFlags((*a0 | *a1));
            sipReleaseType(a0,sipType_Qt_ImageConversionFlags,a0State);
            sipReleaseType(a1,sipType_Qt_ImageConversionFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_ImageConversionFlags,NULL);
        }
    }

    {
        Qt::ImageConversionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_ImageConversionFlags, &a0, &a0State, &a1))
        {
            Qt::ImageConversionFlags*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::ImageConversionFlags(*a0 | a1);
#line 191114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        Qt::ImageConversionFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_ImageConversionFlags, &a0, &a0State))
        {
            sipCpp->Qt::ImageConversionFlags::operator^=(*a0);
            sipReleaseType(a0,sipType_Qt_ImageConversionFlags,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_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;

    {
        Qt::ImageConversionFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_ImageConversionFlags, &a0, &a0State))
        {
            sipCpp->Qt::ImageConversionFlags::operator|=(*a0);
            sipReleaseType(a0,sipType_Qt_ImageConversionFlags,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Qt_ImageConversionFlags(void *, const sipTypeDef *);}
static void *cast_Qt_ImageConversionFlags(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Qt_ImageConversionFlags)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new Qt::ImageConversionFlags(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new Qt::ImageConversionFlags();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 191391 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_ImageConversionFlags[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_Qt_ImageConversionFlags___and__, and_slot},
    {(void *)slot_Qt_ImageConversionFlags___xor__, xor_slot},
    {(void *)slot_Qt_ImageConversionFlags___or__, or_slot},
    {(void *)slot_Qt_ImageConversionFlags___int__, int_slot},
    {(void *)slot_Qt_ImageConversionFlags___ixor__, ixor_slot},
    {(void *)slot_Qt_ImageConversionFlags___ior__, ior_slot},
    {(void *)slot_Qt_ImageConversionFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_ImageConversionFlags, "\1Qt.ImageConversionFlags(Qt.ImageConversionFlags)\n"
    "Qt.ImageConversionFlags(int)\n"
    "Qt.ImageConversionFlags()");


pyqt5ClassTypeDef sipTypeDef_QtCore_Qt_ImageConversionFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_Qt__ImageConversionFlags,
        {0}
    },
    {
        sipNameNr_ImageConversionFlags,
        {310, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_ImageConversionFlags,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_Qt_ImageConversionFlags,
    convertTo_Qt_ImageConversionFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 191473 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 191477 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::WindowStates::Int() != 0);
#line 191495 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::WindowStates::Int() != a0->operator Qt::WindowStates::Int());
#line 191525 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::WindowStates::Int() == a0->operator Qt::WindowStates::Int());
#line 191561 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_WindowStates___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::WindowStates* a0;
        int a0State = 0;
        Qt::WindowStates* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_WindowStates, &a0, &a0State, sipType_Qt_WindowStates, &a1, &a1State))
        {
            Qt::WindowStates*sipRes;

            sipRes = new Qt::WindowStates((*a0 ^ *a1));
            sipReleaseType(a0,sipType_Qt_WindowStates,a0State);
            sipReleaseType(a1,sipType_Qt_WindowStates,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_WindowStates,NULL);
        }
    }

    {
        Qt::WindowStates* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_WindowStates, &a0, &a0State, &a1))
        {
            Qt::WindowStates*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::WindowStates(*a0 ^ a1);
#line 191664 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_WindowStates___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::WindowStates* a0;
        int a0State = 0;
        Qt::WindowStates* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_WindowStates, &a0, &a0State, sipType_Qt_WindowStates, &a1, &a1State))
        {
            Qt::WindowStates*sipRes;

            sipRes = new Qt::WindowStates((*a0 | *a1));
            sipReleaseType(a0,sipType_Qt_WindowStates,a0State);
            sipReleaseType(a1,sipType_Qt_WindowStates,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_WindowStates,NULL);
        }
    }

    {
        Qt::WindowStates* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_WindowStates, &a0, &a0State, &a1))
        {
            Qt::WindowStates*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::WindowStates(*a0 | a1);
#line 191714 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        Qt::WindowStates* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_WindowStates, &a0, &a0State))
        {
            sipCpp->Qt::WindowStates::operator^=(*a0);
            sipReleaseType(a0,sipType_Qt_WindowStates,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_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;

    {
        Qt::WindowStates* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_WindowStates, &a0, &a0State))
        {
            sipCpp->Qt::WindowStates::operator|=(*a0);
            sipReleaseType(a0,sipType_Qt_WindowStates,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Qt_WindowStates(void *, const sipTypeDef *);}
static void *cast_Qt_WindowStates(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Qt_WindowStates)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new Qt::WindowStates(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new Qt::WindowStates();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 191991 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_WindowStates[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_Qt_WindowStates___and__, and_slot},
    {(void *)slot_Qt_WindowStates___xor__, xor_slot},
    {(void *)slot_Qt_WindowStates___or__, or_slot},
    {(void *)slot_Qt_WindowStates___int__, int_slot},
    {(void *)slot_Qt_WindowStates___ixor__, ixor_slot},
    {(void *)slot_Qt_WindowStates___ior__, ior_slot},
    {(void *)slot_Qt_WindowStates___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_WindowStates, "\1Qt.WindowStates(Qt.WindowStates)\n"
    "Qt.WindowStates(int)\n"
    "Qt.WindowStates()");


pyqt5ClassTypeDef sipTypeDef_QtCore_Qt_WindowStates = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_Qt__WindowStates,
        {0}
    },
    {
        sipNameNr_WindowStates,
        {310, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_WindowStates,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_Qt_WindowStates,
    convertTo_Qt_WindowStates,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 192073 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 192077 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::WindowFlags::Int() != 0);
#line 192095 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::WindowFlags::Int() != a0->operator Qt::WindowFlags::Int());
#line 192125 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::WindowFlags::Int() == a0->operator Qt::WindowFlags::Int());
#line 192161 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_WindowFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::WindowFlags* a0;
        int a0State = 0;
        Qt::WindowFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_WindowFlags, &a0, &a0State, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            Qt::WindowFlags*sipRes;

            sipRes = new Qt::WindowFlags((*a0 ^ *a1));
            sipReleaseType(a0,sipType_Qt_WindowFlags,a0State);
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_WindowFlags,NULL);
        }
    }

    {
        Qt::WindowFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_WindowFlags, &a0, &a0State, &a1))
        {
            Qt::WindowFlags*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::WindowFlags(*a0 ^ a1);
#line 192264 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_WindowFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::WindowFlags* a0;
        int a0State = 0;
        Qt::WindowFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_WindowFlags, &a0, &a0State, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            Qt::WindowFlags*sipRes;

            sipRes = new Qt::WindowFlags((*a0 | *a1));
            sipReleaseType(a0,sipType_Qt_WindowFlags,a0State);
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_WindowFlags,NULL);
        }
    }

    {
        Qt::WindowFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_WindowFlags, &a0, &a0State, &a1))
        {
            Qt::WindowFlags*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::WindowFlags(*a0 | a1);
#line 192314 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        Qt::WindowFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_WindowFlags, &a0, &a0State))
        {
            sipCpp->Qt::WindowFlags::operator^=(*a0);
            sipReleaseType(a0,sipType_Qt_WindowFlags,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_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;

    {
        Qt::WindowFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_WindowFlags, &a0, &a0State))
        {
            sipCpp->Qt::WindowFlags::operator|=(*a0);
            sipReleaseType(a0,sipType_Qt_WindowFlags,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Qt_WindowFlags(void *, const sipTypeDef *);}
static void *cast_Qt_WindowFlags(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Qt_WindowFlags)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new Qt::WindowFlags(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new Qt::WindowFlags();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 192591 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_WindowFlags[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_Qt_WindowFlags___and__, and_slot},
    {(void *)slot_Qt_WindowFlags___xor__, xor_slot},
    {(void *)slot_Qt_WindowFlags___or__, or_slot},
    {(void *)slot_Qt_WindowFlags___int__, int_slot},
    {(void *)slot_Qt_WindowFlags___ixor__, ixor_slot},
    {(void *)slot_Qt_WindowFlags___ior__, ior_slot},
    {(void *)slot_Qt_WindowFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_WindowFlags, "\1Qt.WindowFlags(Qt.WindowFlags)\n"
    "Qt.WindowFlags(int)\n"
    "Qt.WindowFlags()");


pyqt5ClassTypeDef sipTypeDef_QtCore_Qt_WindowFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_Qt__WindowFlags,
        {0}
    },
    {
        sipNameNr_WindowFlags,
        {310, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_WindowFlags,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_Qt_WindowFlags,
    convertTo_Qt_WindowFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 192673 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 192677 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::Alignment::Int() != 0);
#line 192695 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::Alignment::Int() != a0->operator Qt::Alignment::Int());
#line 192725 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::Alignment::Int() == a0->operator Qt::Alignment::Int());
#line 192761 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Alignment___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Alignment* a0;
        int a0State = 0;
        Qt::Alignment* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_Alignment, &a0, &a0State, sipType_Qt_Alignment, &a1, &a1State))
        {
            Qt::Alignment*sipRes;

            sipRes = new Qt::Alignment((*a0 ^ *a1));
            sipReleaseType(a0,sipType_Qt_Alignment,a0State);
            sipReleaseType(a1,sipType_Qt_Alignment,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    {
        Qt::Alignment* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_Alignment, &a0, &a0State, &a1))
        {
            Qt::Alignment*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::Alignment(*a0 ^ a1);
#line 192864 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Alignment___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Alignment* a0;
        int a0State = 0;
        Qt::Alignment* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_Alignment, &a0, &a0State, sipType_Qt_Alignment, &a1, &a1State))
        {
            Qt::Alignment*sipRes;

            sipRes = new Qt::Alignment((*a0 | *a1));
            sipReleaseType(a0,sipType_Qt_Alignment,a0State);
            sipReleaseType(a1,sipType_Qt_Alignment,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    {
        Qt::Alignment* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_Alignment, &a0, &a0State, &a1))
        {
            Qt::Alignment*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::Alignment(*a0 | a1);
#line 192914 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        Qt::Alignment* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_Alignment, &a0, &a0State))
        {
            sipCpp->Qt::Alignment::operator^=(*a0);
            sipReleaseType(a0,sipType_Qt_Alignment,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_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;

    {
        Qt::Alignment* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_Alignment, &a0, &a0State))
        {
            sipCpp->Qt::Alignment::operator|=(*a0);
            sipReleaseType(a0,sipType_Qt_Alignment,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Qt_Alignment(void *, const sipTypeDef *);}
static void *cast_Qt_Alignment(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Qt_Alignment)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new Qt::Alignment(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new Qt::Alignment();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 193191 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_Alignment[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_Qt_Alignment___and__, and_slot},
    {(void *)slot_Qt_Alignment___xor__, xor_slot},
    {(void *)slot_Qt_Alignment___or__, or_slot},
    {(void *)slot_Qt_Alignment___int__, int_slot},
    {(void *)slot_Qt_Alignment___ixor__, ixor_slot},
    {(void *)slot_Qt_Alignment___ior__, ior_slot},
    {(void *)slot_Qt_Alignment___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_Alignment, "\1Qt.Alignment(Qt.Alignment)\n"
    "Qt.Alignment(int)\n"
    "Qt.Alignment()");


pyqt5ClassTypeDef sipTypeDef_QtCore_Qt_Alignment = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_Qt__Alignment,
        {0}
    },
    {
        sipNameNr_Alignment,
        {310, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_Alignment,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_Qt_Alignment,
    convertTo_Qt_Alignment,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 193273 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 193277 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::Orientations::Int() != 0);
#line 193295 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::Orientations::Int() != a0->operator Qt::Orientations::Int());
#line 193325 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::Orientations::Int() == a0->operator Qt::Orientations::Int());
#line 193361 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Orientations___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Orientations* a0;
        int a0State = 0;
        Qt::Orientations* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_Orientations, &a0, &a0State, sipType_Qt_Orientations, &a1, &a1State))
        {
            Qt::Orientations*sipRes;

            sipRes = new Qt::Orientations((*a0 ^ *a1));
            sipReleaseType(a0,sipType_Qt_Orientations,a0State);
            sipReleaseType(a1,sipType_Qt_Orientations,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_Orientations,NULL);
        }
    }

    {
        Qt::Orientations* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_Orientations, &a0, &a0State, &a1))
        {
            Qt::Orientations*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::Orientations(*a0 ^ a1);
#line 193464 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Orientations___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Orientations* a0;
        int a0State = 0;
        Qt::Orientations* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_Orientations, &a0, &a0State, sipType_Qt_Orientations, &a1, &a1State))
        {
            Qt::Orientations*sipRes;

            sipRes = new Qt::Orientations((*a0 | *a1));
            sipReleaseType(a0,sipType_Qt_Orientations,a0State);
            sipReleaseType(a1,sipType_Qt_Orientations,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_Orientations,NULL);
        }
    }

    {
        Qt::Orientations* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_Orientations, &a0, &a0State, &a1))
        {
            Qt::Orientations*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::Orientations(*a0 | a1);
#line 193514 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        Qt::Orientations* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_Orientations, &a0, &a0State))
        {
            sipCpp->Qt::Orientations::operator^=(*a0);
            sipReleaseType(a0,sipType_Qt_Orientations,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_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;

    {
        Qt::Orientations* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_Orientations, &a0, &a0State))
        {
            sipCpp->Qt::Orientations::operator|=(*a0);
            sipReleaseType(a0,sipType_Qt_Orientations,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Qt_Orientations(void *, const sipTypeDef *);}
static void *cast_Qt_Orientations(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Qt_Orientations)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new Qt::Orientations(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new Qt::Orientations();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 193791 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_Orientations[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_Qt_Orientations___and__, and_slot},
    {(void *)slot_Qt_Orientations___xor__, xor_slot},
    {(void *)slot_Qt_Orientations___or__, or_slot},
    {(void *)slot_Qt_Orientations___int__, int_slot},
    {(void *)slot_Qt_Orientations___ixor__, ixor_slot},
    {(void *)slot_Qt_Orientations___ior__, ior_slot},
    {(void *)slot_Qt_Orientations___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_Orientations, "\1Qt.Orientations(Qt.Orientations)\n"
    "Qt.Orientations(int)\n"
    "Qt.Orientations()");


pyqt5ClassTypeDef sipTypeDef_QtCore_Qt_Orientations = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_Qt__Orientations,
        {0}
    },
    {
        sipNameNr_Orientations,
        {310, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_Orientations,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_Qt_Orientations,
    convertTo_Qt_Orientations,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 193873 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 193877 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::MouseButtons::Int() != 0);
#line 193895 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::MouseButtons::Int() != a0->operator Qt::MouseButtons::Int());
#line 193925 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::MouseButtons::Int() == a0->operator Qt::MouseButtons::Int());
#line 193961 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MouseButtons___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::MouseButtons* a0;
        int a0State = 0;
        Qt::MouseButtons* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_MouseButtons, &a0, &a0State, sipType_Qt_MouseButtons, &a1, &a1State))
        {
            Qt::MouseButtons*sipRes;

            sipRes = new Qt::MouseButtons((*a0 ^ *a1));
            sipReleaseType(a0,sipType_Qt_MouseButtons,a0State);
            sipReleaseType(a1,sipType_Qt_MouseButtons,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_MouseButtons,NULL);
        }
    }

    {
        Qt::MouseButtons* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_MouseButtons, &a0, &a0State, &a1))
        {
            Qt::MouseButtons*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::MouseButtons(*a0 ^ a1);
#line 194064 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MouseButtons___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::MouseButtons* a0;
        int a0State = 0;
        Qt::MouseButtons* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_MouseButtons, &a0, &a0State, sipType_Qt_MouseButtons, &a1, &a1State))
        {
            Qt::MouseButtons*sipRes;

            sipRes = new Qt::MouseButtons((*a0 | *a1));
            sipReleaseType(a0,sipType_Qt_MouseButtons,a0State);
            sipReleaseType(a1,sipType_Qt_MouseButtons,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_MouseButtons,NULL);
        }
    }

    {
        Qt::MouseButtons* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_MouseButtons, &a0, &a0State, &a1))
        {
            Qt::MouseButtons*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::MouseButtons(*a0 | a1);
#line 194114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        Qt::MouseButtons* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_MouseButtons, &a0, &a0State))
        {
            sipCpp->Qt::MouseButtons::operator^=(*a0);
            sipReleaseType(a0,sipType_Qt_MouseButtons,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_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;

    {
        Qt::MouseButtons* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_MouseButtons, &a0, &a0State))
        {
            sipCpp->Qt::MouseButtons::operator|=(*a0);
            sipReleaseType(a0,sipType_Qt_MouseButtons,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Qt_MouseButtons(void *, const sipTypeDef *);}
static void *cast_Qt_MouseButtons(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Qt_MouseButtons)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new Qt::MouseButtons(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new Qt::MouseButtons();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 194391 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_MouseButtons[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_Qt_MouseButtons___and__, and_slot},
    {(void *)slot_Qt_MouseButtons___xor__, xor_slot},
    {(void *)slot_Qt_MouseButtons___or__, or_slot},
    {(void *)slot_Qt_MouseButtons___int__, int_slot},
    {(void *)slot_Qt_MouseButtons___ixor__, ixor_slot},
    {(void *)slot_Qt_MouseButtons___ior__, ior_slot},
    {(void *)slot_Qt_MouseButtons___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_MouseButtons, "\1Qt.MouseButtons(Qt.MouseButtons)\n"
    "Qt.MouseButtons(int)\n"
    "Qt.MouseButtons()");


pyqt5ClassTypeDef sipTypeDef_QtCore_Qt_MouseButtons = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_Qt__MouseButtons,
        {0}
    },
    {
        sipNameNr_MouseButtons,
        {310, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_MouseButtons,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_Qt_MouseButtons,
    convertTo_Qt_MouseButtons,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 194473 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 194477 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


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 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::KeyboardModifiers::Int() != 0);
#line 194495 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::KeyboardModifiers::Int() != a0->operator Qt::KeyboardModifiers::Int());
#line 194525 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::KeyboardModifiers::Int() == a0->operator Qt::KeyboardModifiers::Int());
#line 194561 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_KeyboardModifiers___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::KeyboardModifiers* a0;
        int a0State = 0;
        Qt::KeyboardModifiers* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_KeyboardModifiers, &a0, &a0State, sipType_Qt_KeyboardModifiers, &a1, &a1State))
        {
            Qt::KeyboardModifiers*sipRes;

            sipRes = new Qt::KeyboardModifiers((*a0 ^ *a1));
            sipReleaseType(a0,sipType_Qt_KeyboardModifiers,a0State);
            sipReleaseType(a1,sipType_Qt_KeyboardModifiers,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_KeyboardModifiers,NULL);
        }
    }

    {
        Qt::KeyboardModifiers* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_KeyboardModifiers, &a0, &a0State, &a1))
        {
            Qt::KeyboardModifiers*sipRes = 0;

#line 103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::KeyboardModifiers(*a0 ^ a1);
#line 194664 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_KeyboardModifiers___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::KeyboardModifiers* a0;
        int a0State = 0;
        Qt::KeyboardModifiers* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_KeyboardModifiers, &a0, &a0State, sipType_Qt_KeyboardModifiers, &a1, &a1State))
        {
            Qt::KeyboardModifiers*sipRes;

            sipRes = new Qt::KeyboardModifiers((*a0 | *a1));
            sipReleaseType(a0,sipType_Qt_KeyboardModifiers,a0State);
            sipReleaseType(a1,sipType_Qt_KeyboardModifiers,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_KeyboardModifiers,NULL);
        }
    }

    {
        Qt::KeyboardModifiers* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_KeyboardModifiers, &a0, &a0State, &a1))
        {
            Qt::KeyboardModifiers*sipRes = 0;

#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::KeyboardModifiers(*a0 | a1);
#line 194714 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
            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___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;
}


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;

    {
        Qt::KeyboardModifiers* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_KeyboardModifiers, &a0, &a0State))
        {
            sipCpp->Qt::KeyboardModifiers::operator^=(*a0);
            sipReleaseType(a0,sipType_Qt_KeyboardModifiers,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_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;

    {
        Qt::KeyboardModifiers* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_KeyboardModifiers, &a0, &a0State))
        {
            sipCpp->Qt::KeyboardModifiers::operator|=(*a0);
            sipReleaseType(a0,sipType_Qt_KeyboardModifiers,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_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Qt_KeyboardModifiers(void *, const sipTypeDef *);}
static void *cast_Qt_KeyboardModifiers(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Qt_KeyboardModifiers)
        return ptr;

    return NULL;
}


/* 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 (sipIsPyOwned(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;

    {
        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;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new Qt::KeyboardModifiers(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new Qt::KeyboardModifiers();

            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 124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 194991 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_KeyboardModifiers[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_Qt_KeyboardModifiers___and__, and_slot},
    {(void *)slot_Qt_KeyboardModifiers___xor__, xor_slot},
    {(void *)slot_Qt_KeyboardModifiers___or__, or_slot},
    {(void *)slot_Qt_KeyboardModifiers___int__, int_slot},
    {(void *)slot_Qt_KeyboardModifiers___ixor__, ixor_slot},
    {(void *)slot_Qt_KeyboardModifiers___ior__, ior_slot},
    {(void *)slot_Qt_KeyboardModifiers___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_KeyboardModifiers, "\1Qt.KeyboardModifiers(Qt.KeyboardModifiers)\n"
    "Qt.KeyboardModifiers(int)\n"
    "Qt.KeyboardModifiers()");


pyqt5ClassTypeDef sipTypeDef_QtCore_Qt_KeyboardModifiers = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_Qt__KeyboardModifiers,
        {0}
    },
    {
        sipNameNr_KeyboardModifiers,
        {310, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_KeyboardModifiers,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_Qt_KeyboardModifiers,
    convertTo_Qt_KeyboardModifiers,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 195073 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"


static sipEnumMemberDef enummembers_Qt[] = {
    {sipName_AA_DontCreateNativeWidgetSiblings, static_cast<int>(Qt::AA_DontCreateNativeWidgetSiblings), 314},
    {sipName_AA_DontShowIconsInMenus, static_cast<int>(Qt::AA_DontShowIconsInMenus), 314},
    {sipName_AA_DontUseNativeMenuBar, static_cast<int>(Qt::AA_DontUseNativeMenuBar), 314},
    {sipName_AA_ForceRasterWidgets, static_cast<int>(Qt::AA_ForceRasterWidgets), 314},
    {sipName_AA_ImmediateWidgetCreation, static_cast<int>(Qt::AA_ImmediateWidgetCreation), 314},
    {sipName_AA_MSWindowsUseDirect3DByDefault, static_cast<int>(Qt::AA_MSWindowsUseDirect3DByDefault), 314},
    {sipName_AA_MacDontSwapCtrlAndMeta, static_cast<int>(Qt::AA_MacDontSwapCtrlAndMeta), 314},
    {sipName_AA_MacPluginApplication, static_cast<int>(Qt::AA_MacPluginApplication), 314},
    {sipName_AA_NativeWindows, static_cast<int>(Qt::AA_NativeWindows), 314},
    {sipName_AA_ShareOpenGLContexts, static_cast<int>(Qt::AA_ShareOpenGLContexts), 314},
    {sipName_AA_SynthesizeMouseForUnhandledTouchEvents, static_cast<int>(Qt::AA_SynthesizeMouseForUnhandledTouchEvents), 314},
    {sipName_AA_SynthesizeTouchForUnhandledMouseEvents, static_cast<int>(Qt::AA_SynthesizeTouchForUnhandledMouseEvents), 314},
    {sipName_AA_Use96Dpi, static_cast<int>(Qt::AA_Use96Dpi), 314},
    {sipName_AA_UseDesktopOpenGL, static_cast<int>(Qt::AA_UseDesktopOpenGL), 314},
    {sipName_AA_UseHighDpiPixmaps, static_cast<int>(Qt::AA_UseHighDpiPixmaps), 314},
    {sipName_AA_UseOpenGLES, static_cast<int>(Qt::AA_UseOpenGLES), 314},
    {sipName_AA_UseSoftwareOpenGL, static_cast<int>(Qt::AA_UseSoftwareOpenGL), 314},
    {sipName_AA_X11InitThreads, static_cast<int>(Qt::AA_X11InitThreads), 314},
    {sipName_ALT, static_cast<int>(Qt::ALT), 368},
    {sipName_AbsoluteSize, static_cast<int>(Qt::AbsoluteSize), 387},
    {sipName_AccessibleDescriptionRole, static_cast<int>(Qt::AccessibleDescriptionRole), 357},
    {sipName_AccessibleTextRole, static_cast<int>(Qt::AccessibleTextRole), 357},
    {sipName_ActionMask, static_cast<int>(Qt::ActionMask), 335},
    {sipName_ActionsContextMenu, static_cast<int>(Qt::ActionsContextMenu), 326},
    {sipName_ActiveWindowFocusReason, static_cast<int>(Qt::ActiveWindowFocusReason), 344},
    {sipName_AlignAbsolute, static_cast<int>(Qt::AlignAbsolute), 312},
    {sipName_AlignBaseline, static_cast<int>(Qt::AlignBaseline), 312},
    {sipName_AlignBottom, static_cast<int>(Qt::AlignBottom), 312},
    {sipName_AlignCenter, static_cast<int>(Qt::AlignCenter), 312},
    {sipName_AlignHCenter, static_cast<int>(Qt::AlignHCenter), 312},
    {sipName_AlignHorizontal_Mask, static_cast<int>(Qt::AlignHorizontal_Mask), 312},
    {sipName_AlignJustify, static_cast<int>(Qt::AlignJustify), 312},
    {sipName_AlignLeading, static_cast<int>(Qt::AlignLeading), 312},
    {sipName_AlignLeft, static_cast<int>(Qt::AlignLeft), 312},
    {sipName_AlignRight, static_cast<int>(Qt::AlignRight), 312},
    {sipName_AlignTop, static_cast<int>(Qt::AlignTop), 312},
    {sipName_AlignTrailing, static_cast<int>(Qt::AlignTrailing), 312},
    {sipName_AlignVCenter, static_cast<int>(Qt::AlignVCenter), 312},
    {sipName_AlignVertical_Mask, static_cast<int>(Qt::AlignVertical_Mask), 312},
    {sipName_AllButtons, static_cast<int>(Qt::AllButtons), 369},
    {sipName_AllDockWidgetAreas, static_cast<int>(Qt::AllDockWidgetAreas), 333},
    {sipName_AllToolBarAreas, static_cast<int>(Qt::AllToolBarAreas), 397},
    {sipName_AltModifier, static_cast<int>(Qt::AltModifier), 362},
    {sipName_AnchorBottom, static_cast<int>(Qt::AnchorBottom), 313},
    {sipName_AnchorHorizontalCenter, static_cast<int>(Qt::AnchorHorizontalCenter), 313},
    {sipName_AnchorLeft, static_cast<int>(Qt::AnchorLeft), 313},
    {sipName_AnchorRight, static_cast<int>(Qt::AnchorRight), 313},
    {sipName_AnchorTop, static_cast<int>(Qt::AnchorTop), 313},
    {sipName_AnchorVerticalCenter, static_cast<int>(Qt::AnchorVerticalCenter), 313},
    {sipName_ApplicationActive, static_cast<int>(Qt::ApplicationActive), 315},
    {sipName_ApplicationHidden, static_cast<int>(Qt::ApplicationHidden), 315},
    {sipName_ApplicationInactive, static_cast<int>(Qt::ApplicationInactive), 315},
    {sipName_ApplicationModal, static_cast<int>(Qt::ApplicationModal), 408},
    {sipName_ApplicationShortcut, static_cast<int>(Qt::ApplicationShortcut), 385},
    {sipName_ApplicationSuspended, static_cast<int>(Qt::ApplicationSuspended), 315},
    {sipName_ArrowCursor, static_cast<int>(Qt::ArrowCursor), 330},
    {sipName_AscendingOrder, static_cast<int>(Qt::AscendingOrder), 388},
    {sipName_AutoColor, static_cast<int>(Qt::AutoColor), 351},
    {sipName_AutoConnection, static_cast<int>(Qt::AutoConnection), 325},
    {sipName_AutoDither, static_cast<int>(Qt::AutoDither), 351},
    {sipName_AutoText, static_cast<int>(Qt::AutoText), 391},
    {sipName_AvoidDither, static_cast<int>(Qt::AvoidDither), 351},
    {sipName_BDiagPattern, static_cast<int>(Qt::BDiagPattern), 321},
    {sipName_BackButton, static_cast<int>(Qt::BackButton), 369},
    {sipName_BackgroundColorRole, static_cast<int>(Qt::BackgroundColorRole), 357},
    {sipName_BackgroundRole, static_cast<int>(Qt::BackgroundRole), 357},
    {sipName_BacktabFocusReason, static_cast<int>(Qt::BacktabFocusReason), 344},
    {sipName_BeginNativeGesture, static_cast<int>(Qt::BeginNativeGesture), 374},
    {sipName_BevelJoin, static_cast<int>(Qt::BevelJoin), 379},
    {sipName_BitmapCursor, static_cast<int>(Qt::BitmapCursor), 330},
    {sipName_BlankCursor, static_cast<int>(Qt::BlankCursor), 330},
    {sipName_BlockingQueuedConnection, static_cast<int>(Qt::BlockingQueuedConnection), 325},
    {sipName_BottomDockWidgetArea, static_cast<int>(Qt::BottomDockWidgetArea), 333},
    {sipName_BottomEdge, static_cast<int>(Qt::BottomEdge), 337},
    {sipName_BottomLeftCorner, static_cast<int>(Qt::BottomLeftCorner), 328},
    {sipName_BottomLeftSection, static_cast<int>(Qt::BottomLeftSection), 407},
    {sipName_BottomRightCorner, static_cast<int>(Qt::BottomRightCorner), 328},
    {sipName_BottomRightSection, static_cast<int>(Qt::BottomRightSection), 407},
    {sipName_BottomSection, static_cast<int>(Qt::BottomSection), 407},
    {sipName_BottomToolBarArea, static_cast<int>(Qt::BottomToolBarArea), 397},
    {sipName_BusyCursor, static_cast<int>(Qt::BusyCursor), 330},
    {sipName_BypassGraphicsProxyWidget, static_cast<int>(Qt::BypassGraphicsProxyWidget), 411},
    {sipName_BypassWindowManagerHint, static_cast<int>(Qt::BypassWindowManagerHint), 411},
    {sipName_CTRL, static_cast<int>(Qt::CTRL), 368},
    {sipName_CaseInsensitive, static_cast<int>(Qt::CaseInsensitive), 322},
    {sipName_CaseSensitive, static_cast<int>(Qt::CaseSensitive), 322},
    {sipName_CheckStateRole, static_cast<int>(Qt::CheckStateRole), 357},
    {sipName_Checked, static_cast<int>(Qt::Checked), 323},
    {sipName_ClickFocus, static_cast<int>(Qt::ClickFocus), 343},
    {sipName_ClosedHandCursor, static_cast<int>(Qt::ClosedHandCursor), 330},
    {sipName_CoarseTimer, static_cast<int>(Qt::CoarseTimer), 396},
    {sipName_ColorOnly, static_cast<int>(Qt::ColorOnly), 351},
    {sipName_ConicalGradientPattern, static_cast<int>(Qt::ConicalGradientPattern), 321},
    {sipName_ContainsItemBoundingRect, static_cast<int>(Qt::ContainsItemBoundingRect), 360},
    {sipName_ContainsItemShape, static_cast<int>(Qt::ContainsItemShape), 360},
    {sipName_ControlModifier, static_cast<int>(Qt::ControlModifier), 362},
    {sipName_CopyAction, static_cast<int>(Qt::CopyAction), 335},
    {sipName_CoverWindow, static_cast<int>(Qt::CoverWindow), 411},
    {sipName_CrossCursor, static_cast<int>(Qt::CrossCursor), 330},
    {sipName_CrossPattern, static_cast<int>(Qt::CrossPattern), 321},
    {sipName_CustomContextMenu, static_cast<int>(Qt::CustomContextMenu), 326},
    {sipName_CustomCursor, static_cast<int>(Qt::CustomCursor), 330},
    {sipName_CustomDashLine, static_cast<int>(Qt::CustomDashLine), 380},
    {sipName_CustomGesture, static_cast<int>(Qt::CustomGesture), 348},
    {sipName_CustomizeWindowHint, static_cast<int>(Qt::CustomizeWindowHint), 411},
    {sipName_DashDotDotLine, static_cast<int>(Qt::DashDotDotLine), 380},
    {sipName_DashDotLine, static_cast<int>(Qt::DashDotLine), 380},
    {sipName_DashLine, static_cast<int>(Qt::DashLine), 380},
    {sipName_DecorationRole, static_cast<int>(Qt::DecorationRole), 357},
    {sipName_DefaultContextMenu, static_cast<int>(Qt::DefaultContextMenu), 326},
    {sipName_DefaultLocaleLongDate, static_cast<int>(Qt::DefaultLocaleLongDate), 331},
    {sipName_DefaultLocaleShortDate, static_cast<int>(Qt::DefaultLocaleShortDate), 331},
    {sipName_Dense1Pattern, static_cast<int>(Qt::Dense1Pattern), 321},
    {sipName_Dense2Pattern, static_cast<int>(Qt::Dense2Pattern), 321},
    {sipName_Dense3Pattern, static_cast<int>(Qt::Dense3Pattern), 321},
    {sipName_Dense4Pattern, static_cast<int>(Qt::Dense4Pattern), 321},
    {sipName_Dense5Pattern, static_cast<int>(Qt::Dense5Pattern), 321},
    {sipName_Dense6Pattern, static_cast<int>(Qt::Dense6Pattern), 321},
    {sipName_Dense7Pattern, static_cast<int>(Qt::Dense7Pattern), 321},
    {sipName_DescendingOrder, static_cast<int>(Qt::DescendingOrder), 388},
    {sipName_Desktop, static_cast<int>(Qt::Desktop), 411},
    {sipName_DeviceCoordinates, static_cast<int>(Qt::DeviceCoordinates), 327},
    {sipName_DiagCrossPattern, static_cast<int>(Qt::DiagCrossPattern), 321},
    {sipName_Dialog, static_cast<int>(Qt::Dialog), 411},
    {sipName_DiffuseAlphaDither, static_cast<int>(Qt::DiffuseAlphaDither), 351},
    {sipName_DiffuseDither, static_cast<int>(Qt::DiffuseDither), 351},
    {sipName_DirectConnection, static_cast<int>(Qt::DirectConnection), 325},
    {sipName_DisplayRole, static_cast<int>(Qt::DisplayRole), 357},
    {sipName_DockWidgetArea_Mask, static_cast<int>(Qt::DockWidgetArea_Mask), 333},
    {sipName_DontStartGestureOnChildren, static_cast<int>(Qt::DontStartGestureOnChildren), 345},
    {sipName_DotLine, static_cast<int>(Qt::DotLine), 380},
    {sipName_DownArrow, static_cast<int>(Qt::DownArrow), 317},
    {sipName_DragCopyCursor, static_cast<int>(Qt::DragCopyCursor), 330},
    {sipName_DragLinkCursor, static_cast<int>(Qt::DragLinkCursor), 330},
    {sipName_DragMoveCursor, static_cast<int>(Qt::DragMoveCursor), 330},
    {sipName_Drawer, static_cast<int>(Qt::Drawer), 411},
    {sipName_EditRole, static_cast<int>(Qt::EditRole), 357},
    {sipName_ElideLeft, static_cast<int>(Qt::ElideLeft), 389},
    {sipName_ElideMiddle, static_cast<int>(Qt::ElideMiddle), 389},
    {sipName_ElideNone, static_cast<int>(Qt::ElideNone), 389},
    {sipName_ElideRight, static_cast<int>(Qt::ElideRight), 389},
    {sipName_EndNativeGesture, static_cast<int>(Qt::EndNativeGesture), 374},
    {sipName_ExactHit, static_cast<int>(Qt::ExactHit), 350},
    {sipName_ExtraButton1, static_cast<int>(Qt::ExtraButton1), 369},
    {sipName_ExtraButton10, static_cast<int>(Qt::ExtraButton10), 369},
    {sipName_ExtraButton11, static_cast<int>(Qt::ExtraButton11), 369},
    {sipName_ExtraButton12, static_cast<int>(Qt::ExtraButton12), 369},
    {sipName_ExtraButton13, static_cast<int>(Qt::ExtraButton13), 369},
    {sipName_ExtraButton14, static_cast<int>(Qt::ExtraButton14), 369},
    {sipName_ExtraButton15, static_cast<int>(Qt::ExtraButton15), 369},
    {sipName_ExtraButton16, static_cast<int>(Qt::ExtraButton16), 369},
    {sipName_ExtraButton17, static_cast<int>(Qt::ExtraButton17), 369},
    {sipName_ExtraButton18, static_cast<int>(Qt::ExtraButton18), 369},
    {sipName_ExtraButton19, static_cast<int>(Qt::ExtraButton19), 369},
    {sipName_ExtraButton2, static_cast<int>(Qt::ExtraButton2), 369},
    {sipName_ExtraButton20, static_cast<int>(Qt::ExtraButton20), 369},
    {sipName_ExtraButton21, static_cast<int>(Qt::ExtraButton21), 369},
    {sipName_ExtraButton22, static_cast<int>(Qt::ExtraButton22), 369},
    {sipName_ExtraButton23, static_cast<int>(Qt::ExtraButton23), 369},
    {sipName_ExtraButton24, static_cast<int>(Qt::ExtraButton24), 369},
    {sipName_ExtraButton3, static_cast<int>(Qt::ExtraButton3), 369},
    {sipName_ExtraButton4, static_cast<int>(Qt::ExtraButton4), 369},
    {sipName_ExtraButton5, static_cast<int>(Qt::ExtraButton5), 369},
    {sipName_ExtraButton6, static_cast<int>(Qt::ExtraButton6), 369},
    {sipName_ExtraButton7, static_cast<int>(Qt::ExtraButton7), 369},
    {sipName_ExtraButton8, static_cast<int>(Qt::ExtraButton8), 369},
    {sipName_ExtraButton9, static_cast<int>(Qt::ExtraButton9), 369},
    {sipName_FDiagPattern, static_cast<int>(Qt::FDiagPattern), 321},
    {sipName_FastTransformation, static_cast<int>(Qt::FastTransformation), 402},
    {sipName_FindChildrenRecursively, static_cast<int>(Qt::FindChildrenRecursively), 341},
    {sipName_FindDirectChildrenOnly, static_cast<int>(Qt::FindDirectChildrenOnly), 341},
    {sipName_FlatCap, static_cast<int>(Qt::FlatCap), 378},
    {sipName_FontRole, static_cast<int>(Qt::FontRole), 357},
    {sipName_ForbiddenCursor, static_cast<int>(Qt::ForbiddenCursor), 330},
    {sipName_ForegroundRole, static_cast<int>(Qt::ForegroundRole), 357},
    {sipName_ForeignWindow, static_cast<int>(Qt::ForeignWindow), 411},
    {sipName_ForwardButton, static_cast<int>(Qt::ForwardButton), 369},
    {sipName_FramelessWindowHint, static_cast<int>(Qt::FramelessWindowHint), 411},
    {sipName_Friday, static_cast<int>(Qt::Friday), 332},
    {sipName_FuzzyHit, static_cast<int>(Qt::FuzzyHit), 350},
    {sipName_GestureCanceled, static_cast<int>(Qt::GestureCanceled), 347},
    {sipName_GestureFinished, static_cast<int>(Qt::GestureFinished), 347},
    {sipName_GestureStarted, static_cast<int>(Qt::GestureStarted), 347},
    {sipName_GestureUpdated, static_cast<int>(Qt::GestureUpdated), 347},
    {sipName_GroupSwitchModifier, static_cast<int>(Qt::GroupSwitchModifier), 362},
    {sipName_HighEventPriority, static_cast<int>(Qt::HighEventPriority), 339},
    {sipName_HorPattern, static_cast<int>(Qt::HorPattern), 321},
    {sipName_Horizontal, static_cast<int>(Qt::Horizontal), 376},
    {sipName_IBeamCursor, static_cast<int>(Qt::IBeamCursor), 330},
    {sipName_ISODate, static_cast<int>(Qt::ISODate), 331},
    {sipName_IgnoreAction, static_cast<int>(Qt::IgnoreAction), 335},
    {sipName_IgnoreAspectRatio, static_cast<int>(Qt::IgnoreAspectRatio), 318},
    {sipName_IgnoredGesturesPropagateToParent, static_cast<int>(Qt::IgnoredGesturesPropagateToParent), 345},
    {sipName_ImAbsolutePosition, static_cast<int>(Qt::ImAbsolutePosition), 356},
    {sipName_ImAnchorPosition, static_cast<int>(Qt::ImAnchorPosition), 356},
    {sipName_ImCurrentSelection, static_cast<int>(Qt::ImCurrentSelection), 356},
    {sipName_ImCursorPosition, static_cast<int>(Qt::ImCursorPosition), 356},
    {sipName_ImCursorRectangle, static_cast<int>(Qt::ImCursorRectangle), 356},
    {sipName_ImEnabled, static_cast<int>(Qt::ImEnabled), 356},
    {sipName_ImFont, static_cast<int>(Qt::ImFont), 356},
    {sipName_ImHints, static_cast<int>(Qt::ImHints), 356},
    {sipName_ImMaximumTextLength, static_cast<int>(Qt::ImMaximumTextLength), 356},
    {sipName_ImMicroFocus, static_cast<int>(Qt::ImMicroFocus), 356},
    {sipName_ImPlatformData, static_cast<int>(Qt::ImPlatformData), 356},
    {sipName_ImPreferredLanguage, static_cast<int>(Qt::ImPreferredLanguage), 356},
    {sipName_ImQueryAll, static_cast<int>(Qt::ImQueryAll), 356},
    {sipName_ImQueryInput, static_cast<int>(Qt::ImQueryInput), 356},
    {sipName_ImSurroundingText, static_cast<int>(Qt::ImSurroundingText), 356},
    {sipName_ImTextAfterCursor, static_cast<int>(Qt::ImTextAfterCursor), 356},
    {sipName_ImTextBeforeCursor, static_cast<int>(Qt::ImTextBeforeCursor), 356},
    {sipName_ImhDate, static_cast<int>(Qt::ImhDate), 353},
    {sipName_ImhDialableCharactersOnly, static_cast<int>(Qt::ImhDialableCharactersOnly), 353},
    {sipName_ImhDigitsOnly, static_cast<int>(Qt::ImhDigitsOnly), 353},
    {sipName_ImhEmailCharactersOnly, static_cast<int>(Qt::ImhEmailCharactersOnly), 353},
    {sipName_ImhExclusiveInputMask, static_cast<int>(Qt::ImhExclusiveInputMask), 353},
    {sipName_ImhFormattedNumbersOnly, static_cast<int>(Qt::ImhFormattedNumbersOnly), 353},
    {sipName_ImhHiddenText, static_cast<int>(Qt::ImhHiddenText), 353},
    {sipName_ImhLatinOnly, static_cast<int>(Qt::ImhLatinOnly), 353},
    {sipName_ImhLowercaseOnly, static_cast<int>(Qt::ImhLowercaseOnly), 353},
    {sipName_ImhMultiLine, static_cast<int>(Qt::ImhMultiLine), 353},
    {sipName_ImhNoAutoUppercase, static_cast<int>(Qt::ImhNoAutoUppercase), 353},
    {sipName_ImhNoPredictiveText, static_cast<int>(Qt::ImhNoPredictiveText), 353},
    {sipName_ImhNone, static_cast<int>(Qt::ImhNone), 353},
    {sipName_ImhPreferLatin, static_cast<int>(Qt::ImhPreferLatin), 353},
    {sipName_ImhPreferLowercase, static_cast<int>(Qt::ImhPreferLowercase), 353},
    {sipName_ImhPreferNumbers, static_cast<int>(Qt::ImhPreferNumbers), 353},
    {sipName_ImhPreferUppercase, static_cast<int>(Qt::ImhPreferUppercase), 353},
    {sipName_ImhSensitiveData, static_cast<int>(Qt::ImhSensitiveData), 353},
    {sipName_ImhTime, static_cast<int>(Qt::ImhTime), 353},
    {sipName_ImhUppercaseOnly, static_cast<int>(Qt::ImhUppercaseOnly), 353},
    {sipName_ImhUrlCharactersOnly, static_cast<int>(Qt::ImhUrlCharactersOnly), 353},
    {sipName_InitialSortOrderRole, static_cast<int>(Qt::InitialSortOrderRole), 357},
    {sipName_IntersectClip, static_cast<int>(Qt::IntersectClip), 324},
    {sipName_IntersectsItemBoundingRect, static_cast<int>(Qt::IntersectsItemBoundingRect), 360},
    {sipName_IntersectsItemShape, static_cast<int>(Qt::IntersectsItemShape), 360},
    {sipName_InvertedLandscapeOrientation, static_cast<int>(Qt::InvertedLandscapeOrientation), 381},
    {sipName_InvertedPortraitOrientation, static_cast<int>(Qt::InvertedPortraitOrientation), 381},
    {sipName_ItemIsDragEnabled, static_cast<int>(Qt::ItemIsDragEnabled), 358},
    {sipName_ItemIsDropEnabled, static_cast<int>(Qt::ItemIsDropEnabled), 358},
    {sipName_ItemIsEditable, static_cast<int>(Qt::ItemIsEditable), 358},
    {sipName_ItemIsEnabled, static_cast<int>(Qt::ItemIsEnabled), 358},
    {sipName_ItemIsSelectable, static_cast<int>(Qt::ItemIsSelectable), 358},
    {sipName_ItemIsTristate, static_cast<int>(Qt::ItemIsTristate), 358},
    {sipName_ItemIsUserCheckable, static_cast<int>(Qt::ItemIsUserCheckable), 358},
    {sipName_ItemNeverHasChildren, static_cast<int>(Qt::ItemNeverHasChildren), 358},
    {sipName_KeepAspectRatio, static_cast<int>(Qt::KeepAspectRatio), 318},
    {sipName_KeepAspectRatioByExpanding, static_cast<int>(Qt::KeepAspectRatioByExpanding), 318},
    {sipName_Key_0, static_cast<int>(Qt::Key_0), 361},
    {sipName_Key_1, static_cast<int>(Qt::Key_1), 361},
    {sipName_Key_2, static_cast<int>(Qt::Key_2), 361},
    {sipName_Key_3, static_cast<int>(Qt::Key_3), 361},
    {sipName_Key_4, static_cast<int>(Qt::Key_4), 361},
    {sipName_Key_5, static_cast<int>(Qt::Key_5), 361},
    {sipName_Key_6, static_cast<int>(Qt::Key_6), 361},
    {sipName_Key_7, static_cast<int>(Qt::Key_7), 361},
    {sipName_Key_8, static_cast<int>(Qt::Key_8), 361},
    {sipName_Key_9, static_cast<int>(Qt::Key_9), 361},
    {sipName_Key_A, static_cast<int>(Qt::Key_A), 361},
    {sipName_Key_AE, static_cast<int>(Qt::Key_AE), 361},
    {sipName_Key_Aacute, static_cast<int>(Qt::Key_Aacute), 361},
    {sipName_Key_Acircumflex, static_cast<int>(Qt::Key_Acircumflex), 361},
    {sipName_Key_AddFavorite, static_cast<int>(Qt::Key_AddFavorite), 361},
    {sipName_Key_Adiaeresis, static_cast<int>(Qt::Key_Adiaeresis), 361},
    {sipName_Key_Agrave, static_cast<int>(Qt::Key_Agrave), 361},
    {sipName_Key_Alt, static_cast<int>(Qt::Key_Alt), 361},
    {sipName_Key_AltGr, static_cast<int>(Qt::Key_AltGr), 361},
    {sipName_Key_Ampersand, static_cast<int>(Qt::Key_Ampersand), 361},
    {sipName_Key_Any, static_cast<int>(Qt::Key_Any), 361},
    {sipName_Key_Apostrophe, static_cast<int>(Qt::Key_Apostrophe), 361},
    {sipName_Key_ApplicationLeft, static_cast<int>(Qt::Key_ApplicationLeft), 361},
    {sipName_Key_ApplicationRight, static_cast<int>(Qt::Key_ApplicationRight), 361},
    {sipName_Key_Aring, static_cast<int>(Qt::Key_Aring), 361},
    {sipName_Key_AsciiCircum, static_cast<int>(Qt::Key_AsciiCircum), 361},
    {sipName_Key_AsciiTilde, static_cast<int>(Qt::Key_AsciiTilde), 361},
    {sipName_Key_Asterisk, static_cast<int>(Qt::Key_Asterisk), 361},
    {sipName_Key_At, static_cast<int>(Qt::Key_At), 361},
    {sipName_Key_Atilde, static_cast<int>(Qt::Key_Atilde), 361},
    {sipName_Key_AudioCycleTrack, static_cast<int>(Qt::Key_AudioCycleTrack), 361},
    {sipName_Key_AudioForward, static_cast<int>(Qt::Key_AudioForward), 361},
    {sipName_Key_AudioRandomPlay, static_cast<int>(Qt::Key_AudioRandomPlay), 361},
    {sipName_Key_AudioRepeat, static_cast<int>(Qt::Key_AudioRepeat), 361},
    {sipName_Key_AudioRewind, static_cast<int>(Qt::Key_AudioRewind), 361},
    {sipName_Key_Away, static_cast<int>(Qt::Key_Away), 361},
    {sipName_Key_B, static_cast<int>(Qt::Key_B), 361},
    {sipName_Key_Back, static_cast<int>(Qt::Key_Back), 361},
    {sipName_Key_BackForward, static_cast<int>(Qt::Key_BackForward), 361},
    {sipName_Key_Backslash, static_cast<int>(Qt::Key_Backslash), 361},
    {sipName_Key_Backspace, static_cast<int>(Qt::Key_Backspace), 361},
    {sipName_Key_Backtab, static_cast<int>(Qt::Key_Backtab), 361},
    {sipName_Key_Bar, static_cast<int>(Qt::Key_Bar), 361},
    {sipName_Key_BassBoost, static_cast<int>(Qt::Key_BassBoost), 361},
    {sipName_Key_BassDown, static_cast<int>(Qt::Key_BassDown), 361},
    {sipName_Key_BassUp, static_cast<int>(Qt::Key_BassUp), 361},
    {sipName_Key_Battery, static_cast<int>(Qt::Key_Battery), 361},
    {sipName_Key_Blue, static_cast<int>(Qt::Key_Blue), 361},
    {sipName_Key_Bluetooth, static_cast<int>(Qt::Key_Bluetooth), 361},
    {sipName_Key_Book, static_cast<int>(Qt::Key_Book), 361},
    {sipName_Key_BraceLeft, static_cast<int>(Qt::Key_BraceLeft), 361},
    {sipName_Key_BraceRight, static_cast<int>(Qt::Key_BraceRight), 361},
    {sipName_Key_BracketLeft, static_cast<int>(Qt::Key_BracketLeft), 361},
    {sipName_Key_BracketRight, static_cast<int>(Qt::Key_BracketRight), 361},
    {sipName_Key_BrightnessAdjust, static_cast<int>(Qt::Key_BrightnessAdjust), 361},
    {sipName_Key_C, static_cast<int>(Qt::Key_C), 361},
    {sipName_Key_CD, static_cast<int>(Qt::Key_CD), 361},
    {sipName_Key_Calculator, static_cast<int>(Qt::Key_Calculator), 361},
    {sipName_Key_Calendar, static_cast<int>(Qt::Key_Calendar), 361},
    {sipName_Key_Call, static_cast<int>(Qt::Key_Call), 361},
    {sipName_Key_Camera, static_cast<int>(Qt::Key_Camera), 361},
    {sipName_Key_CameraFocus, static_cast<int>(Qt::Key_CameraFocus), 361},
    {sipName_Key_Cancel, static_cast<int>(Qt::Key_Cancel), 361},
    {sipName_Key_CapsLock, static_cast<int>(Qt::Key_CapsLock), 361},
    {sipName_Key_Ccedilla, static_cast<int>(Qt::Key_Ccedilla), 361},
    {sipName_Key_ChannelDown, static_cast<int>(Qt::Key_ChannelDown), 361},
    {sipName_Key_ChannelUp, static_cast<int>(Qt::Key_ChannelUp), 361},
    {sipName_Key_Clear, static_cast<int>(Qt::Key_Clear), 361},
    {sipName_Key_ClearGrab, static_cast<int>(Qt::Key_ClearGrab), 361},
    {sipName_Key_Close, static_cast<int>(Qt::Key_Close), 361},
    {sipName_Key_Codeinput, static_cast<int>(Qt::Key_Codeinput), 361},
    {sipName_Key_Colon, static_cast<int>(Qt::Key_Colon), 361},
    {sipName_Key_Comma, static_cast<int>(Qt::Key_Comma), 361},
    {sipName_Key_Community, static_cast<int>(Qt::Key_Community), 361},
    {sipName_Key_Context1, static_cast<int>(Qt::Key_Context1), 361},
    {sipName_Key_Context2, static_cast<int>(Qt::Key_Context2), 361},
    {sipName_Key_Context3, static_cast<int>(Qt::Key_Context3), 361},
    {sipName_Key_Context4, static_cast<int>(Qt::Key_Context4), 361},
    {sipName_Key_ContrastAdjust, static_cast<int>(Qt::Key_ContrastAdjust), 361},
    {sipName_Key_Control, static_cast<int>(Qt::Key_Control), 361},
    {sipName_Key_Copy, static_cast<int>(Qt::Key_Copy), 361},
    {sipName_Key_Cut, static_cast<int>(Qt::Key_Cut), 361},
    {sipName_Key_D, static_cast<int>(Qt::Key_D), 361},
    {sipName_Key_DOS, static_cast<int>(Qt::Key_DOS), 361},
    {sipName_Key_Dead_Abovedot, static_cast<int>(Qt::Key_Dead_Abovedot), 361},
    {sipName_Key_Dead_Abovering, static_cast<int>(Qt::Key_Dead_Abovering), 361},
    {sipName_Key_Dead_Acute, static_cast<int>(Qt::Key_Dead_Acute), 361},
    {sipName_Key_Dead_Belowdot, static_cast<int>(Qt::Key_Dead_Belowdot), 361},
    {sipName_Key_Dead_Breve, static_cast<int>(Qt::Key_Dead_Breve), 361},
    {sipName_Key_Dead_Caron, static_cast<int>(Qt::Key_Dead_Caron), 361},
    {sipName_Key_Dead_Cedilla, static_cast<int>(Qt::Key_Dead_Cedilla), 361},
    {sipName_Key_Dead_Circumflex, static_cast<int>(Qt::Key_Dead_Circumflex), 361},
    {sipName_Key_Dead_Diaeresis, static_cast<int>(Qt::Key_Dead_Diaeresis), 361},
    {sipName_Key_Dead_Doubleacute, static_cast<int>(Qt::Key_Dead_Doubleacute), 361},
    {sipName_Key_Dead_Grave, static_cast<int>(Qt::Key_Dead_Grave), 361},
    {sipName_Key_Dead_Hook, static_cast<int>(Qt::Key_Dead_Hook), 361},
    {sipName_Key_Dead_Horn, static_cast<int>(Qt::Key_Dead_Horn), 361},
    {sipName_Key_Dead_Iota, static_cast<int>(Qt::Key_Dead_Iota), 361},
    {sipName_Key_Dead_Macron, static_cast<int>(Qt::Key_Dead_Macron), 361},
    {sipName_Key_Dead_Ogonek, static_cast<int>(Qt::Key_Dead_Ogonek), 361},
    {sipName_Key_Dead_Semivoiced_Sound, static_cast<int>(Qt::Key_Dead_Semivoiced_Sound), 361},
    {sipName_Key_Dead_Tilde, static_cast<int>(Qt::Key_Dead_Tilde), 361},
    {sipName_Key_Dead_Voiced_Sound, static_cast<int>(Qt::Key_Dead_Voiced_Sound), 361},
    {sipName_Key_Delete, static_cast<int>(Qt::Key_Delete), 361},
    {sipName_Key_Direction_L, static_cast<int>(Qt::Key_Direction_L), 361},
    {sipName_Key_Direction_R, static_cast<int>(Qt::Key_Direction_R), 361},
    {sipName_Key_Display, static_cast<int>(Qt::Key_Display), 361},
    {sipName_Key_Documents, static_cast<int>(Qt::Key_Documents), 361},
    {sipName_Key_Dollar, static_cast<int>(Qt::Key_Dollar), 361},
    {sipName_Key_Down, static_cast<int>(Qt::Key_Down), 361},
    {sipName_Key_E, static_cast<int>(Qt::Key_E), 361},
    {sipName_Key_ETH, static_cast<int>(Qt::Key_ETH), 361},
    {sipName_Key_Eacute, static_cast<int>(Qt::Key_Eacute), 361},
    {sipName_Key_Ecircumflex, static_cast<int>(Qt::Key_Ecircumflex), 361},
    {sipName_Key_Ediaeresis, static_cast<int>(Qt::Key_Ediaeresis), 361},
    {sipName_Key_Egrave, static_cast<int>(Qt::Key_Egrave), 361},
    {sipName_Key_Eisu_Shift, static_cast<int>(Qt::Key_Eisu_Shift), 361},
    {sipName_Key_Eisu_toggle, static_cast<int>(Qt::Key_Eisu_toggle), 361},
    {sipName_Key_Eject, static_cast<int>(Qt::Key_Eject), 361},
    {sipName_Key_End, static_cast<int>(Qt::Key_End), 361},
    {sipName_Key_Enter, static_cast<int>(Qt::Key_Enter), 361},
    {sipName_Key_Equal, static_cast<int>(Qt::Key_Equal), 361},
    {sipName_Key_Escape, static_cast<int>(Qt::Key_Escape), 361},
    {sipName_Key_Excel, static_cast<int>(Qt::Key_Excel), 361},
    {sipName_Key_Exclam, static_cast<int>(Qt::Key_Exclam), 361},
    {sipName_Key_Execute, static_cast<int>(Qt::Key_Execute), 361},
    {sipName_Key_Exit, static_cast<int>(Qt::Key_Exit), 361},
    {sipName_Key_Explorer, static_cast<int>(Qt::Key_Explorer), 361},
    {sipName_Key_F, static_cast<int>(Qt::Key_F), 361},
    {sipName_Key_F1, static_cast<int>(Qt::Key_F1), 361},
    {sipName_Key_F10, static_cast<int>(Qt::Key_F10), 361},
    {sipName_Key_F11, static_cast<int>(Qt::Key_F11), 361},
    {sipName_Key_F12, static_cast<int>(Qt::Key_F12), 361},
    {sipName_Key_F13, static_cast<int>(Qt::Key_F13), 361},
    {sipName_Key_F14, static_cast<int>(Qt::Key_F14), 361},
    {sipName_Key_F15, static_cast<int>(Qt::Key_F15), 361},
    {sipName_Key_F16, static_cast<int>(Qt::Key_F16), 361},
    {sipName_Key_F17, static_cast<int>(Qt::Key_F17), 361},
    {sipName_Key_F18, static_cast<int>(Qt::Key_F18), 361},
    {sipName_Key_F19, static_cast<int>(Qt::Key_F19), 361},
    {sipName_Key_F2, static_cast<int>(Qt::Key_F2), 361},
    {sipName_Key_F20, static_cast<int>(Qt::Key_F20), 361},
    {sipName_Key_F21, static_cast<int>(Qt::Key_F21), 361},
    {sipName_Key_F22, static_cast<int>(Qt::Key_F22), 361},
    {sipName_Key_F23, static_cast<int>(Qt::Key_F23), 361},
    {sipName_Key_F24, static_cast<int>(Qt::Key_F24), 361},
    {sipName_Key_F25, static_cast<int>(Qt::Key_F25), 361},
    {sipName_Key_F26, static_cast<int>(Qt::Key_F26), 361},
    {sipName_Key_F27, static_cast<int>(Qt::Key_F27), 361},
    {sipName_Key_F28, static_cast<int>(Qt::Key_F28), 361},
    {sipName_Key_F29, static_cast<int>(Qt::Key_F29), 361},
    {sipName_Key_F3, static_cast<int>(Qt::Key_F3), 361},
    {sipName_Key_F30, static_cast<int>(Qt::Key_F30), 361},
    {sipName_Key_F31, static_cast<int>(Qt::Key_F31), 361},
    {sipName_Key_F32, static_cast<int>(Qt::Key_F32), 361},
    {sipName_Key_F33, static_cast<int>(Qt::Key_F33), 361},
    {sipName_Key_F34, static_cast<int>(Qt::Key_F34), 361},
    {sipName_Key_F35, static_cast<int>(Qt::Key_F35), 361},
    {sipName_Key_F4, static_cast<int>(Qt::Key_F4), 361},
    {sipName_Key_F5, static_cast<int>(Qt::Key_F5), 361},
    {sipName_Key_F6, static_cast<int>(Qt::Key_F6), 361},
    {sipName_Key_F7, static_cast<int>(Qt::Key_F7), 361},
    {sipName_Key_F8, static_cast<int>(Qt::Key_F8), 361},
    {sipName_Key_F9, static_cast<int>(Qt::Key_F9), 361},
    {sipName_Key_Favorites, static_cast<int>(Qt::Key_Favorites), 361},
    {sipName_Key_Finance, static_cast<int>(Qt::Key_Finance), 361},
    {sipName_Key_Find, static_cast<int>(Qt::Key_Find), 361},
    {sipName_Key_Flip, static_cast<int>(Qt::Key_Flip), 361},
    {sipName_Key_Forward, static_cast<int>(Qt::Key_Forward), 361},
    {sipName_Key_G, static_cast<int>(Qt::Key_G), 361},
    {sipName_Key_Game, static_cast<int>(Qt::Key_Game), 361},
    {sipName_Key_Go, static_cast<int>(Qt::Key_Go), 361},
    {sipName_Key_Greater, static_cast<int>(Qt::Key_Greater), 361},
    {sipName_Key_Green, static_cast<int>(Qt::Key_Green), 361},
    {sipName_Key_Guide, static_cast<int>(Qt::Key_Guide), 361},
    {sipName_Key_H, static_cast<int>(Qt::Key_H), 361},
    {sipName_Key_Hangul, static_cast<int>(Qt::Key_Hangul), 361},
    {sipName_Key_Hangul_Banja, static_cast<int>(Qt::Key_Hangul_Banja), 361},
    {sipName_Key_Hangul_End, static_cast<int>(Qt::Key_Hangul_End), 361},
    {sipName_Key_Hangul_Hanja, static_cast<int>(Qt::Key_Hangul_Hanja), 361},
    {sipName_Key_Hangul_Jamo, static_cast<int>(Qt::Key_Hangul_Jamo), 361},
    {sipName_Key_Hangul_Jeonja, static_cast<int>(Qt::Key_Hangul_Jeonja), 361},
    {sipName_Key_Hangul_PostHanja, static_cast<int>(Qt::Key_Hangul_PostHanja), 361},
    {sipName_Key_Hangul_PreHanja, static_cast<int>(Qt::Key_Hangul_PreHanja), 361},
    {sipName_Key_Hangul_Romaja, static_cast<int>(Qt::Key_Hangul_Romaja), 361},
    {sipName_Key_Hangul_Special, static_cast<int>(Qt::Key_Hangul_Special), 361},
    {sipName_Key_Hangul_Start, static_cast<int>(Qt::Key_Hangul_Start), 361},
    {sipName_Key_Hangup, static_cast<int>(Qt::Key_Hangup), 361},
    {sipName_Key_Hankaku, static_cast<int>(Qt::Key_Hankaku), 361},
    {sipName_Key_Help, static_cast<int>(Qt::Key_Help), 361},
    {sipName_Key_Henkan, static_cast<int>(Qt::Key_Henkan), 361},
    {sipName_Key_Hibernate, static_cast<int>(Qt::Key_Hibernate), 361},
    {sipName_Key_Hiragana, static_cast<int>(Qt::Key_Hiragana), 361},
    {sipName_Key_Hiragana_Katakana, static_cast<int>(Qt::Key_Hiragana_Katakana), 361},
    {sipName_Key_History, static_cast<int>(Qt::Key_History), 361},
    {sipName_Key_Home, static_cast<int>(Qt::Key_Home), 361},
    {sipName_Key_HomePage, static_cast<int>(Qt::Key_HomePage), 361},
    {sipName_Key_HotLinks, static_cast<int>(Qt::Key_HotLinks), 361},
    {sipName_Key_Hyper_L, static_cast<int>(Qt::Key_Hyper_L), 361},
    {sipName_Key_Hyper_R, static_cast<int>(Qt::Key_Hyper_R), 361},
    {sipName_Key_I, static_cast<int>(Qt::Key_I), 361},
    {sipName_Key_Iacute, static_cast<int>(Qt::Key_Iacute), 361},
    {sipName_Key_Icircumflex, static_cast<int>(Qt::Key_Icircumflex), 361},
    {sipName_Key_Idiaeresis, static_cast<int>(Qt::Key_Idiaeresis), 361},
    {sipName_Key_Igrave, static_cast<int>(Qt::Key_Igrave), 361},
    {sipName_Key_Info, static_cast<int>(Qt::Key_Info), 361},
    {sipName_Key_Insert, static_cast<int>(Qt::Key_Insert), 361},
    {sipName_Key_J, static_cast<int>(Qt::Key_J), 361},
    {sipName_Key_K, static_cast<int>(Qt::Key_K), 361},
    {sipName_Key_Kana_Lock, static_cast<int>(Qt::Key_Kana_Lock), 361},
    {sipName_Key_Kana_Shift, static_cast<int>(Qt::Key_Kana_Shift), 361},
    {sipName_Key_Kanji, static_cast<int>(Qt::Key_Kanji), 361},
    {sipName_Key_Katakana, static_cast<int>(Qt::Key_Katakana), 361},
    {sipName_Key_KeyboardBrightnessDown, static_cast<int>(Qt::Key_KeyboardBrightnessDown), 361},
    {sipName_Key_KeyboardBrightnessUp, static_cast<int>(Qt::Key_KeyboardBrightnessUp), 361},
    {sipName_Key_KeyboardLightOnOff, static_cast<int>(Qt::Key_KeyboardLightOnOff), 361},
    {sipName_Key_L, static_cast<int>(Qt::Key_L), 361},
    {sipName_Key_LastNumberRedial, static_cast<int>(Qt::Key_LastNumberRedial), 361},
    {sipName_Key_Launch0, static_cast<int>(Qt::Key_Launch0), 361},
    {sipName_Key_Launch1, static_cast<int>(Qt::Key_Launch1), 361},
    {sipName_Key_Launch2, static_cast<int>(Qt::Key_Launch2), 361},
    {sipName_Key_Launch3, static_cast<int>(Qt::Key_Launch3), 361},
    {sipName_Key_Launch4, static_cast<int>(Qt::Key_Launch4), 361},
    {sipName_Key_Launch5, static_cast<int>(Qt::Key_Launch5), 361},
    {sipName_Key_Launch6, static_cast<int>(Qt::Key_Launch6), 361},
    {sipName_Key_Launch7, static_cast<int>(Qt::Key_Launch7), 361},
    {sipName_Key_Launch8, static_cast<int>(Qt::Key_Launch8), 361},
    {sipName_Key_Launch9, static_cast<int>(Qt::Key_Launch9), 361},
    {sipName_Key_LaunchA, static_cast<int>(Qt::Key_LaunchA), 361},
    {sipName_Key_LaunchB, static_cast<int>(Qt::Key_LaunchB), 361},
    {sipName_Key_LaunchC, static_cast<int>(Qt::Key_LaunchC), 361},
    {sipName_Key_LaunchD, static_cast<int>(Qt::Key_LaunchD), 361},
    {sipName_Key_LaunchE, static_cast<int>(Qt::Key_LaunchE), 361},
    {sipName_Key_LaunchF, static_cast<int>(Qt::Key_LaunchF), 361},
    {sipName_Key_LaunchG, static_cast<int>(Qt::Key_LaunchG), 361},
    {sipName_Key_LaunchH, static_cast<int>(Qt::Key_LaunchH), 361},
    {sipName_Key_LaunchMail, static_cast<int>(Qt::Key_LaunchMail), 361},
    {sipName_Key_LaunchMedia, static_cast<int>(Qt::Key_LaunchMedia), 361},
    {sipName_Key_Left, static_cast<int>(Qt::Key_Left), 361},
    {sipName_Key_Less, static_cast<int>(Qt::Key_Less), 361},
    {sipName_Key_LightBulb, static_cast<int>(Qt::Key_LightBulb), 361},
    {sipName_Key_LogOff, static_cast<int>(Qt::Key_LogOff), 361},
    {sipName_Key_M, static_cast<int>(Qt::Key_M), 361},
    {sipName_Key_MailForward, static_cast<int>(Qt::Key_MailForward), 361},
    {sipName_Key_Market, static_cast<int>(Qt::Key_Market), 361},
    {sipName_Key_Massyo, static_cast<int>(Qt::Key_Massyo), 361},
    {sipName_Key_MediaLast, static_cast<int>(Qt::Key_MediaLast), 361},
    {sipName_Key_MediaNext, static_cast<int>(Qt::Key_MediaNext), 361},
    {sipName_Key_MediaPause, static_cast<int>(Qt::Key_MediaPause), 361},
    {sipName_Key_MediaPlay, static_cast<int>(Qt::Key_MediaPlay), 361},
    {sipName_Key_MediaPrevious, static_cast<int>(Qt::Key_MediaPrevious), 361},
    {sipName_Key_MediaRecord, static_cast<int>(Qt::Key_MediaRecord), 361},
    {sipName_Key_MediaStop, static_cast<int>(Qt::Key_MediaStop), 361},
    {sipName_Key_MediaTogglePlayPause, static_cast<int>(Qt::Key_MediaTogglePlayPause), 361},
    {sipName_Key_Meeting, static_cast<int>(Qt::Key_Meeting), 361},
    {sipName_Key_Memo, static_cast<int>(Qt::Key_Memo), 361},
    {sipName_Key_Menu, static_cast<int>(Qt::Key_Menu), 361},
    {sipName_Key_MenuKB, static_cast<int>(Qt::Key_MenuKB), 361},
    {sipName_Key_MenuPB, static_cast<int>(Qt::Key_MenuPB), 361},
    {sipName_Key_Messenger, static_cast<int>(Qt::Key_Messenger), 361},
    {sipName_Key_Meta, static_cast<int>(Qt::Key_Meta), 361},
    {sipName_Key_MicMute, static_cast<int>(Qt::Key_MicMute), 361},
    {sipName_Key_MicVolumeDown, static_cast<int>(Qt::Key_MicVolumeDown), 361},
    {sipName_Key_MicVolumeUp, static_cast<int>(Qt::Key_MicVolumeUp), 361},
    {sipName_Key_Minus, static_cast<int>(Qt::Key_Minus), 361},
    {sipName_Key_Mode_switch, static_cast<int>(Qt::Key_Mode_switch), 361},
    {sipName_Key_MonBrightnessDown, static_cast<int>(Qt::Key_MonBrightnessDown), 361},
    {sipName_Key_MonBrightnessUp, static_cast<int>(Qt::Key_MonBrightnessUp), 361},
    {sipName_Key_Muhenkan, static_cast<int>(Qt::Key_Muhenkan), 361},
    {sipName_Key_Multi_key, static_cast<int>(Qt::Key_Multi_key), 361},
    {sipName_Key_MultipleCandidate, static_cast<int>(Qt::Key_MultipleCandidate), 361},
    {sipName_Key_Music, static_cast<int>(Qt::Key_Music), 361},
    {sipName_Key_MySites, static_cast<int>(Qt::Key_MySites), 361},
    {sipName_Key_N, static_cast<int>(Qt::Key_N), 361},
    {sipName_Key_New, static_cast<int>(Qt::Key_New), 361},
    {sipName_Key_News, static_cast<int>(Qt::Key_News), 361},
    {sipName_Key_No, static_cast<int>(Qt::Key_No), 361},
    {sipName_Key_Ntilde, static_cast<int>(Qt::Key_Ntilde), 361},
    {sipName_Key_NumLock, static_cast<int>(Qt::Key_NumLock), 361},
    {sipName_Key_NumberSign, static_cast<int>(Qt::Key_NumberSign), 361},
    {sipName_Key_O, static_cast<int>(Qt::Key_O), 361},
    {sipName_Key_Oacute, static_cast<int>(Qt::Key_Oacute), 361},
    {sipName_Key_Ocircumflex, static_cast<int>(Qt::Key_Ocircumflex), 361},
    {sipName_Key_Odiaeresis, static_cast<int>(Qt::Key_Odiaeresis), 361},
    {sipName_Key_OfficeHome, static_cast<int>(Qt::Key_OfficeHome), 361},
    {sipName_Key_Ograve, static_cast<int>(Qt::Key_Ograve), 361},
    {sipName_Key_Ooblique, static_cast<int>(Qt::Key_Ooblique), 361},
    {sipName_Key_Open, static_cast<int>(Qt::Key_Open), 361},
    {sipName_Key_OpenUrl, static_cast<int>(Qt::Key_OpenUrl), 361},
    {sipName_Key_Option, static_cast<int>(Qt::Key_Option), 361},
    {sipName_Key_Otilde, static_cast<int>(Qt::Key_Otilde), 361},
    {sipName_Key_P, static_cast<int>(Qt::Key_P), 361},
    {sipName_Key_PageDown, static_cast<int>(Qt::Key_PageDown), 361},
    {sipName_Key_PageUp, static_cast<int>(Qt::Key_PageUp), 361},
    {sipName_Key_ParenLeft, static_cast<int>(Qt::Key_ParenLeft), 361},
    {sipName_Key_ParenRight, static_cast<int>(Qt::Key_ParenRight), 361},
    {sipName_Key_Paste, static_cast<int>(Qt::Key_Paste), 361},
    {sipName_Key_Pause, static_cast<int>(Qt::Key_Pause), 361},
    {sipName_Key_Percent, static_cast<int>(Qt::Key_Percent), 361},
    {sipName_Key_Period, static_cast<int>(Qt::Key_Period), 361},
    {sipName_Key_Phone, static_cast<int>(Qt::Key_Phone), 361},
    {sipName_Key_Pictures, static_cast<int>(Qt::Key_Pictures), 361},
    {sipName_Key_Play, static_cast<int>(Qt::Key_Play), 361},
    {sipName_Key_Plus, static_cast<int>(Qt::Key_Plus), 361},
    {sipName_Key_PowerDown, static_cast<int>(Qt::Key_PowerDown), 361},
    {sipName_Key_PowerOff, static_cast<int>(Qt::Key_PowerOff), 361},
    {sipName_Key_PreviousCandidate, static_cast<int>(Qt::Key_PreviousCandidate), 361},
    {sipName_Key_Print, static_cast<int>(Qt::Key_Print), 361},
    {sipName_Key_Printer, static_cast<int>(Qt::Key_Printer), 361},
    {sipName_Key_Q, static_cast<int>(Qt::Key_Q), 361},
    {sipName_Key_Question, static_cast<int>(Qt::Key_Question), 361},
    {sipName_Key_QuoteDbl, static_cast<int>(Qt::Key_QuoteDbl), 361},
    {sipName_Key_QuoteLeft, static_cast<int>(Qt::Key_QuoteLeft), 361},
    {sipName_Key_R, static_cast<int>(Qt::Key_R), 361},
    {sipName_Key_Red, static_cast<int>(Qt::Key_Red), 361},
    {sipName_Key_Redo, static_cast<int>(Qt::Key_Redo), 361},
    {sipName_Key_Refresh, static_cast<int>(Qt::Key_Refresh), 361},
    {sipName_Key_Reload, static_cast<int>(Qt::Key_Reload), 361},
    {sipName_Key_Reply, static_cast<int>(Qt::Key_Reply), 361},
    {sipName_Key_Return, static_cast<int>(Qt::Key_Return), 361},
    {sipName_Key_Right, static_cast<int>(Qt::Key_Right), 361},
    {sipName_Key_Romaji, static_cast<int>(Qt::Key_Romaji), 361},
    {sipName_Key_RotateWindows, static_cast<int>(Qt::Key_RotateWindows), 361},
    {sipName_Key_RotationKB, static_cast<int>(Qt::Key_RotationKB), 361},
    {sipName_Key_RotationPB, static_cast<int>(Qt::Key_RotationPB), 361},
    {sipName_Key_S, static_cast<int>(Qt::Key_S), 361},
    {sipName_Key_Save, static_cast<int>(Qt::Key_Save), 361},
    {sipName_Key_ScreenSaver, static_cast<int>(Qt::Key_ScreenSaver), 361},
    {sipName_Key_ScrollLock, static_cast<int>(Qt::Key_ScrollLock), 361},
    {sipName_Key_Search, static_cast<int>(Qt::Key_Search), 361},
    {sipName_Key_Select, static_cast<int>(Qt::Key_Select), 361},
    {sipName_Key_Semicolon, static_cast<int>(Qt::Key_Semicolon), 361},
    {sipName_Key_Send, static_cast<int>(Qt::Key_Send), 361},
    {sipName_Key_Settings, static_cast<int>(Qt::Key_Settings), 361},
    {sipName_Key_Shift, static_cast<int>(Qt::Key_Shift), 361},
    {sipName_Key_Shop, static_cast<int>(Qt::Key_Shop), 361},
    {sipName_Key_SingleCandidate, static_cast<int>(Qt::Key_SingleCandidate), 361},
    {sipName_Key_Slash, static_cast<int>(Qt::Key_Slash), 361},
    {sipName_Key_Sleep, static_cast<int>(Qt::Key_Sleep), 361},
    {sipName_Key_Space, static_cast<int>(Qt::Key_Space), 361},
    {sipName_Key_Spell, static_cast<int>(Qt::Key_Spell), 361},
    {sipName_Key_SplitScreen, static_cast<int>(Qt::Key_SplitScreen), 361},
    {sipName_Key_Standby, static_cast<int>(Qt::Key_Standby), 361},
    {sipName_Key_Stop, static_cast<int>(Qt::Key_Stop), 361},
    {sipName_Key_Subtitle, static_cast<int>(Qt::Key_Subtitle), 361},
    {sipName_Key_Super_L, static_cast<int>(Qt::Key_Super_L), 361},
    {sipName_Key_Super_R, static_cast<int>(Qt::Key_Super_R), 361},
    {sipName_Key_Support, static_cast<int>(Qt::Key_Support), 361},
    {sipName_Key_Suspend, static_cast<int>(Qt::Key_Suspend), 361},
    {sipName_Key_SysReq, static_cast<int>(Qt::Key_SysReq), 361},
    {sipName_Key_T, static_cast<int>(Qt::Key_T), 361},
    {sipName_Key_THORN, static_cast<int>(Qt::Key_THORN), 361},
    {sipName_Key_Tab, static_cast<int>(Qt::Key_Tab), 361},
    {sipName_Key_TaskPane, static_cast<int>(Qt::Key_TaskPane), 361},
    {sipName_Key_Terminal, static_cast<int>(Qt::Key_Terminal), 361},
    {sipName_Key_Time, static_cast<int>(Qt::Key_Time), 361},
    {sipName_Key_ToDoList, static_cast<int>(Qt::Key_ToDoList), 361},
    {sipName_Key_ToggleCallHangup, static_cast<int>(Qt::Key_ToggleCallHangup), 361},
    {sipName_Key_Tools, static_cast<int>(Qt::Key_Tools), 361},
    {sipName_Key_TopMenu, static_cast<int>(Qt::Key_TopMenu), 361},
    {sipName_Key_TouchpadOff, static_cast<int>(Qt::Key_TouchpadOff), 361},
    {sipName_Key_TouchpadOn, static_cast<int>(Qt::Key_TouchpadOn), 361},
    {sipName_Key_TouchpadToggle, static_cast<int>(Qt::Key_TouchpadToggle), 361},
    {sipName_Key_Touroku, static_cast<int>(Qt::Key_Touroku), 361},
    {sipName_Key_Travel, static_cast<int>(Qt::Key_Travel), 361},
    {sipName_Key_TrebleDown, static_cast<int>(Qt::Key_TrebleDown), 361},
    {sipName_Key_TrebleUp, static_cast<int>(Qt::Key_TrebleUp), 361},
    {sipName_Key_U, static_cast<int>(Qt::Key_U), 361},
    {sipName_Key_UWB, static_cast<int>(Qt::Key_UWB), 361},
    {sipName_Key_Uacute, static_cast<int>(Qt::Key_Uacute), 361},
    {sipName_Key_Ucircumflex, static_cast<int>(Qt::Key_Ucircumflex), 361},
    {sipName_Key_Udiaeresis, static_cast<int>(Qt::Key_Udiaeresis), 361},
    {sipName_Key_Ugrave, static_cast<int>(Qt::Key_Ugrave), 361},
    {sipName_Key_Underscore, static_cast<int>(Qt::Key_Underscore), 361},
    {sipName_Key_Undo, static_cast<int>(Qt::Key_Undo), 361},
    {sipName_Key_Up, static_cast<int>(Qt::Key_Up), 361},
    {sipName_Key_V, static_cast<int>(Qt::Key_V), 361},
    {sipName_Key_Video, static_cast<int>(Qt::Key_Video), 361},
    {sipName_Key_View, static_cast<int>(Qt::Key_View), 361},
    {sipName_Key_VoiceDial, static_cast<int>(Qt::Key_VoiceDial), 361},
    {sipName_Key_VolumeDown, static_cast<int>(Qt::Key_VolumeDown), 361},
    {sipName_Key_VolumeMute, static_cast<int>(Qt::Key_VolumeMute), 361},
    {sipName_Key_VolumeUp, static_cast<int>(Qt::Key_VolumeUp), 361},
    {sipName_Key_W, static_cast<int>(Qt::Key_W), 361},
    {sipName_Key_WLAN, static_cast<int>(Qt::Key_WLAN), 361},
    {sipName_Key_WWW, static_cast<int>(Qt::Key_WWW), 361},
    {sipName_Key_WakeUp, static_cast<int>(Qt::Key_WakeUp), 361},
    {sipName_Key_WebCam, static_cast<int>(Qt::Key_WebCam), 361},
    {sipName_Key_Word, static_cast<int>(Qt::Key_Word), 361},
    {sipName_Key_X, static_cast<int>(Qt::Key_X), 361},
    {sipName_Key_Xfer, static_cast<int>(Qt::Key_Xfer), 361},
    {sipName_Key_Y, static_cast<int>(Qt::Key_Y), 361},
    {sipName_Key_Yacute, static_cast<int>(Qt::Key_Yacute), 361},
    {sipName_Key_Yellow, static_cast<int>(Qt::Key_Yellow), 361},
    {sipName_Key_Yes, static_cast<int>(Qt::Key_Yes), 361},
    {sipName_Key_Z, static_cast<int>(Qt::Key_Z), 361},
    {sipName_Key_Zenkaku, static_cast<int>(Qt::Key_Zenkaku), 361},
    {sipName_Key_Zenkaku_Hankaku, static_cast<int>(Qt::Key_Zenkaku_Hankaku), 361},
    {sipName_Key_Zoom, static_cast<int>(Qt::Key_Zoom), 361},
    {sipName_Key_ZoomIn, static_cast<int>(Qt::Key_ZoomIn), 361},
    {sipName_Key_ZoomOut, static_cast<int>(Qt::Key_ZoomOut), 361},
    {sipName_Key_acute, static_cast<int>(Qt::Key_acute), 361},
    {sipName_Key_brokenbar, static_cast<int>(Qt::Key_brokenbar), 361},
    {sipName_Key_cedilla, static_cast<int>(Qt::Key_cedilla), 361},
    {sipName_Key_cent, static_cast<int>(Qt::Key_cent), 361},
    {sipName_Key_copyright, static_cast<int>(Qt::Key_copyright), 361},
    {sipName_Key_currency, static_cast<int>(Qt::Key_currency), 361},
    {sipName_Key_degree, static_cast<int>(Qt::Key_degree), 361},
    {sipName_Key_diaeresis, static_cast<int>(Qt::Key_diaeresis), 361},
    {sipName_Key_division, static_cast<int>(Qt::Key_division), 361},
    {sipName_Key_exclamdown, static_cast<int>(Qt::Key_exclamdown), 361},
    {sipName_Key_guillemotleft, static_cast<int>(Qt::Key_guillemotleft), 361},
    {sipName_Key_guillemotright, static_cast<int>(Qt::Key_guillemotright), 361},
    {sipName_Key_hyphen, static_cast<int>(Qt::Key_hyphen), 361},
    {sipName_Key_iTouch, static_cast<int>(Qt::Key_iTouch), 361},
    {sipName_Key_macron, static_cast<int>(Qt::Key_macron), 361},
    {sipName_Key_masculine, static_cast<int>(Qt::Key_masculine), 361},
    {sipName_Key_mu, static_cast<int>(Qt::Key_mu), 361},
    {sipName_Key_multiply, static_cast<int>(Qt::Key_multiply), 361},
    {sipName_Key_nobreakspace, static_cast<int>(Qt::Key_nobreakspace), 361},
    {sipName_Key_notsign, static_cast<int>(Qt::Key_notsign), 361},
    {sipName_Key_onehalf, static_cast<int>(Qt::Key_onehalf), 361},
    {sipName_Key_onequarter, static_cast<int>(Qt::Key_onequarter), 361},
    {sipName_Key_onesuperior, static_cast<int>(Qt::Key_onesuperior), 361},
    {sipName_Key_ordfeminine, static_cast<int>(Qt::Key_ordfeminine), 361},
    {sipName_Key_paragraph, static_cast<int>(Qt::Key_paragraph), 361},
    {sipName_Key_periodcentered, static_cast<int>(Qt::Key_periodcentered), 361},
    {sipName_Key_plusminus, static_cast<int>(Qt::Key_plusminus), 361},
    {sipName_Key_questiondown, static_cast<int>(Qt::Key_questiondown), 361},
    {sipName_Key_registered, static_cast<int>(Qt::Key_registered), 361},
    {sipName_Key_section, static_cast<int>(Qt::Key_section), 361},
    {sipName_Key_ssharp, static_cast<int>(Qt::Key_ssharp), 361},
    {sipName_Key_sterling, static_cast<int>(Qt::Key_sterling), 361},
    {sipName_Key_threequarters, static_cast<int>(Qt::Key_threequarters), 361},
    {sipName_Key_threesuperior, static_cast<int>(Qt::Key_threesuperior), 361},
    {sipName_Key_twosuperior, static_cast<int>(Qt::Key_twosuperior), 361},
    {sipName_Key_unknown, static_cast<int>(Qt::Key_unknown), 361},
    {sipName_Key_ydiaeresis, static_cast<int>(Qt::Key_ydiaeresis), 361},
    {sipName_Key_yen, static_cast<int>(Qt::Key_yen), 361},
    {sipName_KeyboardModifierMask, static_cast<int>(Qt::KeyboardModifierMask), 362},
    {sipName_KeypadModifier, static_cast<int>(Qt::KeypadModifier), 362},
    {sipName_LandscapeOrientation, static_cast<int>(Qt::LandscapeOrientation), 381},
    {sipName_LastCursor, static_cast<int>(Qt::LastCursor), 330},
    {sipName_LayoutDirectionAuto, static_cast<int>(Qt::LayoutDirectionAuto), 364},
    {sipName_LeftArrow, static_cast<int>(Qt::LeftArrow), 317},
    {sipName_LeftButton, static_cast<int>(Qt::LeftButton), 369},
    {sipName_LeftDockWidgetArea, static_cast<int>(Qt::LeftDockWidgetArea), 333},
    {sipName_LeftEdge, static_cast<int>(Qt::LeftEdge), 337},
    {sipName_LeftSection, static_cast<int>(Qt::LeftSection), 407},
    {sipName_LeftToRight, static_cast<int>(Qt::LeftToRight), 364},
    {sipName_LeftToolBarArea, static_cast<int>(Qt::LeftToolBarArea), 397},
    {sipName_LinearGradientPattern, static_cast<int>(Qt::LinearGradientPattern), 321},
    {sipName_LinkAction, static_cast<int>(Qt::LinkAction), 335},
    {sipName_LinksAccessibleByKeyboard, static_cast<int>(Qt::LinksAccessibleByKeyboard), 392},
    {sipName_LinksAccessibleByMouse, static_cast<int>(Qt::LinksAccessibleByMouse), 392},
    {sipName_LocalDate, static_cast<int>(Qt::LocalDate), 331},
    {sipName_LocalTime, static_cast<int>(Qt::LocalTime), 395},
    {sipName_LocaleDate, static_cast<int>(Qt::LocaleDate), 331},
    {sipName_LogicalCoordinates, static_cast<int>(Qt::LogicalCoordinates), 327},
    {sipName_LogicalMoveStyle, static_cast<int>(Qt::LogicalMoveStyle), 329},
    {sipName_LowEventPriority, static_cast<int>(Qt::LowEventPriority), 339},
    {sipName_META, static_cast<int>(Qt::META), 368},
    {sipName_MODIFIER_MASK, static_cast<int>(Qt::MODIFIER_MASK), 368},
    {sipName_MPenCapStyle, static_cast<int>(Qt::MPenCapStyle), 378},
    {sipName_MPenJoinStyle, static_cast<int>(Qt::MPenJoinStyle), 379},
    {sipName_MPenStyle, static_cast<int>(Qt::MPenStyle), 380},
    {sipName_MSWindowsFixedSizeDialogHint, static_cast<int>(Qt::MSWindowsFixedSizeDialogHint), 411},
    {sipName_MSWindowsOwnDC, static_cast<int>(Qt::MSWindowsOwnDC), 411},
    {sipName_MacWindowToolBarButtonHint, static_cast<int>(Qt::MacWindowToolBarButtonHint), 411},
    {sipName_MaskInColor, static_cast<int>(Qt::MaskInColor), 365},
    {sipName_MaskOutColor, static_cast<int>(Qt::MaskOutColor), 365},
    {sipName_MatchCaseSensitive, static_cast<int>(Qt::MatchCaseSensitive), 366},
    {sipName_MatchContains, static_cast<int>(Qt::MatchContains), 366},
    {sipName_MatchEndsWith, static_cast<int>(Qt::MatchEndsWith), 366},
    {sipName_MatchExactly, static_cast<int>(Qt::MatchExactly), 366},
    {sipName_MatchFixedString, static_cast<int>(Qt::MatchFixedString), 366},
    {sipName_MatchRecursive, static_cast<int>(Qt::MatchRecursive), 366},
    {sipName_MatchRegExp, static_cast<int>(Qt::MatchRegExp), 366},
    {sipName_MatchStartsWith, static_cast<int>(Qt::MatchStartsWith), 366},
    {sipName_MatchWildcard, static_cast<int>(Qt::MatchWildcard), 366},
    {sipName_MatchWrap, static_cast<int>(Qt::MatchWrap), 366},
    {sipName_MaximumSize, static_cast<int>(Qt::MaximumSize), 386},
    {sipName_MenuBarFocusReason, static_cast<int>(Qt::MenuBarFocusReason), 344},
    {sipName_MetaModifier, static_cast<int>(Qt::MetaModifier), 362},
    {sipName_MidButton, static_cast<int>(Qt::MidButton), 369},
    {sipName_MiddleButton, static_cast<int>(Qt::MiddleButton), 369},
    {sipName_MinimumDescent, static_cast<int>(Qt::MinimumDescent), 386},
    {sipName_MinimumSize, static_cast<int>(Qt::MinimumSize), 386},
    {sipName_MiterJoin, static_cast<int>(Qt::MiterJoin), 379},
    {sipName_Monday, static_cast<int>(Qt::Monday), 332},
    {sipName_MonoOnly, static_cast<int>(Qt::MonoOnly), 351},
    {sipName_MouseEventCreatedDoubleClick, static_cast<int>(Qt::MouseEventCreatedDoubleClick), 371},
    {sipName_MouseEventNotSynthesized, static_cast<int>(Qt::MouseEventNotSynthesized), 373},
    {sipName_MouseEventSynthesizedByQt, static_cast<int>(Qt::MouseEventSynthesizedByQt), 373},
    {sipName_MouseEventSynthesizedBySystem, static_cast<int>(Qt::MouseEventSynthesizedBySystem), 373},
    {sipName_MouseFocusReason, static_cast<int>(Qt::MouseFocusReason), 344},
    {sipName_MoveAction, static_cast<int>(Qt::MoveAction), 335},
    {sipName_NavigationModeCursorAuto, static_cast<int>(Qt::NavigationModeCursorAuto), 375},
    {sipName_NavigationModeCursorForceVisible, static_cast<int>(Qt::NavigationModeCursorForceVisible), 375},
    {sipName_NavigationModeKeypadDirectional, static_cast<int>(Qt::NavigationModeKeypadDirectional), 375},
    {sipName_NavigationModeKeypadTabOrder, static_cast<int>(Qt::NavigationModeKeypadTabOrder), 375},
    {sipName_NavigationModeNone, static_cast<int>(Qt::NavigationModeNone), 375},
    {sipName_NoArrow, static_cast<int>(Qt::NoArrow), 317},
    {sipName_NoBrush, static_cast<int>(Qt::NoBrush), 321},
    {sipName_NoButton, static_cast<int>(Qt::NoButton), 369},
    {sipName_NoClip, static_cast<int>(Qt::NoClip), 324},
    {sipName_NoContextMenu, static_cast<int>(Qt::NoContextMenu), 326},
    {sipName_NoDockWidgetArea, static_cast<int>(Qt::NoDockWidgetArea), 333},
    {sipName_NoDropShadowWindowHint, static_cast<int>(Qt::NoDropShadowWindowHint), 411},
    {sipName_NoFocus, static_cast<int>(Qt::NoFocus), 343},
    {sipName_NoFocusReason, static_cast<int>(Qt::NoFocusReason), 344},
    {sipName_NoItemFlags, static_cast<int>(Qt::NoItemFlags), 358},
    {sipName_NoModifier, static_cast<int>(Qt::NoModifier), 362},
    {sipName_NoPen, static_cast<int>(Qt::NoPen), 380},
    {sipName_NoSection, static_cast<int>(Qt::NoSection), 407},
    {sipName_NoTextInteraction, static_cast<int>(Qt::NoTextInteraction), 392},
    {sipName_NoToolBarArea, static_cast<int>(Qt::NoToolBarArea), 397},
    {sipName_NonModal, static_cast<int>(Qt::NonModal), 408},
    {sipName_NormalEventPriority, static_cast<int>(Qt::NormalEventPriority), 339},
    {sipName_OddEvenFill, static_cast<int>(Qt::OddEvenFill), 340},
    {sipName_OffsetFromUTC, static_cast<int>(Qt::OffsetFromUTC), 395},
    {sipName_OpaqueMode, static_cast<int>(Qt::OpaqueMode), 320},
    {sipName_OpenHandCursor, static_cast<int>(Qt::OpenHandCursor), 330},
    {sipName_OrderedAlphaDither, static_cast<int>(Qt::OrderedAlphaDither), 351},
    {sipName_OrderedDither, static_cast<int>(Qt::OrderedDither), 351},
    {sipName_OtherFocusReason, static_cast<int>(Qt::OtherFocusReason), 344},
    {sipName_PanGesture, static_cast<int>(Qt::PanGesture), 348},
    {sipName_PanNativeGesture, static_cast<int>(Qt::PanNativeGesture), 374},
    {sipName_PartiallyChecked, static_cast<int>(Qt::PartiallyChecked), 323},
    {sipName_PinchGesture, static_cast<int>(Qt::PinchGesture), 348},
    {sipName_PlainText, static_cast<int>(Qt::PlainText), 391},
    {sipName_PointingHandCursor, static_cast<int>(Qt::PointingHandCursor), 330},
    {sipName_Popup, static_cast<int>(Qt::Popup), 411},
    {sipName_PopupFocusReason, static_cast<int>(Qt::PopupFocusReason), 344},
    {sipName_PortraitOrientation, static_cast<int>(Qt::PortraitOrientation), 381},
    {sipName_PreciseTimer, static_cast<int>(Qt::PreciseTimer), 396},
    {sipName_PreferDither, static_cast<int>(Qt::PreferDither), 351},
    {sipName_PreferredSize, static_cast<int>(Qt::PreferredSize), 386},
    {sipName_PreventContextMenu, static_cast<int>(Qt::PreventContextMenu), 326},
    {sipName_PrimaryOrientation, static_cast<int>(Qt::PrimaryOrientation), 381},
    {sipName_QueuedConnection, static_cast<int>(Qt::QueuedConnection), 325},
    {sipName_RFC2822Date, static_cast<int>(Qt::RFC2822Date), 331},
    {sipName_RadialGradientPattern, static_cast<int>(Qt::RadialGradientPattern), 321},
    {sipName_ReceivePartialGestures, static_cast<int>(Qt::ReceivePartialGestures), 345},
    {sipName_RelativeSize, static_cast<int>(Qt::RelativeSize), 387},
    {sipName_RepeatTile, static_cast<int>(Qt::RepeatTile), 394},
    {sipName_ReplaceClip, static_cast<int>(Qt::ReplaceClip), 324},
    {sipName_RichText, static_cast<int>(Qt::RichText), 391},
    {sipName_RightArrow, static_cast<int>(Qt::RightArrow), 317},
    {sipName_RightButton, static_cast<int>(Qt::RightButton), 369},
    {sipName_RightDockWidgetArea, static_cast<int>(Qt::RightDockWidgetArea), 333},
    {sipName_RightEdge, static_cast<int>(Qt::RightEdge), 337},
    {sipName_RightSection, static_cast<int>(Qt::RightSection), 407},
    {sipName_RightToLeft, static_cast<int>(Qt::RightToLeft), 364},
    {sipName_RightToolBarArea, static_cast<int>(Qt::RightToolBarArea), 397},
    {sipName_RotateNativeGesture, static_cast<int>(Qt::RotateNativeGesture), 374},
    {sipName_RoundCap, static_cast<int>(Qt::RoundCap), 378},
    {sipName_RoundJoin, static_cast<int>(Qt::RoundJoin), 379},
    {sipName_RoundTile, static_cast<int>(Qt::RoundTile), 394},
    {sipName_SHIFT, static_cast<int>(Qt::SHIFT), 368},
    {sipName_Saturday, static_cast<int>(Qt::Saturday), 332},
    {sipName_ScrollBarAlwaysOff, static_cast<int>(Qt::ScrollBarAlwaysOff), 383},
    {sipName_ScrollBarAlwaysOn, static_cast<int>(Qt::ScrollBarAlwaysOn), 383},
    {sipName_ScrollBarAsNeeded, static_cast<int>(Qt::ScrollBarAsNeeded), 383},
    {sipName_ScrollBegin, static_cast<int>(Qt::ScrollBegin), 384},
    {sipName_ScrollEnd, static_cast<int>(Qt::ScrollEnd), 384},
    {sipName_ScrollUpdate, static_cast<int>(Qt::ScrollUpdate), 384},
    {sipName_Sheet, static_cast<int>(Qt::Sheet), 411},
    {sipName_ShiftModifier, static_cast<int>(Qt::ShiftModifier), 362},
    {sipName_ShortcutFocusReason, static_cast<int>(Qt::ShortcutFocusReason), 344},
    {sipName_SizeAllCursor, static_cast<int>(Qt::SizeAllCursor), 330},
    {sipName_SizeBDiagCursor, static_cast<int>(Qt::SizeBDiagCursor), 330},
    {sipName_SizeFDiagCursor, static_cast<int>(Qt::SizeFDiagCursor), 330},
    {sipName_SizeHintRole, static_cast<int>(Qt::SizeHintRole), 357},
    {sipName_SizeHorCursor, static_cast<int>(Qt::SizeHorCursor), 330},
    {sipName_SizeVerCursor, static_cast<int>(Qt::SizeVerCursor), 330},
    {sipName_SmartZoomNativeGesture, static_cast<int>(Qt::SmartZoomNativeGesture), 374},
    {sipName_SmoothTransformation, static_cast<int>(Qt::SmoothTransformation), 402},
    {sipName_SolidLine, static_cast<int>(Qt::SolidLine), 380},
    {sipName_SolidPattern, static_cast<int>(Qt::SolidPattern), 321},
    {sipName_SplashScreen, static_cast<int>(Qt::SplashScreen), 411},
    {sipName_SplitHCursor, static_cast<int>(Qt::SplitHCursor), 330},
    {sipName_SplitVCursor, static_cast<int>(Qt::SplitVCursor), 330},
    {sipName_SquareCap, static_cast<int>(Qt::SquareCap), 378},
    {sipName_StatusTipRole, static_cast<int>(Qt::StatusTipRole), 357},
    {sipName_StretchTile, static_cast<int>(Qt::StretchTile), 394},
    {sipName_StrongFocus, static_cast<int>(Qt::StrongFocus), 343},
    {sipName_SubWindow, static_cast<int>(Qt::SubWindow), 411},
    {sipName_Sunday, static_cast<int>(Qt::Sunday), 332},
    {sipName_SvgMiterJoin, static_cast<int>(Qt::SvgMiterJoin), 379},
    {sipName_SwipeGesture, static_cast<int>(Qt::SwipeGesture), 348},
    {sipName_SwipeNativeGesture, static_cast<int>(Qt::SwipeNativeGesture), 374},
    {sipName_SystemLocaleDate, static_cast<int>(Qt::SystemLocaleDate), 331},
    {sipName_SystemLocaleLongDate, static_cast<int>(Qt::SystemLocaleLongDate), 331},
    {sipName_SystemLocaleShortDate, static_cast<int>(Qt::SystemLocaleShortDate), 331},
    {sipName_TabFocus, static_cast<int>(Qt::TabFocus), 343},
    {sipName_TabFocusReason, static_cast<int>(Qt::TabFocusReason), 344},
    {sipName_TapAndHoldGesture, static_cast<int>(Qt::TapAndHoldGesture), 348},
    {sipName_TapGesture, static_cast<int>(Qt::TapGesture), 348},
    {sipName_TargetMoveAction, static_cast<int>(Qt::TargetMoveAction), 335},
    {sipName_TaskButton, static_cast<int>(Qt::TaskButton), 369},
    {sipName_TextAlignmentRole, static_cast<int>(Qt::TextAlignmentRole), 357},
    {sipName_TextBrowserInteraction, static_cast<int>(Qt::TextBrowserInteraction), 392},
    {sipName_TextColorRole, static_cast<int>(Qt::TextColorRole), 357},
    {sipName_TextDate, static_cast<int>(Qt::TextDate), 331},
    {sipName_TextDontClip, static_cast<int>(Qt::TextDontClip), 390},
    {sipName_TextDontPrint, static_cast<int>(Qt::TextDontPrint), 390},
    {sipName_TextEditable, static_cast<int>(Qt::TextEditable), 392},
    {sipName_TextEditorInteraction, static_cast<int>(Qt::TextEditorInteraction), 392},
    {sipName_TextExpandTabs, static_cast<int>(Qt::TextExpandTabs), 390},
    {sipName_TextHideMnemonic, static_cast<int>(Qt::TextHideMnemonic), 390},
    {sipName_TextIncludeTrailingSpaces, static_cast<int>(Qt::TextIncludeTrailingSpaces), 390},
    {sipName_TextJustificationForced, static_cast<int>(Qt::TextJustificationForced), 390},
    {sipName_TextSelectableByKeyboard, static_cast<int>(Qt::TextSelectableByKeyboard), 392},
    {sipName_TextSelectableByMouse, static_cast<int>(Qt::TextSelectableByMouse), 392},
    {sipName_TextShowMnemonic, static_cast<int>(Qt::TextShowMnemonic), 390},
    {sipName_TextSingleLine, static_cast<int>(Qt::TextSingleLine), 390},
    {sipName_TextWordWrap, static_cast<int>(Qt::TextWordWrap), 390},
    {sipName_TextWrapAnywhere, static_cast<int>(Qt::TextWrapAnywhere), 390},
    {sipName_TexturePattern, static_cast<int>(Qt::TexturePattern), 321},
    {sipName_ThresholdAlphaDither, static_cast<int>(Qt::ThresholdAlphaDither), 351},
    {sipName_ThresholdDither, static_cast<int>(Qt::ThresholdDither), 351},
    {sipName_Thursday, static_cast<int>(Qt::Thursday), 332},
    {sipName_TimeZone, static_cast<int>(Qt::TimeZone), 395},
    {sipName_TitleBarArea, static_cast<int>(Qt::TitleBarArea), 407},
    {sipName_Tool, static_cast<int>(Qt::Tool), 411},
    {sipName_ToolBarArea_Mask, static_cast<int>(Qt::ToolBarArea_Mask), 397},
    {sipName_ToolButtonFollowStyle, static_cast<int>(Qt::ToolButtonFollowStyle), 399},
    {sipName_ToolButtonIconOnly, static_cast<int>(Qt::ToolButtonIconOnly), 399},
    {sipName_ToolButtonTextBesideIcon, static_cast<int>(Qt::ToolButtonTextBesideIcon), 399},
    {sipName_ToolButtonTextOnly, static_cast<int>(Qt::ToolButtonTextOnly), 399},
    {sipName_ToolButtonTextUnderIcon, static_cast<int>(Qt::ToolButtonTextUnderIcon), 399},
    {sipName_ToolTip, static_cast<int>(Qt::ToolTip), 411},
    {sipName_ToolTipRole, static_cast<int>(Qt::ToolTipRole), 357},
    {sipName_TopDockWidgetArea, static_cast<int>(Qt::TopDockWidgetArea), 333},
    {sipName_TopEdge, static_cast<int>(Qt::TopEdge), 337},
    {sipName_TopLeftCorner, static_cast<int>(Qt::TopLeftCorner), 328},
    {sipName_TopLeftSection, static_cast<int>(Qt::TopLeftSection), 407},
    {sipName_TopRightCorner, static_cast<int>(Qt::TopRightCorner), 328},
    {sipName_TopRightSection, static_cast<int>(Qt::TopRightSection), 407},
    {sipName_TopSection, static_cast<int>(Qt::TopSection), 407},
    {sipName_TopToolBarArea, static_cast<int>(Qt::TopToolBarArea), 397},
    {sipName_TouchPointMoved, static_cast<int>(Qt::TouchPointMoved), 400},
    {sipName_TouchPointPressed, static_cast<int>(Qt::TouchPointPressed), 400},
    {sipName_TouchPointReleased, static_cast<int>(Qt::TouchPointReleased), 400},
    {sipName_TouchPointStationary, static_cast<int>(Qt::TouchPointStationary), 400},
    {sipName_TransparentMode, static_cast<int>(Qt::TransparentMode), 320},
    {sipName_Tuesday, static_cast<int>(Qt::Tuesday), 332},
    {sipName_UI_AnimateCombo, static_cast<int>(Qt::UI_AnimateCombo), 403},
    {sipName_UI_AnimateMenu, static_cast<int>(Qt::UI_AnimateMenu), 403},
    {sipName_UI_AnimateToolBox, static_cast<int>(Qt::UI_AnimateToolBox), 403},
    {sipName_UI_AnimateTooltip, static_cast<int>(Qt::UI_AnimateTooltip), 403},
    {sipName_UI_FadeMenu, static_cast<int>(Qt::UI_FadeMenu), 403},
    {sipName_UI_FadeTooltip, static_cast<int>(Qt::UI_FadeTooltip), 403},
    {sipName_UI_General, static_cast<int>(Qt::UI_General), 403},
    {sipName_UNICODE_ACCEL, static_cast<int>(Qt::UNICODE_ACCEL), 368},
    {sipName_UTC, static_cast<int>(Qt::UTC), 395},
    {sipName_Unchecked, static_cast<int>(Qt::Unchecked), 323},
    {sipName_UniqueConnection, static_cast<int>(Qt::UniqueConnection), 325},
    {sipName_UpArrow, static_cast<int>(Qt::UpArrow), 317},
    {sipName_UpArrowCursor, static_cast<int>(Qt::UpArrowCursor), 330},
    {sipName_UserRole, static_cast<int>(Qt::UserRole), 357},
    {sipName_VerPattern, static_cast<int>(Qt::VerPattern), 321},
    {sipName_Vertical, static_cast<int>(Qt::Vertical), 376},
    {sipName_VeryCoarseTimer, static_cast<int>(Qt::VeryCoarseTimer), 396},
    {sipName_VisualMoveStyle, static_cast<int>(Qt::VisualMoveStyle), 329},
    {sipName_WA_AcceptDrops, static_cast<int>(Qt::WA_AcceptDrops), 405},
    {sipName_WA_AcceptTouchEvents, static_cast<int>(Qt::WA_AcceptTouchEvents), 405},
    {sipName_WA_AlwaysShowToolTips, static_cast<int>(Qt::WA_AlwaysShowToolTips), 405},
    {sipName_WA_AlwaysStackOnTop, static_cast<int>(Qt::WA_AlwaysStackOnTop), 405},
    {sipName_WA_AttributeCount, static_cast<int>(Qt::WA_AttributeCount), 405},
    {sipName_WA_CustomWhatsThis, static_cast<int>(Qt::WA_CustomWhatsThis), 405},
    {sipName_WA_DeleteOnClose, static_cast<int>(Qt::WA_DeleteOnClose), 405},
    {sipName_WA_Disabled, static_cast<int>(Qt::WA_Disabled), 405},
    {sipName_WA_DontCreateNativeAncestors, static_cast<int>(Qt::WA_DontCreateNativeAncestors), 405},
    {sipName_WA_ForceDisabled, static_cast<int>(Qt::WA_ForceDisabled), 405},
    {sipName_WA_ForceUpdatesDisabled, static_cast<int>(Qt::WA_ForceUpdatesDisabled), 405},
    {sipName_WA_GrabbedShortcut, static_cast<int>(Qt::WA_GrabbedShortcut), 405},
    {sipName_WA_GroupLeader, static_cast<int>(Qt::WA_GroupLeader), 405},
    {sipName_WA_Hover, static_cast<int>(Qt::WA_Hover), 405},
    {sipName_WA_InputMethodEnabled, static_cast<int>(Qt::WA_InputMethodEnabled), 405},
    {sipName_WA_InputMethodTransparent, static_cast<int>(Qt::WA_InputMethodTransparent), 405},
    {sipName_WA_InvalidSize, static_cast<int>(Qt::WA_InvalidSize), 405},
    {sipName_WA_KeyCompression, static_cast<int>(Qt::WA_KeyCompression), 405},
    {sipName_WA_KeyboardFocusChange, static_cast<int>(Qt::WA_KeyboardFocusChange), 405},
    {sipName_WA_LaidOut, static_cast<int>(Qt::WA_LaidOut), 405},
    {sipName_WA_LayoutOnEntireRect, static_cast<int>(Qt::WA_LayoutOnEntireRect), 405},
    {sipName_WA_LayoutUsesWidgetRect, static_cast<int>(Qt::WA_LayoutUsesWidgetRect), 405},
    {sipName_WA_MSWindowsUseDirect3D, static_cast<int>(Qt::WA_MSWindowsUseDirect3D), 405},
    {sipName_WA_MacAlwaysShowToolWindow, static_cast<int>(Qt::WA_MacAlwaysShowToolWindow), 405},
    {sipName_WA_MacBrushedMetal, static_cast<int>(Qt::WA_MacBrushedMetal), 405},
    {sipName_WA_MacFrameworkScaled, static_cast<int>(Qt::WA_MacFrameworkScaled), 405},
    {sipName_WA_MacMetalStyle, static_cast<int>(Qt::WA_MacMetalStyle), 405},
    {sipName_WA_MacMiniSize, static_cast<int>(Qt::WA_MacMiniSize), 405},
    {sipName_WA_MacNoClickThrough, static_cast<int>(Qt::WA_MacNoClickThrough), 405},
    {sipName_WA_MacNoShadow, static_cast<int>(Qt::WA_MacNoShadow), 405},
    {sipName_WA_MacNormalSize, static_cast<int>(Qt::WA_MacNormalSize), 405},
    {sipName_WA_MacOpaqueSizeGrip, static_cast<int>(Qt::WA_MacOpaqueSizeGrip), 405},
    {sipName_WA_MacShowFocusRect, static_cast<int>(Qt::WA_MacShowFocusRect), 405},
    {sipName_WA_MacSmallSize, static_cast<int>(Qt::WA_MacSmallSize), 405},
    {sipName_WA_MacVariableSize, static_cast<int>(Qt::WA_MacVariableSize), 405},
    {sipName_WA_Mapped, static_cast<int>(Qt::WA_Mapped), 405},
    {sipName_WA_MouseNoMask, static_cast<int>(Qt::WA_MouseNoMask), 405},
    {sipName_WA_MouseTracking, static_cast<int>(Qt::WA_MouseTracking), 405},
    {sipName_WA_Moved, static_cast<int>(Qt::WA_Moved), 405},
    {sipName_WA_NativeWindow, static_cast<int>(Qt::WA_NativeWindow), 405},
    {sipName_WA_NoChildEventsForParent, static_cast<int>(Qt::WA_NoChildEventsForParent), 405},
    {sipName_WA_NoChildEventsFromChildren, static_cast<int>(Qt::WA_NoChildEventsFromChildren), 405},
    {sipName_WA_NoMousePropagation, static_cast<int>(Qt::WA_NoMousePropagation), 405},
    {sipName_WA_NoMouseReplay, static_cast<int>(Qt::WA_NoMouseReplay), 405},
    {sipName_WA_NoSystemBackground, static_cast<int>(Qt::WA_NoSystemBackground), 405},
    {sipName_WA_NoX11EventCompression, static_cast<int>(Qt::WA_NoX11EventCompression), 405},
    {sipName_WA_OpaquePaintEvent, static_cast<int>(Qt::WA_OpaquePaintEvent), 405},
    {sipName_WA_OutsideWSRange, static_cast<int>(Qt::WA_OutsideWSRange), 405},
    {sipName_WA_PaintOnScreen, static_cast<int>(Qt::WA_PaintOnScreen), 405},
    {sipName_WA_PaintUnclipped, static_cast<int>(Qt::WA_PaintUnclipped), 405},
    {sipName_WA_PendingMoveEvent, static_cast<int>(Qt::WA_PendingMoveEvent), 405},
    {sipName_WA_PendingResizeEvent, static_cast<int>(Qt::WA_PendingResizeEvent), 405},
    {sipName_WA_PendingUpdate, static_cast<int>(Qt::WA_PendingUpdate), 405},
    {sipName_WA_QuitOnClose, static_cast<int>(Qt::WA_QuitOnClose), 405},
    {sipName_WA_Resized, static_cast<int>(Qt::WA_Resized), 405},
    {sipName_WA_RightToLeft, static_cast<int>(Qt::WA_RightToLeft), 405},
    {sipName_WA_SetCursor, static_cast<int>(Qt::WA_SetCursor), 405},
    {sipName_WA_SetFont, static_cast<int>(Qt::WA_SetFont), 405},
    {sipName_WA_SetLayoutDirection, static_cast<int>(Qt::WA_SetLayoutDirection), 405},
    {sipName_WA_SetLocale, static_cast<int>(Qt::WA_SetLocale), 405},
    {sipName_WA_SetPalette, static_cast<int>(Qt::WA_SetPalette), 405},
    {sipName_WA_SetStyle, static_cast<int>(Qt::WA_SetStyle), 405},
    {sipName_WA_SetWindowIcon, static_cast<int>(Qt::WA_SetWindowIcon), 405},
    {sipName_WA_ShowWithoutActivating, static_cast<int>(Qt::WA_ShowWithoutActivating), 405},
    {sipName_WA_StaticContents, static_cast<int>(Qt::WA_StaticContents), 405},
    {sipName_WA_StyleSheet, static_cast<int>(Qt::WA_StyleSheet), 405},
    {sipName_WA_StyledBackground, static_cast<int>(Qt::WA_StyledBackground), 405},
    {sipName_WA_TintedBackground, static_cast<int>(Qt::WA_TintedBackground), 405},
    {sipName_WA_TouchPadAcceptSingleTouchEvents, static_cast<int>(Qt::WA_TouchPadAcceptSingleTouchEvents), 405},
    {sipName_WA_TranslucentBackground, static_cast<int>(Qt::WA_TranslucentBackground), 405},
    {sipName_WA_TransparentForMouseEvents, static_cast<int>(Qt::WA_TransparentForMouseEvents), 405},
    {sipName_WA_UnderMouse, static_cast<int>(Qt::WA_UnderMouse), 405},
    {sipName_WA_UpdatesDisabled, static_cast<int>(Qt::WA_UpdatesDisabled), 405},
    {sipName_WA_WState_CompressKeys, static_cast<int>(Qt::WA_WState_CompressKeys), 405},
    {sipName_WA_WState_ConfigPending, static_cast<int>(Qt::WA_WState_ConfigPending), 405},
    {sipName_WA_WState_Created, static_cast<int>(Qt::WA_WState_Created), 405},
    {sipName_WA_WState_ExplicitShowHide, static_cast<int>(Qt::WA_WState_ExplicitShowHide), 405},
    {sipName_WA_WState_Hidden, static_cast<int>(Qt::WA_WState_Hidden), 405},
    {sipName_WA_WState_InPaintEvent, static_cast<int>(Qt::WA_WState_InPaintEvent), 405},
    {sipName_WA_WState_OwnSizePolicy, static_cast<int>(Qt::WA_WState_OwnSizePolicy), 405},
    {sipName_WA_WState_Polished, static_cast<int>(Qt::WA_WState_Polished), 405},
    {sipName_WA_WState_Reparented, static_cast<int>(Qt::WA_WState_Reparented), 405},
    {sipName_WA_WState_Visible, static_cast<int>(Qt::WA_WState_Visible), 405},
    {sipName_WA_WindowModified, static_cast<int>(Qt::WA_WindowModified), 405},
    {sipName_WA_WindowPropagation, static_cast<int>(Qt::WA_WindowPropagation), 405},
    {sipName_WA_X11DoNotAcceptFocus, static_cast<int>(Qt::WA_X11DoNotAcceptFocus), 405},
    {sipName_WA_X11NetWmWindowTypeCombo, static_cast<int>(Qt::WA_X11NetWmWindowTypeCombo), 405},
    {sipName_WA_X11NetWmWindowTypeDND, static_cast<int>(Qt::WA_X11NetWmWindowTypeDND), 405},
    {sipName_WA_X11NetWmWindowTypeDesktop, static_cast<int>(Qt::WA_X11NetWmWindowTypeDesktop), 405},
    {sipName_WA_X11NetWmWindowTypeDialog, static_cast<int>(Qt::WA_X11NetWmWindowTypeDialog), 405},
    {sipName_WA_X11NetWmWindowTypeDock, static_cast<int>(Qt::WA_X11NetWmWindowTypeDock), 405},
    {sipName_WA_X11NetWmWindowTypeDropDownMenu, static_cast<int>(Qt::WA_X11NetWmWindowTypeDropDownMenu), 405},
    {sipName_WA_X11NetWmWindowTypeMenu, static_cast<int>(Qt::WA_X11NetWmWindowTypeMenu), 405},
    {sipName_WA_X11NetWmWindowTypeNotification, static_cast<int>(Qt::WA_X11NetWmWindowTypeNotification), 405},
    {sipName_WA_X11NetWmWindowTypePopupMenu, static_cast<int>(Qt::WA_X11NetWmWindowTypePopupMenu), 405},
    {sipName_WA_X11NetWmWindowTypeSplash, static_cast<int>(Qt::WA_X11NetWmWindowTypeSplash), 405},
    {sipName_WA_X11NetWmWindowTypeToolBar, static_cast<int>(Qt::WA_X11NetWmWindowTypeToolBar), 405},
    {sipName_WA_X11NetWmWindowTypeToolTip, static_cast<int>(Qt::WA_X11NetWmWindowTypeToolTip), 405},
    {sipName_WA_X11NetWmWindowTypeUtility, static_cast<int>(Qt::WA_X11NetWmWindowTypeUtility), 405},
    {sipName_WA_X11OpenGLOverlay, static_cast<int>(Qt::WA_X11OpenGLOverlay), 405},
    {sipName_WaitCursor, static_cast<int>(Qt::WaitCursor), 330},
    {sipName_Wednesday, static_cast<int>(Qt::Wednesday), 332},
    {sipName_WhatsThisCursor, static_cast<int>(Qt::WhatsThisCursor), 330},
    {sipName_WhatsThisRole, static_cast<int>(Qt::WhatsThisRole), 357},
    {sipName_WheelFocus, static_cast<int>(Qt::WheelFocus), 343},
    {sipName_WhiteSpaceModeUndefined, static_cast<int>(Qt::WhiteSpaceModeUndefined), 404},
    {sipName_WhiteSpaceNoWrap, static_cast<int>(Qt::WhiteSpaceNoWrap), 404},
    {sipName_WhiteSpaceNormal, static_cast<int>(Qt::WhiteSpaceNormal), 404},
    {sipName_WhiteSpacePre, static_cast<int>(Qt::WhiteSpacePre), 404},
    {sipName_Widget, static_cast<int>(Qt::Widget), 411},
    {sipName_WidgetShortcut, static_cast<int>(Qt::WidgetShortcut), 385},
    {sipName_WidgetWithChildrenShortcut, static_cast<int>(Qt::WidgetWithChildrenShortcut), 385},
    {sipName_WindingFill, static_cast<int>(Qt::WindingFill), 340},
    {sipName_Window, static_cast<int>(Qt::Window), 411},
    {sipName_WindowActive, static_cast<int>(Qt::WindowActive), 409},
    {sipName_WindowCancelButtonHint, static_cast<int>(Qt::WindowCancelButtonHint), 411},
    {sipName_WindowCloseButtonHint, static_cast<int>(Qt::WindowCloseButtonHint), 411},
    {sipName_WindowContextHelpButtonHint, static_cast<int>(Qt::WindowContextHelpButtonHint), 411},
    {sipName_WindowDoesNotAcceptFocus, static_cast<int>(Qt::WindowDoesNotAcceptFocus), 411},
    {sipName_WindowFullScreen, static_cast<int>(Qt::WindowFullScreen), 409},
    {sipName_WindowFullscreenButtonHint, static_cast<int>(Qt::WindowFullscreenButtonHint), 411},
    {sipName_WindowMaximizeButtonHint, static_cast<int>(Qt::WindowMaximizeButtonHint), 411},
    {sipName_WindowMaximized, static_cast<int>(Qt::WindowMaximized), 409},
    {sipName_WindowMinMaxButtonsHint, static_cast<int>(Qt::WindowMinMaxButtonsHint), 411},
    {sipName_WindowMinimizeButtonHint, static_cast<int>(Qt::WindowMinimizeButtonHint), 411},
    {sipName_WindowMinimized, static_cast<int>(Qt::WindowMinimized), 409},
    {sipName_WindowModal, static_cast<int>(Qt::WindowModal), 408},
    {sipName_WindowNoState, static_cast<int>(Qt::WindowNoState), 409},
    {sipName_WindowOkButtonHint, static_cast<int>(Qt::WindowOkButtonHint), 411},
    {sipName_WindowOverridesSystemGestures, static_cast<int>(Qt::WindowOverridesSystemGestures), 411},
    {sipName_WindowShadeButtonHint, static_cast<int>(Qt::WindowShadeButtonHint), 411},
    {sipName_WindowShortcut, static_cast<int>(Qt::WindowShortcut), 385},
    {sipName_WindowStaysOnBottomHint, static_cast<int>(Qt::WindowStaysOnBottomHint), 411},
    {sipName_WindowStaysOnTopHint, static_cast<int>(Qt::WindowStaysOnTopHint), 411},
    {sipName_WindowSystemMenuHint, static_cast<int>(Qt::WindowSystemMenuHint), 411},
    {sipName_WindowTitleHint, static_cast<int>(Qt::WindowTitleHint), 411},
    {sipName_WindowTransparentForInput, static_cast<int>(Qt::WindowTransparentForInput), 411},
    {sipName_WindowType_Mask, static_cast<int>(Qt::WindowType_Mask), 411},
    {sipName_X11BypassWindowManagerHint, static_cast<int>(Qt::X11BypassWindowManagerHint), 411},
    {sipName_XAxis, static_cast<int>(Qt::XAxis), 319},
    {sipName_XButton1, static_cast<int>(Qt::XButton1), 369},
    {sipName_XButton2, static_cast<int>(Qt::XButton2), 369},
    {sipName_YAxis, static_cast<int>(Qt::YAxis), 319},
    {sipName_ZAxis, static_cast<int>(Qt::ZAxis), 319},
    {sipName_ZoomNativeGesture, static_cast<int>(Qt::ZoomNativeGesture), 374},
    {sipName_black, static_cast<int>(Qt::black), 349},
    {sipName_blue, static_cast<int>(Qt::blue), 349},
    {sipName_color0, static_cast<int>(Qt::color0), 349},
    {sipName_color1, static_cast<int>(Qt::color1), 349},
    {sipName_cyan, static_cast<int>(Qt::cyan), 349},
    {sipName_darkBlue, static_cast<int>(Qt::darkBlue), 349},
    {sipName_darkCyan, static_cast<int>(Qt::darkCyan), 349},
    {sipName_darkGray, static_cast<int>(Qt::darkGray), 349},
    {sipName_darkGreen, static_cast<int>(Qt::darkGreen), 349},
    {sipName_darkMagenta, static_cast<int>(Qt::darkMagenta), 349},
    {sipName_darkRed, static_cast<int>(Qt::darkRed), 349},
    {sipName_darkYellow, static_cast<int>(Qt::darkYellow), 349},
    {sipName_gray, static_cast<int>(Qt::gray), 349},
    {sipName_green, static_cast<int>(Qt::green), 349},
    {sipName_lightGray, static_cast<int>(Qt::lightGray), 349},
    {sipName_magenta, static_cast<int>(Qt::magenta), 349},
    {sipName_red, static_cast<int>(Qt::red), 349},
    {sipName_transparent, static_cast<int>(Qt::transparent), 349},
    {sipName_white, static_cast<int>(Qt::white), 349},
    {sipName_yellow, static_cast<int>(Qt::yellow), 349},
};


pyqt5ClassTypeDef sipTypeDef_QtCore_Qt = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_NAMESPACE,
        sipNameNr_Qt,
        {0}
    },
    {
        sipNameNr_Qt,
        {0, 0, 1},
        0, 0,
        1078, 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
},
    0,
    0,
    0,
    0
};

#line 192 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 196214 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 196 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 196267 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 212 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
    return sipConvertFromVoidPtr((void *)*sipCpp);
#line 196278 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_quintptr = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_quintptr,
        {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 163 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 196309 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 167 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 196362 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 183 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtCore/qglobal.sip"
    return sipConvertFromVoidPtr((void *)*sipCpp);
#line 196373 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_qintptr = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_qintptr,
        {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
};
