/*
 * Module code.
 *
 * Generated by SIP 4.16.8
 *
 * Copyright (c) 2015 Riverbank Computing Limited <info@riverbankcomputing.com>
 * 
 * This file is part of PyQt4.
 * 
 * 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 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 35 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 38 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 41 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 86 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 49 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 52 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 55 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 58 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractfileengine.sip"
#include <qabstractfileengine.h>
#line 61 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 64 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 67 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 70 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 1362 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 73 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 401 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 76 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractfileengine.sip"
#include <qabstractfileengine.h>
#line 79 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 82 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 85 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 88 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 91 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 94 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 97 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 100 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 103 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 106 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 139 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmap.sip"
#include <qmap.h>
#line 109 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 112 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 305 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractfileengine.sip"
#include <qabstractfileengine.h>
#line 118 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 314 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 122 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsocketnotifier.sip"
#include <qsocketnotifier.h>
#line 125 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 128 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbitarray.sip"
#include <qbitarray.h>
#line 131 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 134 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 67 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 137 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 102 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 140 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 64 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#include <qglobal.h>
#line 143 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 146 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 149 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 152 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 155 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 158 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 161 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 164 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 167 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 170 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 173 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 176 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 179 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 182 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 78 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 185 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbasictimer.sip"
#include <qbasictimer.h>
#line 188 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearraymatcher.sip"
#include <qbytearraymatcher.h>
#line 191 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 116 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 194 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 197 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 245 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 200 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 203 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 206 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdiriterator.sip"
#include <qdiriterator.h>
#line 209 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qeasingcurve.sip"
#include <qeasingcurve.h>
#line 212 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qelapsedtimer.sip"
#include <qelapsedtimer.h>
#line 215 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 79 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfile.sip"
#include <qfile.h>
#line 218 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 79 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfile.sip"
#include <qfile.h>
#line 221 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlibrary.sip"
#include <qlibrary.h>
#line 224 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qline.sip"
#include <qline.h>
#line 227 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 108 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qline.sip"
#include <qline.h>
#line 230 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 233 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 236 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 239 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 173 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 242 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 204 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 245 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 254 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 248 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmetatype.sip"
#include <qmetatype.h>
#line 251 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 254 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 257 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 114 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 260 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 210 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qprocess.sip"
#include <qprocess.h>
#line 263 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 266 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 163 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 272 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 107 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 275 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 72 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 278 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 72 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 281 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 814 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 284 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 51 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 287 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringmatcher.sip"
#include <qstringmatcher.h>
#line 290 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextboundaryfinder.sip"
#include <qtextboundaryfinder.h>
#line 293 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextboundaryfinder.sip"
#include <qtextboundaryfinder.h>
#line 296 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 299 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 302 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 102 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 305 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 107 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/quuid.sip"
#include <quuid.h>
#line 308 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 311 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 53 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 314 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 252 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 317 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 275 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 320 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 298 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 323 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 323 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 326 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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', '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,
    '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', 'L', 'i', 's', 't', '<', 'Q', 'P', 'a', 'i', 'r', '<', 'Q', 'B', 'y', 't', 'e', 'A', 'r', 'r', 'a', 'y', ',', 'Q', 'B', 'y', 't', 'e', 'A', 'r', 'r', 'a', 'y', '>', ' ', '>', 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', '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', '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,
    'A', 'A', '_', 'S', '6', '0', 'D', 'i', 's', 'a', 'b', 'l', 'e', 'P', 'a', 'r', 't', 'i', 'a', 'l', 'S', 'c', 'r', 'e', 'e', 'n', 'I', 'n', 'p', 'u', 't', 'M', 'o', 'd', 'e', 0,
    'A', 'A', '_', 'S', '6', '0', 'D', 'o', 'n', 't', 'C', 'o', 'n', 's', 't', 'r', 'u', 'c', 't', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'P', 'a', 'n', 'e', 's', 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', '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,
    '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', '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,
    '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', '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,
    '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', '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,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'F', 'i', 'l', 'e', 'E', 'n', 'g', 'i', 'n', 'e', ':', ':', 'F', 'i', 'l', 'e', 'O', 'w', 'n', 'e', 'r', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'F', 'i', 'l', 'e', 'E', 'n', 'g', 'i', 'n', 'e', ':', ':', 'F', 'i', 'l', 'e', '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', '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', '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', 'F', 'i', 'l', 'e', 'E', 'n', 'g', 'i', 'n', 'e', ':', ':', 'F', 'i', 'l', 'e', 'T', 'i', 'm', 'e', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'F', 'i', 'l', 'e', 'E', 'n', 'g', 'i', 'n', 'e', ':', ':', 'F', 'i', 'l', 'e', 'N', 'a', 'm', 'e', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'F', 'i', 'l', 'e', 'E', 'n', 'g', 'i', 'n', 'e', ':', ':', 'F', 'i', 'l', 'e', 'F', 'l', 'a', 'g', 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,
    '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', ':', ':', 'R', 'e', 's', 't', 'o', 'r', 'e', 'P', 'o', 'l', 'i', 'c', 'y', 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', '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,
    'C', 'o', 'm', 'b', 'i', 'n', 'i', 'n', 'g', '_', 'A', 'b', 'o', 'v', 'e', 'R', 'i', 'g', 'h', 't', 'A', 't', 't', 'a', 'c', 'h', 'e', 'd', 0,
    'C', 'o', 'm', 'b', 'i', 'n', 'i', 'n', 'g', '_', 'B', 'e', 'l', 'o', 'w', 'R', 'i', 'g', 'h', 't', 'A', 't', 't', 'a', 'c', 'h', 'e', 'd', 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', '4', '.', '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,
    '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', '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,
    'C', 'o', 'm', 'b', 'i', 'n', 'i', 'n', 'g', '_', 'A', 'b', 'o', 'v', 'e', 'L', 'e', 'f', 't', 'A', 't', 't', 'a', 'c', 'h', 'e', 'd', 0,
    'C', 'o', 'm', 'b', 'i', 'n', 'i', 'n', 'g', '_', 'B', 'e', 'l', 'o', 'w', 'L', 'e', 'f', 't', 'A', 't', 't', 'a', 'c', 'h', 'e', 'd', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'F', 'i', 'l', 'e', 'E', 'n', 'g', 'i', 'n', 'e', 'I', 't', 'e', 'r', 'a', 't', 'o', 'r', 0,
    'W', 'A', '_', 'L', 'o', 'c', 'k', 'L', 'a', 'n', 'd', 's', 'c', 'a', 'p', 'e', 'O', 'r', 'i', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 0,
    'W', 'A', '_', 'M', 'e', 'r', 'g', 'e', 'S', 'o', 'f', 't', 'k', 'e', 'y', 's', 'R', 'e', 'c', 'u', 'r', 's', 'i', 'v', 'e', 'l', 'y', 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,
    'r', 'e', 'm', 'o', 'v', 'e', 'A', 'l', 'l', 'E', 'n', 'c', 'o', 'd', 'e', 'd', 'Q', 'u', 'e', 'r', 'y', 'I', 't', 'e', 'm', 's', 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', 'r', 'i', 'n', 'g', ':', ':', 'N', 'o', 'r', 'm', 'a', 'l', 'i', 'z', 'a', 't', 'i', 'o', 'n', 'F', 'o', 'r', 'm', 0,
    'S', 'e', 'c', 't', 'i', 'o', 'n', 'C', 'a', 's', 'e', 'I', 'n', 's', 'e', 'n', 's', 'i', 't', 'i', 'v', 'e', 'S', 'e', 'p', 's', 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,
    'S', 't', 'r', 'i', 'n', 'g', 'T', 'o', 'A', 'l', 't', 'e', 'r', 'n', 'a', 't', 'e', 'Q', 'u', 'o', 't', 'a', 't', 'i', 'o', 'n', 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', 'L', 'i', 's', 't', '<', 'Q', 'P', 'a', 'i', 'r', '<', 'q', 'r', 'e', 'a', 'l', ',', 'q', 'r', 'e', 'a', 'l', '>', ' ', '>', 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', 'C', 'o', 'r', 'e', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', ':', ':', 'E', 'n', 'c', 'o', 'd', 'i', 'n', 'g', 0,
    'O', 'b', 'j', 'e', 'c', 't', 'R', 'e', 'p', 'l', 'a', 'c', 'e', 'm', 'e', 'n', 't', 'C', 'h', 'a', 'r', 'a', 'c', 't', 'e', 'r', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'F', 'i', 'l', 'e', 'E', 'n', 'g', 'i', 'n', 'e', 'H', 'a', 'n', 'd', 'l', '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', '_', 'L', 'o', 'c', 'k', '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', '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,
    '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,
    '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,
    'a', 'l', 'l', 'E', 'n', 'c', 'o', 'd', 'e', 'd', 'Q', 'u', 'e', 'r', 'y', 'I', 't', 'e', 'm', 'V', 'a', 'l', 'u', 'e', 's', 0,
    'S', 'e', 'c', 't', 'i', 'o', 'n', 'I', 'n', 'c', 'l', 'u', 'd', 'e', 'T', 'r', 'a', 'i', 'l', 'i', 'n', 'g', 'S', 'e', 'p', 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,
    'S', 't', 'r', 'i', 'n', 'g', 'T', 'o', 'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'Q', 'u', 'o', 't', 'a', 't', 'i', 'o', 'n', 0,
    'S', '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,
    '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,
    '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,
    '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,
    '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,
    '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', 'A', '_', 'P', 'a', 'i', 'n', 't', 'O', 'u', 't', 's', 'i', 'd', 'e', 'P', 'a', 'i', 'n', 't', 'E', 'v', 'e', 'n', 't', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'S', 'o', 'f', 't', 'k', 'e', 'y', 's', 'R', 'e', 's', 'p', 'o', 'n', 'd', 'H', 'i', 'n', 't', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'S', 'o', 'f', 't', 'k', 'e', 'y', 's', 'V', 'i', 's', 'i', 'b', 'l', 'e', 'H', 'i', 'n', '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,
    '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', 'c', 't', 'i', 'o', 'n', 'I', 'n', 'c', 'l', 'u', 'd', 'e', 'L', 'e', 'a', 'd', 'i', 'n', 'g', 'S', 'e', 'p', 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', 'S', 'y', 's', 't', 'e', 'm', 'L', 'o', 'c', 'a', 'l', 'e', ':', ':', 'Q', 'u', 'e', 'r', 'y', 'T', 'y', 'p', 'e', 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', 'E', 'l', 'a', 'p', 's', 'e', 'd', 'T', 'i', 'm', 'e', 'r', ':', ':', 'C', 'l', 'o', 'c', 'k', 'T', 'y', 'p', 'e', 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', 'c', 'c', 'e', 's', 's', 'i', 'b', 'i', 'l', 'i', 't', 'y', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'i', 'o', 'n', 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,
    'P', 'u', 'n', 'c', 't', 'u', 'a', 't', 'i', 'o', 'n', '_', 'I', 'n', 'i', 't', 'i', 'a', 'l', 'Q', 'u', 'o', 't', 'e', 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,
    '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,
    'N', 'a', 'v', 'i', 'g', 'a', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 'C', 'u', 'r', 's', 'o', 'r', 'A', 'u', 't', 'o', 0,
    'Q', 't', ':', ':', 'T', 'e', 'x', 't', 'I', 'n', 't', 'e', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'F', 'l', 'a', 'g', 's', 0,
    'T', 'e', 'x', 't', 'S', 'e', 'l', 'e', 'c', 't', 'a', 'b', 'l', 'e', 'B', 'y', 'K', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 0,
    'C', 'o', 'n', 't', 'a', 'i', 'n', 's', 'I', 't', 'e', 'm', 'B', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'c', 't', 0,
    'A', 'A', '_', 'C', 'a', 'p', 't', 'u', 'r', 'e', 'M', 'u', 'l', 't', 'i', 'm', 'e', 'd', 'i', 'a', 'K', 'e', 'y', 's', 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', '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,
    '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,
    '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', 'i', 's', 't', '<', 'Q', 'L', 'o', 'c', 'a', 'l', 'e', ':', ':', 'C', 'o', 'u', 'n', 't', 'r', 'y', '>', 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,
    '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', 'm', 'b', 'i', 'n', 'i', 'n', 'g', '_', 'I', 'o', 't', 'a', 'S', 'u', 'b', 's', 'c', 'r', 'i', 'p', 't', 0,
    'C', 'o', 'm', 'b', 'i', 'n', 'i', 'n', 'g', '_', 'A', 'b', 'o', 'v', 'e', 'A', 't', 't', 'a', 'c', 'h', 'e', 'd', 0,
    'C', 'o', 'm', 'b', 'i', 'n', 'i', 'n', 'g', '_', 'R', 'i', 'g', 'h', 't', 'A', 't', 't', 'a', 'c', 'h', 'e', 'd', 0,
    'C', 'o', 'm', 'b', 'i', 'n', 'i', 'n', 'g', '_', 'B', 'e', 'l', 'o', 'w', 'A', 't', 't', 'a', 'c', 'h', 'e', 'd', 0,
    'Q', 'C', 'h', 'a', 'r', ':', ':', 'S', 'p', 'e', 'c', 'i', 'a', 'l', 'C', 'h', 'a', 'r', 'a', 'c', 't', 'e', 'r', 0,
    's', 'e', 't', 'S', 'u', 'p', 'p', 'o', 'r', 't', 'e', 'd', 'D', 'r', 'a', 'g', 'A', 'c', 't', 'i', 'o', 'n', '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,
    '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,
    '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,
    'r', 'e', 'm', 'o', 'v', 'e', 'E', 'n', 'c', 'o', 'd', 'e', 'd', 'Q', 'u', 'e', 'r', 'y', 'I', 't', 'e', 'm', 0,
    'Q', 'U', 'r', 'l', ':', ':', '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', '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,
    'Q', 'S', 't', 'r', 'i', 'n', 'g', ':', ':', 'S', 'p', 'l', 'i', 't', 'B', 'e', 'h', 'a', 'v', 'i', 'o', 'r', 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,
    '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,
    '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', 'L', 'o', 'c', 'a', 'l', 'e', ':', ':', 'N', 'u', 'm', 'b', 'e', 'r', 'O', 'p', 't', 'i', 'o', 'n', '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,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'P', 'a', 'i', 'r', '<', 'i', 'n', 't', ',', 'i', 'n', 't', '>', ' ', '>', 0,
    'Q', 'F', 'i', 'l', 'e', ':', ':', 'F', 'i', 'l', 'e', 'H', 'a', 'n', 'd', 'l', 'e', 'F', 'l', 'a', 'g', 's', 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,
    '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,
    'C', 'o', 'm', 'b', 'i', 'n', 'i', 'n', 'g', '_', 'L', 'e', 'f', 't', 'A', 't', 't', 'a', 'c', 'h', 'e', 'd', 0,
    'P', 'u', 'n', 'c', 't', 'u', 'a', 't', 'i', 'o', 'n', '_', 'F', 'i', 'n', 'a', 'l', 'Q', 'u', 'o', 't', '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,
    '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,
    '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,
    '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,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'V', 'a', 'r', 'i', 'a', 'n', 't', ':', ':', 'T', 'y', 'p', 'e', '>', 0,
    'e', 'n', 'c', 'o', 'd', 'e', 'd', 'Q', 'u', 'e', 'r', 'y', 'I', 't', 'e', 'm', 'V', 'a', 'l', 'u', 'e', 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,
    'Q', 'S', 't', 'r', 'i', 'n', 'g', ':', ':', 'S', 'e', 'c', 't', 'i', 'o', 'n', 'F', 'l', 'a', 'g', 's', 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', 'o', 'c', 'k', 'e', 't', 'N', 'o', 't', 'i', 'f', 'i', 'e', 'r', ':', ':', 'T', 'y', 'p', 'e', 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,
    '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,
    'L', 'i', 's', 't', 'T', 'o', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'e', 'd', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'D', 'a', 't', 'e', 'T', 'i', 'm', 'e', 'T', 'o', 'S', 't', 'r', 'i', 'n', 'g', 'S', 'h', 'o', 'r', '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,
    'Q', 'F', 'i', 'l', 'e', ':', ':', 'F', 'i', 'l', 'e', 'H', 'a', 'n', 'd', 'l', 'e', 'F', 'l', 'a', 'g', 0,
    'Q', 'F', 'i', 'l', 'e', ':', ':', 'M', 'e', 'm', 'o', 'r', 'y', 'M', 'a', 'p', 'F', 'l', 'a', 'g', 's', 0,
    'n', 'a', 'm', 'e', 'F', 'i', 'l', 't', 'e', 'r', 's', 'F', 'r', 'o', 'm', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'a', 'd', 'd', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 'S', 'e', 'a', 'r', 'c', 'h', 'P', 'a', 't', 'h', 0,
    'D', 'y', 'n', 'a', 'm', 'i', 'c', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'y', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'D', 'r', 'a', 'g', 'M', 'o', 'v', 'e', 0,
    'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'D', 'e', 'a', 'c', 't', 'i', 'v', 'a', 't', 'e', 0,
    'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'F', 'o', 'n', 't', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    's', 'e', 't', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    's', 'e', 't', 'O', 'r', 'g', 'a', 'n', 'i', 'z', 'a', 't', 'i', 'o', 'n', 'D', 'o', 'm', 'a', 'i', 'n', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'U', 'n', 'i', 'c', 'o', 'd', 'e', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'C', 'h', 'a', 'r', ':', ':', 'U', 'n', 'i', 'c', 'o', 'd', 'e', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'C', 'o', 'm', 'b', 'i', 'n', 'i', 'n', 'g', '_', 'D', 'o', 'u', 'b', 'l', 'e', 'A', 'b', 'o', 'v', 'e', 0,
    'C', 'o', 'm', 'b', 'i', 'n', 'i', 'n', 'g', '_', 'D', 'o', 'u', 'b', 'l', 'e', 'B', 'e', 'l', 'o', 'w', 0,
    'Q', 'C', 'h', 'a', 'r', ':', ':', 'C', 'o', 'm', 'b', 'i', 'n', 'i', 'n', 'g', 'C', 'l', 'a', 's', 's', 0,
    'P', 'u', 'n', 'c', 't', 'u', 'a', 't', 'i', 'o', 'n', '_', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'o', 'r', 0,
    'M', 'a', 'r', 'k', '_', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 'C', 'o', 'm', 'b', 'i', 'n', 'i', 'n', 'g', 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,
    '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,
    '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,
    's', 'e', 't', 'E', 'n', 'c', 'o', 'd', 'e', 'd', 'Q', 'u', 'e', 'r', 'y', 'I', 't', 'e', 'm', '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,
    'N', 'o', 'r', 'm', 'a', 'l', 'i', 'z', 'a', 't', 'i', 'o', 'n', 'F', 'o', 'r', 'm', '_', 'K', 'C', 0,
    'N', 'o', 'r', 'm', 'a', 'l', 'i', 'z', 'a', 't', 'i', 'o', 'n', 'F', 'o', 'r', 'm', '_', 'K', 'D', 0,
    'Q', 'S', 't', 'r', 'i', 'n', 'g', ':', ':', 'S', 'e', 'c', 't', 'i', 'o', 'n', 'F', 'l', 'a', 'g', 0,
    'Q', 'S', 't', 'a', 't', 'e', 'M', 'a', 'c', 'h', 'i', 'n', 'e', ':', ':', 'E', 'r', 'r', 'o', 'r', 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,
    'D', 'a', 't', 'e', 'T', 'i', 'm', 'e', 'T', 'o', 'S', 't', 'r', 'i', 'n', 'g', 'L', 'o', 'n', 'g', 0,
    'T', 'r', 'a', 'd', 'i', 't', 'i', 'o', 'n', 'a', 'l', 'H', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'c', 'o', 'u', 'n', 't', 'r', 'i', 'e', 's', 'F', 'o', 'r', 'L', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 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,
    'P', 'a', 'l', 'e', 's', 't', 'i', 'n', 'i', 'a', 'n', 'T', 'e', 'r', 'r', 'i', 't', 'o', 'r', 'y', 0,
    'L', 'i', 'b', 'y', 'a', 'n', 'A', 'r', 'a', 'b', 'J', 'a', 'm', 'a', 'h', 'i', 'r', 'i', 'y', 'a', 0,
    'B', 'o', 's', 'n', 'i', 'a', 'A', 'n', 'd', 'H', 'e', 'r', 'z', 'e', 'g', 'o', 'w', 'i', 'n', 'a', 0,
    'f', 'r', 'o', 'm', 'N', 'a', 't', 'i', 'v', 'e', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 's', 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,
    'A', 'c', 'c', 'e', 's', 's', 'i', 'b', 'i', 'l', 'i', 't', 'y', 'P', 'r', 'e', 'p', 'a', 'r', 'e', 0,
    'p', 'y', 'q', 't', 'R', 'e', 's', 't', 'o', 'r', 'e', 'I', 'n', 'p', 'u', 't', 'H', 'o', 'o', 'k', 0,
    'C', 'o', 'm', 'b', 'i', 'n', 'i', 'n', 'g', '_', 'A', 'b', 'o', 'v', 'e', 'R', 'i', 'g', 'h', 't', 0,
    'C', 'o', 'm', 'b', 'i', 'n', 'i', 'n', 'g', '_', 'B', 'e', 'l', 'o', 'w', 'R', 'i', 'g', 'h', 't', 0,
    'Q', 'C', 'h', 'a', 'r', ':', ':', 'D', 'e', 'c', 'o', 'm', 'p', 'o', 's', 'i', 't', 'i', 'o', 'n', 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', ':', ':', '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,
    '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,
    'A', 'u', 't', 'o', 'C', 'o', 'm', 'p', 'a', 't', 'C', 'o', 'n', 'n', 'e', 'c', '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,
    '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,
    'h', 'a', 's', 'E', 'n', 'c', 'o', 'd', 'e', 'd', 'Q', 'u', 'e', 'r', 'y', 'I', 't', 'e', 'm', 0,
    'a', 'd', 'd', 'E', 'n', 'c', 'o', 'd', 'e', 'd', 'Q', 'u', 'e', 'r', 'y', 'I', 't', 'e', 'm', 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,
    '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,
    's', 'e', 't', 'C', 'o', 'd', 'e', 'c', 'F', 'o', 'r', 'C', 'S', 't', 'r', 'i', 'n', 'g', 's', 0,
    'Q', 'T', 'e', 'x', 't', 'B', 'o', 'u', 'n', 'd', 'a', 'r', 'y', 'F', 'i', 'n', 'd', 'e', 'r', 0,
    'N', 'o', 'r', 'm', 'a', 'l', 'i', 'z', 'a', 't', 'i', 'o', 'n', 'F', 'o', 'r', 'm', '_', 'C', 0,
    'N', 'o', 'r', 'm', 'a', 'l', 'i', 'z', 'a', 't', 'i', 'o', 'n', 'F', 'o', 'r', 'm', '_', 'D', 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,
    's', 'e', 't', 'F', 'a', 'l', 'l', 'b', 'a', 'c', 'k', 's', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'Q', 'P', 'r', 'o', 'c', 'e', 's', 's', 'E', 'n', 'v', 'i', 'r', 'o', 'n', 'm', 'e', 'n', 't', 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', 'M', 'e', 't', 'h', 'o', 'd', ':', ':', 'A', 'c', 'c', 'e', 's', 's', 0,
    'D', 'a', 't', 'e', 'T', 'i', 'm', 'e', 'F', 'o', 'r', 'm', 'a', 't', 'S', 'h', 'o', 'r', 't', 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,
    'S', 'e', 'r', 'b', 'i', 'a', 'A', 'n', 'd', 'M', 'o', 'n', 't', 'e', 'n', 'e', 'g', 'r', 'o', 0,
    'S', 't', 'P', 'i', 'e', 'r', 'r', 'e', 'A', 'n', 'd', 'M', 'i', 'q', 'u', 'e', 'l', 'o', 'n', 0,
    'N', 'e', 't', 'h', 'e', 'r', 'l', 'a', 'n', 'd', 's', 'A', 'n', 't', 'i', 'l', 'l', 'e', 's', 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,
    '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,
    '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,
    'C', 'o', 'm', 'b', 'i', 'n', 'i', 'n', 'g', '_', 'A', 'b', 'o', 'v', 'e', 'L', 'e', 'f', 't', 0,
    'C', 'o', 'm', 'b', 'i', 'n', 'i', 'n', 'g', '_', 'B', 'e', 'l', 'o', 'w', 'L', 'e', 'f', 't', 0,
    'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', '_', 'P', 'a', 'r', 'a', 'g', 'r', 'a', 'p', 'h', 0,
    'N', 'u', 'm', 'b', 'e', 'r', '_', 'D', 'e', 'c', 'i', 'm', 'a', 'l', 'D', 'i', 'g', 'i', 't', 0,
    'f', 'r', 'o', 'm', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'E', 'n', 'c', 'o', 'd', 'i', 'n', 'g', 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', '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', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'F', 'i', 'l', 'e', 'E', 'n', 'g', 'i', 'n', 'e', 0,
    'Q', 'S', 'e', 't', '<', 'Q', 't', ':', ':', 'D', 'a', 'y', 'O', 'f', 'W', 'e', 'e', 'k', '>', 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,
    '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', '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', 'n', 'c', 'h', 'o', 'r', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 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', '_', '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,
    's', 'e', 't', 'E', 'n', 'c', 'o', 'd', 'e', 'd', 'F', 'r', 'a', 'g', 'm', 'e', 'n', 't', 0,
    's', 'e', 't', 'E', 'n', 'c', 'o', 'd', 'e', 'd', 'P', 'a', 's', 's', 'w', 'o', 'r', 'd', 0,
    's', 'e', 't', 'E', 'n', 'c', 'o', 'd', 'e', 'd', 'U', 's', 'e', 'r', 'N', 'a', 'm', 'e', 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,
    '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,
    'l', 'o', 'c', 'a', 'l', 'e', 'A', 'w', 'a', 'r', 'e', 'C', 'o', 'm', 'p', 'a', 'r', 'e', 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,
    'u', 'n', 'r', 'e', 'g', 'i', 's', 't', 'e', 'r', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 0,
    's', 'e', 't', 'C', 'a', 's', 'e', 'S', 'e', 'n', 's', 'i', 't', 'i', 'v', 'i', 't', 'y', 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,
    's', 'e', 't', 'R', 'e', 'a', 'd', '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,
    'N', 'a', 't', 'i', 'v', 'e', 'L', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 'N', 'a', 'm', 'e', 0,
    'D', 'a', 't', 'e', 'T', 'i', 'm', 'e', 'F', 'o', 'r', 'm', 'a', 't', 'L', 'o', 'n', 'g', 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,
    'M', 'e', 't', 'r', 'o', 'p', 'o', 'l', 'i', 't', 'a', 'n', 'F', 'r', 'a', 'n', 'c', 'e', 0,
    'Q', 'L', 'i', 'b', 'r', 'a', 'r', 'y', ':', ':', 'L', 'o', 'a', 'd', 'H', 'i', 'n', 't', 0,
    's', 'e', 't', 'T', 'e', 'x', 't', 'M', 'o', 'd', 'e', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'Q', 'F', 'i', 'l', 'e', 'S', 'y', 's', 't', 'e', 'm', 'W', 'a', 't', 'c', 'h', 'e', 'r', 0,
    'Q', 'F', 'i', 'l', 'e', ':', ':', 'P', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', 's', 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,
    '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,
    '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,
    'r', 'e', 'q', 'u', 'i', 'r', 'e', 's', 'S', 'u', 'r', 'r', 'o', 'g', 'a', 't', 'e', 's', 0,
    'U', 'n', 'i', 'c', 'o', 'd', 'e', '_', 'U', 'n', 'a', 's', 's', 'i', 'g', 'n', 'e', 'd', 0,
    'P', 'a', 'r', 'a', 'g', 'r', 'a', 'p', 'h', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 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,
    '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,
    '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', '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', '_', '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', '_', 'A', 'u', 't', 'o', 'O', 'r', 'i', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 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', 'I', 'n', 's', 't', 'a', 'l', 'l', 'M', 's', 'g', 'H', 'a', 'n', 'd', 'l', 'e', 'r', 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,
    'e', 'n', 'c', 'o', 'd', 'e', 'd', 'Q', 'u', 'e', 'r', 'y', 'I', 't', 'e', 'm', 's', 0,
    'Q', 'U', 'r', 'l', ':', ':', 'P', 'a', 'r', 's', 'i', 'n', 'g', 'M', 'o', 'd', 'e', 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,
    'Q', 'S', 't', 'a', 't', 'e', ':', ':', 'C', 'h', 'i', 'l', 'd', 'M', 'o', 'd', 'e', 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,
    '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,
    's', 'e', 'n', 'd', 'e', 'r', 'S', 'i', 'g', 'n', 'a', 'l', 'I', 'n', 'd', 'e', 'x', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'E', 'v', 'e', 'n', 't', 'F', 'i', 'l', 't', 'e', 'r', 0,
    'n', 'o', 't', 'i', 'f', 'y', 'S', 'i', 'g', 'n', 'a', 'l', 'I', 'n', 'd', 'e', 'x', 0,
    'N', 'a', 't', 'i', 'v', 'e', 'C', 'o', 'u', 'n', 't', 'r', 'y', 'N', 'a', 'm', 'e', 0,
    'D', 'a', 't', 'e', 'T', 'o', 'S', 't', 'r', 'i', 'n', 'g', 'S', 'h', 'o', 'r', 't', 0,
    'n', 'a', 't', 'i', 'v', 'e', 'C', 'o', 'u', 'n', 't', 'r', 'y', 'N', 'a', 'm', 'e', 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,
    'i', 's', 'T', 'e', 'x', 't', 'M', 'o', 'd', 'e', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'c', 'a', 'n', 'o', 'n', 'i', 'c', 'a', 'l', 'F', 'i', 'l', 'e', 'P', 'a', 't', 'h', 0,
    'Q', 'F', 'i', 'l', 'e', ':', ':', 'P', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', 0,
    'W', 'a', 'i', 't', 'F', 'o', 'r', 'M', 'o', 'r', 'e', 'E', 'v', 'e', 'n', 't', 's', 0,
    'c', 'o', 'n', 'v', 'e', 'r', 't', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 's', 0,
    't', 'o', 'M', 'S', 'e', 'c', 's', 'S', 'i', 'n', 'c', 'e', 'E', 'p', 'o', 'c', 'h', 0,
    'j', 'u', 'l', 'i', 'a', 'n', 'T', 'o', 'G', 'r', 'e', 'g', 'o', 'r', 'i', 'a', 'n', 0,
    'g', 'r', 'e', 'g', 'o', 'r', 'i', 'a', 'n', 'T', 'o', 'J', 'u', 'l', 'i', 'a', 'n', 0,
    'w', 'r', 'i', 't', 'e', 'Q', 'V', 'a', 'r', 'i', 'a', 'n', 't', 'H', 'a', 's', 'h', 0,
    'w', 'r', 'i', 't', 'e', 'Q', 'V', 'a', 'r', 'i', 'a', 'n', 't', 'L', 'i', 's', 't', 0,
    'r', 'e', 'g', 'i', 's', 't', 'e', 'r', 'E', 'v', 'e', 'n', 't', 'T', 'y', 'p', 'e', 0,
    '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,
    'A', 'c', 'c', 'e', 's', 's', 'i', 'b', 'i', 'l', 'i', 't', 'y', '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', '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,
    'P', 'u', 'n', 'c', 't', 'u', 'a', 't', 'i', 'o', 'n', '_', 'O', 't', 'h', 'e', 'r', 0,
    'P', 'u', 'n', 'c', 't', 'u', 'a', 't', 'i', 'o', 'n', '_', 'C', 'l', 'o', 's', 'e', 0,
    'O', 't', 'h', 'e', 'r', '_', 'N', 'o', 't', 'A', 's', 's', 'i', 'g', 'n', 'e', 'd', 0,
    'Q', 'B', 'y', 't', 'e', 'A', 'r', 'r', 'a', 'y', 'M', 'a', 't', 'c', 'h', 'e', 'r', 0,
    't', 'o', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'E', 'n', 'c', 'o', 'd', 'i', 'n', 'g', 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,
    'C', 'a', 'n', 'o', 'n', 'i', 'c', 'a', 'l', 'P', 'a', 't', 'h', 'N', 'a', 'm', 'e', 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,
    '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', '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', '_', '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', 'F', 'i', 'l', 'e', 'I', 'n', 'f', 'o', '>', 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,
    's', 'e', 'a', 'r', 'c', 'h', 'D', 'e', 'l', 'i', 'm', 'i', 't', 'e', 'r', 's', 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', 'd', 'e', 'c', 'F', 'o', 'r', 'C', 'S', 't', 'r', 'i', 'n', 'g', 's', 0,
    'c', 'o', 'n', 'v', 'e', 'r', 't', 'T', 'o', 'U', 'n', 'i', 'c', 'o', 'd', 'e', 0,
    'Q', 'S', 'y', 's', 't', 'e', 'm', 'S', 'e', 'm', 'a', 'p', 'h', 'o', 'r', 'e', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'D', 'u', 'p', 'l', 'i', 'c', 'a', 't', 'e', 's', 0,
    'r', 'e', 'p', 'l', 'a', 'c', 'e', 'I', 'n', 'S', 't', 'r', 'i', 'n', 'g', 's', 0,
    'S', 'e', 'c', 't', 'i', 'o', 'n', 'S', 'k', 'i', 'p', 'E', 'm', 'p', 't', 'y', 0,
    'p', 'o', 's', 't', 'D', 'e', 'l', 'a', 'y', 'e', 'd', 'E', 'v', 'e', 'n', 't', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'T', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', 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,
    's', 'e', 't', 'S', 'y', 's', 't', 'e', 'm', 'I', 'n', 'i', 'P', 'a', 't', 'h', 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,
    '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', 'P', 'a', 'i', 'r', '<', 'u', 'i', 'n', 't', ',', 'u', 'i', 'n', 't', '>', 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,
    'C', 'u', 'r', 'r', 'e', 'n', 'c', 'y', 'T', 'o', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'D', 'a', 't', 'e', 'T', 'o', 'S', 't', 'r', 'i', 'n', 'g', 'L', 'o', 'n', 'g', 0,
    't', 'o', 'C', 'u', 'r', 'r', 'e', 'n', 'c', 'y', 'S', 't', 'r', 'i', 'n', 'g', 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,
    '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,
    'B', 'r', 'u', 'n', 'e', 'i', 'D', 'a', 'r', 'u', 's', 's', 'a', 'l', 'a', 'm', 0,
    'Q', 'L', 'o', 'c', 'a', 'l', 'e', ':', ':', 'C', 'o', 'u', 'n', 't', 'r', 'y', 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,
    '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,
    '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', 'F', 'i', 'l', 'e', ':', ':', 'F', 'i', 'l', 'e', 'E', 'r', 'r', 'o', 'r', 0,
    'Q', 'E', 'v', 'e', 'n', 't', 'T', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', 0,
    'D', 'e', 'f', 'e', 'r', 'r', 'e', 'd', 'D', 'e', 'l', 'e', 't', 'i', 'o', 'n', 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', '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,
    '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,
    'i', 's', 'L', 'e', 't', 't', 'e', 'r', 'O', 'r', 'N', 'u', 'm', 'b', 'e', 'r', 0,
    'd', 'e', 'c', 'o', 'm', 'p', 'o', 's', 'i', 't', 'i', 'o', 'n', 'T', 'a', 'g', 0,
    'Q', 'C', 'h', 'a', 'r', ':', ':', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'P', 'u', 'n', 'c', 't', 'u', 'a', 't', 'i', 'o', 'n', '_', 'O', 'p', 'e', 'n', 0,
    'P', 'u', 'n', 'c', 't', 'u', 'a', 't', 'i', 'o', 'n', '_', 'D', 'a', 's', 'k', 0,
    'P', 'u', 'n', 'c', 't', 'u', 'a', 't', 'i', 'o', 'n', '_', 'D', 'a', 's', 'h', 0,
    'L', 'e', 't', 't', 'e', 'r', '_', 'T', 'i', 't', 'l', 'e', 'c', 'a', 's', 'e', 0,
    'L', 'e', 't', 't', 'e', 'r', '_', 'L', 'o', 'w', 'e', 'r', 'c', 'a', 's', 'e', 0,
    'L', 'e', 't', 't', 'e', 'r', '_', 'U', 'p', 'p', 'e', 'r', 'c', 'a', 's', 'e', 0,
    'O', 't', 'h', 'e', 'r', '_', 'P', 'r', 'i', 'v', 'a', 't', 'e', 'U', 's', 'e', 0,
    'B', 'y', 't', 'e', 'O', 'r', 'd', 'e', 'r', 'S', 'w', 'a', 'p', 'p', 'e', 'd', 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,
    'M', 'o', 'd', 'i', 'f', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'T', 'i', 'm', 'e', 0,
    'A', 'b', 's', 'o', 'l', 'u', 't', 'e', 'P', 'a', 't', 'h', 'N', 'a', 'm', 'e', 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,
    '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', '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', 'e', 'r', 'g', 'e', 'S', 'o', 'f', 't', 'k', 'e', 'y', 's', 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,
    'Q', 'S', 'y', 's', 'I', 'n', 'f', 'o', ':', ':', 'E', 'n', 'd', 'i', 'a', 'n', 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,
    '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,
    'e', 'n', 'c', 'o', 'd', 'e', 'd', 'F', 'r', 'a', 'g', 'm', 'e', 'n', 't', 0,
    'e', 'n', 'c', 'o', 'd', 'e', 'd', 'P', 'a', 's', 's', 'w', 'o', 'r', 'd', 0,
    'e', 'n', 'c', 'o', 'd', 'e', 'd', 'U', 's', 'e', 'r', 'N', 'a', 'm', 'e', 0,
    's', 'e', 't', 'I', 'd', 'n', 'W', 'h', 'i', 't', 'e', 'l', 'i', 's', 't', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'Q', 'u', 'e', 'r', 'y', 'I', 't', 'e', 'm', 0,
    's', 'e', 't', 'E', 'n', 'c', 'o', 'd', 'e', 'd', 'Q', 'u', 'e', 'r', 'y', 0,
    'R', 'e', 'm', 'o', 'v', 'e', 'A', 'u', 't', 'h', 'o', 'r', 'i', 't', 'y', 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,
    'c', 'r', 'e', 'a', 't', 'e', 'L', 'o', 'c', 'a', 'l', 'F', 'i', 'l', 'e', 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,
    '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,
    'c', 'a', 's', 'e', 'S', 'e', 'n', 's', 'i', 't', 'i', 'v', 'i', 't', 'y', 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,
    'r', 'e', 'a', 'd', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 'M', 'o', 'd', 'e', 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,
    '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,
    'D', 'a', 't', 'e', 'F', 'o', 'r', 'm', 'a', 't', 'S', 'h', 'o', 'r', 't', 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,
    '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,
    'S', 'a', 'i', 'n', 't', 'B', 'a', 'r', 't', 'h', 'e', 'l', 'e', 'm', 'y', 0,
    'U', 'S', 'V', 'i', 'r', 'g', 'i', 'n', 'I', 's', 'l', 'a', 'n', 'd', 's', 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,
    'N', 'o', 'r', 'w', 'e', 'g', 'i', 'a', 'n', 'B', 'o', 'k', 'm', 'a', 'l', 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,
    '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,
    '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', 'u', 'r', 'r', 'o', 'g', 'a', 't', 'e', 'T', 'o', 'U', 'c', 's', '4', 0,
    'i', 's', 'H', 'i', 'g', 'h', 'S', 'u', 'r', 'r', 'o', 'g', 'a', 't', 'e', 0,
    'C', 'o', 'm', 'b', 'i', 'n', 'i', 'n', 'g', '_', 'A', 'b', 'o', 'v', 'e', 0,
    'C', 'o', 'm', 'b', 'i', 'n', 'i', 'n', 'g', '_', 'R', 'i', 'g', 'h', 't', 0,
    'C', 'o', 'm', 'b', 'i', 'n', 'i', 'n', 'g', '_', 'B', 'e', 'l', 'o', 'w', 0,
    'N', 'o', 'D', 'e', 'c', 'o', 'm', 'p', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'S', 'y', 'm', 'b', 'o', 'l', '_', 'M', 'o', 'd', 'i', 'f', 'i', 'e', 'r', 0,
    'S', 'y', 'm', 'b', 'o', 'l', '_', 'C', 'u', 'r', 'r', 'e', 'n', 'c', 'y', 0,
    'L', 'e', 't', 't', 'e', 'r', '_', 'M', 'o', 'd', 'i', 'f', 'i', 'e', 'r', 0,
    'O', 't', 'h', 'e', 'r', '_', 'S', 'u', 'r', 'r', 'o', 'g', 'a', 't', 'e', 0,
    'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', '_', 'S', 'p', 'a', 'c', 'e', 0,
    'M', 'a', 'r', 'k', '_', 'N', 'o', 'n', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    'Q', 'C', 'h', 'a', 'r', ':', ':', 'C', 'a', 't', 'e', 'g', 'o', 'r', '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,
    '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,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'F', 'i', 'l', 'e', 'P', 'a', 't', 'h', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'F', 'i', 'l', 'e', 'I', 'n', 'f', 'o', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'F', 'i', 'l', 'e', 'N', 'a', 'm', 'e', 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,
    '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,
    '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', '_', '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', 'S', 'y', 's', 'I', 'n', 'f', 'o', ':', ':', 'S', 'i', 'z', 'e', 's', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'L', 'o', 'c', 'a', 'l', 'e', '>', 0,
    'Q', 'P', 'y', 'N', 'u', 'l', 'l', 'V', 'a', 'r', 'i', 'a', 'n', 't', 0,
    'w', 'r', 'i', 't', 'e', 'N', 'a', 'm', 'e', 's', 'p', 'a', 'c', 'e', 0,
    'w', 'r', 'i', 't', 'e', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    'a', 'u', 't', 'o', 'F', 'o', 'r', 'm', 'a', 't', 't', 'i', 'n', 'g', 0,
    'e', 'n', 't', 'i', 't', 'y', 'R', 'e', 's', 'o', 'l', 'v', 'e', 'r', 0,
    'i', 's', 'S', 't', 'a', 'r', 't', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    'Q', 'W', 'a', 'i', 't', 'C', 'o', 'n', 'd', 'i', 't', 'i', 'o', 'n', 0,
    'Q', 'V', 'e', 'c', 't', 'o', 'r', '<', 'q', 'r', 'e', 'a', 'l', '>', 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,
    't', 'o', 'p', 'L', 'e', 'v', 'e', 'l', 'D', 'o', 'm', 'a', 'i', 'n', 0,
    's', 'e', 't', 'E', 'n', 'c', 'o', 'd', 'e', 'd', 'P', 'a', 't', 'h', 0,
    's', 'e', 't', 'E', 'n', 'c', 'o', 'd', 'e', 'd', 'H', 'o', 's', 't', 0,
    'q', 'u', 'e', 'r', 'y', 'I', 't', 'e', 'm', 'V', 'a', 'l', 'u', 'e', 0,
    'R', 'e', 'm', 'o', 'v', 'e', 'F', 'r', 'a', 'g', 'm', 'e', 'n', 't', 0,
    'R', 'e', 'm', 'o', 'v', 'e', 'U', 's', 'e', 'r', 'I', 'n', 'f', 'o', 0,
    'R', 'e', 'm', 'o', 'v', 'e', 'P', 'a', 's', 's', 'w', 'o', 'r', 'd', 0,
    's', '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,
    'Q', 'T', 'e', 'm', 'p', 'o', 'r', 'a', 'r', 'y', 'F', 'i', 'l', 'e', 0,
    'Q', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', 'e', 'r', 0,
    'S', 'k', 'i', 'p', 'E', 'm', 'p', 't', 'y', 'P', 'a', 'r', 't', 's', 0,
    'K', 'e', 'e', 'p', 'E', 'm', 'p', 't', 'y', 'P', 'a', 'r', 't', 's', 0,
    'S', 'e', 'c', 't', 'i', 'o', 'n', 'D', 'e', 'f', 'a', 'u', 'l', 't', 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,
    '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,
    's', 'e', 't', 'U', 's', 'e', 'r', 'I', 'n', 'i', 'P', 'a', 't', 'h', 0,
    'b', 'e', 'g', 'i', 'n', 'R', 'e', 'a', 'd', 'A', 'r', 'r', 'a', 'y', 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', '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', 'E', 'n', 'v', 'i', 'r', 'o', 'n', 'm', 'e', 'n', 't', 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,
    'Q', 'P', 'a', 'i', 'r', '<', 'i', 'n', 't', ',', 'i', 'n', 't', '>', 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,
    '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', 'M', 'e', 't', 'a', 'C', 'l', 'a', 's', 's', 'I', 'n', 'f', 'o', 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,
    'f', 'a', 'l', 'l', 'b', 'a', 'c', 'k', 'L', 'o', 'c', 'a', 'l', 'e', 0,
    'F', 'i', 'r', 's', 't', 'D', 'a', 'y', 'O', 'f', 'W', 'e', 'e', 'k', 0,
    'M', 'o', 'n', 't', 'h', 'N', 'a', 'm', 'e', 'S', 'h', 'o', 'r', 't', 0,
    'D', 'a', 't', 'e', 'F', 'o', 'r', 'm', 'a', 't', 'L', 'o', 'n', 'g', 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,
    '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,
    '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,
    '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,
    '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,
    's', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'P', 'a', 't', 'h', 0,
    'c', 'o', 'm', 'p', 'l', 'e', 't', 'e', 'S', 'u', 'f', 'f', 'i', 'x', 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,
    '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,
    's', 'h', 'o', 'r', 't', 'M', 'o', 'n', 't', 'h', 'N', 'a', 'm', 'e', 0,
    'U', 'n', 'g', 'r', 'a', 'b', 'K', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 0,
    'M', 'e', 'n', 'u', 'b', 'a', 'r', 'U', 'p', 'd', 'a', 't', 'e', '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,
    '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,
    'i', 's', 'L', 'o', 'w', 'S', 'u', 'r', 'r', 'o', 'g', 'a', 't', 'e', 0,
    'u', 'n', 'i', 'c', 'o', 'd', 'e', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'c', 'o', 'm', 'b', 'i', 'n', 'i', 'n', 'g', 'C', 'l', 'a', 's', 's', 0,
    'C', 'o', 'm', 'b', 'i', 'n', 'i', 'n', 'g', '_', 'L', 'e', 'f', 't', 0,
    'Q', 'C', 'h', 'a', 'r', ':', ':', 'J', 'o', 'i', 'n', 'i', 'n', 'g', 0,
    'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', '_', 'L', 'i', 'n', 'e', 0,
    'M', 'a', 'r', 'k', '_', 'E', 'n', 'c', 'l', 'o', 's', '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,
    '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,
    'b', 'e', 'g', 'i', 'n', 'E', 'n', 't', 'r', 'y', 'L', 'i', 's', 't', 0,
    's', 'e', 't', 'P', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', 's', 0,
    'i', 's', 'R', 'e', 'l', 'a', 't', 'i', 'v', 'e', 'P', 'a', 't', 'h', 0,
    'W', 'r', 'i', 't', 'e', 'O', 't', 'h', 'e', 'r', 'P', 'e', 'r', 'm', 0,
    'W', 'r', 'i', 't', 'e', 'G', 'r', 'o', 'u', 'p', 'P', 'e', 'r', 'm', 0,
    'W', 'r', 'i', 't', 'e', 'O', 'w', 'n', 'e', 'r', 'P', 'e', 'r', 'm', 0,
    's', 'e', 't', 'E', 'v', 'e', 'n', 't', 'F', 'i', 'l', 't', 'e', 'r', 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,
    '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,
    '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,
    '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', '_', '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,
    'Q', 'V', 'e', 'c', 't', 'o', 'r', '<', 'u', 'i', 'n', 't', '>', 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,
    't', 'o', 'E', 'a', 's', 'i', 'n', 'g', 'C', 'u', 'r', 'v', 'e', 0,
    'E', 'm', 'b', 'e', 'd', 'd', 'e', 'd', 'P', 'O', 'S', 'I', 'X', 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,
    's', 'e', 't', 'Q', 'u', 'e', 'r', 'y', 'I', 't', 'e', 'm', 's', 0,
    's', 'e', 't', 'E', 'n', 'c', 'o', 'd', 'e', 'd', 'U', 'r', 'l', 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,
    's', 'e', 't', 'C', 'o', 'd', 'e', 'c', 'F', 'o', 'r', 'T', 'r', 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', 'L', 'a', 't', 'i', 'n', '1', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'i', 's', 'R', 'i', 'g', 'h', 't', 'T', 'o', 'L', 'e', 'f', 't', 0,
    'f', 'r', 'o', 'm', 'L', 'o', 'c', 'a', 'l', '8', 'B', 'i', '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,
    '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,
    's', 'e', 't', 'A', 'u', 't', 'o', 'D', 'e', 'l', 'e', 't', 'e', 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,
    '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,
    'p', 'y', 'q', 't', 'S', 'i', 'g', 'n', 'a', 't', 'u', 'r', 'e', 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,
    '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,
    'L', 'o', 'c', 'a', 'l', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'M', 'o', 'n', 't', 'h', 'N', 'a', 'm', 'e', 'L', 'o', 'n', 'g', 0,
    'Q', 'S', 'y', 's', 't', 'e', 'm', 'L', 'o', 'c', 'a', 'l', 'e', 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,
    '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,
    '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,
    'T', 'o', 'n', 'g', 'a', 'L', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 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', 'H', 'i', 's', 't', 'o', 'r', 'y', 'S', 't', 'a', 't', 'e', 0,
    'Q', 'F', 'S', 'F', 'i', 'l', 'e', 'E', 'n', 'g', 'i', 'n', 'e', 0,
    's', 'y', 'm', 'L', 'i', 'n', 'k', 'T', 'a', 'r', 'g', 'e', 't', 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,
    'Q', 'E', 'l', 'a', 'p', 's', 'e', 'd', 'T', 'i', 'm', 'e', 'r', 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,
    '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,
    '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,
    'h', 'i', 'g', 'h', 'S', 'u', 'r', 'r', 'o', 'g', 'a', 't', 'e', 0,
    'd', 'e', 'c', 'o', 'm', 'p', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'U', 'n', 'i', 'c', 'o', 'd', 'e', '_', '2', '_', '1', '_', '2', 0,
    'O', 't', 'h', 'e', 'r', '_', 'C', 'o', 'n', 't', 'r', 'o', 'l', 0,
    'N', 'u', 'm', 'b', 'e', 'r', '_', 'L', 'e', 't', 't', 'e', 'r', 0,
    'L', 'i', 'n', 'e', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 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,
    '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,
    'c', 'a', 's', 'e', 'S', 'e', 'n', 's', 'i', 't', 'i', 'v', 'e', 0,
    'C', 'a', 'n', 'o', 'n', 'i', 'c', 'a', 'l', 'N', 'a', 'm', 'e', 0,
    'L', 'o', 'c', 'a', 'l', 'D', 'i', 's', 'k', 'F', 'l', 'a', 'g', 0,
    'D', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', 'T', 'y', 'p', 'e', 0,
    'R', 'e', 'a', 'd', 'O', 't', 'h', 'e', 'r', 'P', 'e', 'r', 'm', 0,
    'R', 'e', 'a', 'd', 'G', 'r', 'o', 'u', 'p', 'P', 'e', 'r', 'm', 0,
    'W', 'r', 'i', 't', 'e', 'U', 's', 'e', 'r', 'P', 'e', 'r', 'm', 0,
    'R', 'e', 'a', 'd', 'O', 'w', 'n', 'e', 'r', 'P', 'e', 'r', 'm', 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,
    '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,
    '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', '_', '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,
    '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', '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,
    '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', 't', 'C', 'r', 'i', 't', 'i', 'c', 'a', 'l', 'M', 's', 'g', 0,
    'q', 'E', 'r', 'r', 'n', 'o', 'W', 'a', 'r', 'n', 'i', 'n', 'g', 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,
    'Q', 'V', 'e', 'c', 't', 'o', 'r', '<', 'i', 'n', 't', '>', 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,
    'i', 'd', 'n', 'W', 'h', 'i', 't', 'e', 'l', 'i', 's', 't', 0,
    'f', 'r', 'o', 'm', 'P', 'u', 'n', 'y', 'c', 'o', 'd', 'e', 0,
    'h', 'a', 's', 'Q', 'u', 'e', 'r', 'y', 'I', 't', 'e', 'm', 0,
    'a', 'd', 'd', 'Q', 'u', 'e', 'r', 'y', 'I', 't', 'e', 'm', 0,
    'e', 'n', 'c', 'o', 'd', 'e', 'd', 'Q', 'u', 'e', 'r', 'y', 0,
    's', 'e', 't', 'A', 'u', 't', 'h', 'o', 'r', 'i', 't', 'y', 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,
    'l', 'o', 'a', 'd', 'F', 'r', 'o', 'm', 'D', 'a', 't', 'a', 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,
    'i', 's', 'S', 'i', 'm', 'p', 'l', 'e', 'T', 'e', 'x', 't', 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,
    '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,
    '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', '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,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'V', 'a', 'l', 'u', 'e', 0,
    'U', 'n', 'k', 'n', 'o', 'w', 'n', 'E', 'r', 'r', 'o', 'r', 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', 'd', 'g', 'e', 't', 'T', 'y', 'p', 'e', 0,
    'f', 'i', 'n', 'd', 'C', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 0,
    'Q', 'M', 'u', 't', 'e', 'x', 'L', 'o', 'c', 'k', 'e', 'r', 0,
    'N', 'o', 'n', 'R', 'e', 'c', 'u', 'r', 's', 'i', 'v', 'e', 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,
    'P', 'o', 's', 'i', 't', 'i', 'v', 'e', 'S', 'i', 'g', 'n', 0,
    'D', 'a', 'y', 'N', 'a', 'm', 'e', 'S', 'h', 'o', 'r', 't', 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,
    '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,
    '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,
    'T', 'o', 'n', 'g', 'a', 'C', 'o', 'u', 'n', 't', 'r', 'y', 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,
    '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,
    'F', 'i', 'j', 'i', 'L', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 0,
    'B', 'y', 'e', 'l', 'o', 'r', 'u', 's', 's', 'i', 'a', 'n', 0,
    'Q', 'L', 'i', 's', 't', '<', 'q', 'r', 'e', 'a', 'l', '>', 0,
    'n', 'o', 'r', 'm', 'a', 'l', 'V', 'e', 'c', 't', 'o', 'r', 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,
    '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,
    '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,
    '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,
    '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,
    '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,
    '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,
    'D', 'e', 'f', 'a', 'u', 'l', 't', 'C', 'o', 'd', 'e', 'c', 0,
    'l', 'i', 'b', 'r', 'a', 'r', 'y', 'P', 'a', 't', 'h', 's', 0,
    'l', 'o', 'w', 'S', 'u', 'r', 'r', 'o', 'g', 'a', 't', 'e', 0,
    't', 'o', 'C', 'a', 's', 'e', 'F', 'o', 'l', 'd', 'e', 'd', 0,
    'm', 'i', 'r', 'r', 'o', 'r', 'e', 'd', 'C', 'h', 'a', 'r', 0,
    'O', 't', 'h', 'e', 'r', 'J', 'o', 'i', 'n', 'i', 'n', 'g', 0,
    'S', 'y', 'm', 'b', 'o', 'l', '_', 'O', 't', 'h', 'e', 'r', 0,
    'L', 'e', 't', 't', 'e', 'r', '_', 'O', 't', 'h', 'e', 'r', 0,
    'O', 't', 'h', 'e', 'r', '_', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'N', 'u', 'm', 'b', 'e', 'r', '_', 'O', 't', 'h', 'e', 'r', 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,
    's', 'e', 't', 'R', 'o', 'l', 'e', 'N', 'a', 'm', '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,
    'i', 's', 'S', 'e', 'q', 'u', 'e', 'n', 't', 'i', 'a', 'l', 0,
    'C', 'r', 'e', 'a', 't', 'i', 'o', 'n', 'T', 'i', 'm', 'e', 0,
    'A', 'b', 's', 'o', 'l', 'u', 't', 'e', 'N', 'a', 'm', 'e', 0,
    'E', 'x', 'e', 'O', 't', 'h', 'e', 'r', 'P', 'e', 'r', 'm', 0,
    'E', 'x', 'e', 'G', 'r', 'o', 'u', 'p', 'P', 'e', 'r', 'm', 0,
    'R', 'e', 'a', 'd', 'U', 's', 'e', 'r', 'P', 'e', 'r', 'm', 0,
    'E', 'x', 'e', 'O', 'w', 'n', 'e', 'r', 'P', 'e', 'r', 'm', 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', '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,
    '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', '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,
    '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', '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,
    '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', 't', 'W', 'a', 'r', 'n', 'i', 'n', 'g', 'M', 's', 'g', 0,
    'q', 'S', 'h', 'a', 'r', 'e', 'd', 'B', 'u', 'i', 'l', 'd', 0,
    'L', 'i', 't', 't', 'l', 'e', 'E', 'n', 'd', 'i', 'a', 'n', 0,
    'P', 'Y', 'Q', 'T', '_', 'V', 'E', 'R', 'S', 'I', 'O', 'N', 0,
    'P', 'y', 'Q', 't', '4', '.', '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,
    'e', 'n', 'c', 'o', 'd', 'e', 'd', 'P', 'a', 't', 'h', 0,
    'e', 'n', 'c', 'o', 'd', 'e', 'd', 'H', 'o', 's', 't', 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,
    '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,
    'Q', 'T', 'r', 'a', 'n', 's', 'l', 'a', 't', 'o', 'r', 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,
    '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,
    '_', '_', 'd', 'e', 'l', 'i', 't', 'e', 'm', '_', '_', 0,
    '_', '_', 's', 'e', 't', 'i', 't', 'e', 'm', '_', '_', 0,
    't', 'o', 'L', 'o', 'c', 'a', 'l', '8', 'B', 'i', 't', 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,
    '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,
    'n', 'u', 'm', 'C', 'a', 'p', 't', 'u', 'r', 'e', 's', 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,
    'i', 'n', 't', 'e', 'r', 's', 'e', 'c', 't', 'e', 'd', 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,
    'e', 'n', 'v', 'i', 'r', 'o', 'n', 'm', 'e', 'n', 't', 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,
    'n', 'e', 'w', 'I', 'n', 's', 't', 'a', 'n', 'c', 'e', 0,
    'c', 'o', 'n', 's', 't', 'r', 'u', 'c', 't', 'o', 'r', 0,
    'i', 'n', 'd', 'e', 'x', 'O', 'f', 'S', 'l', 'o', 't', 0,
    'm', 'e', 't', 'h', 'o', 'd', 'C', 'o', 'u', 'n', 't', 0,
    'Q', 'M', 'e', 't', 'a', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'Q', '_', 'C', 'L', 'A', 'S', 'S', 'I', 'N', 'F', 'O', 0,
    'c', 'u', 's', 't', 'o', 'm', 'E', 'v', 'e', 'n', 't', 0,
    'd', 'e', 'l', 'e', 't', 'e', 'L', 'a', 't', 'e', 'r', 0,
    's', 'e', 't', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'y', 0,
    'e', 'v', 'e', 'n', 't', 'F', 'i', 'l', 't', 'e', 'r', 0,
    '_', '_', 'g', 'e', 't', 'a', 't', 't', 'r', '_', '_', 0,
    'Q', 'Q', 'u', 'a', 't', 'e', 'r', 'n', 'i', 'o', 'n', 0,
    'Q', 'W', 'i', 'd', 'g', 'e', 't', 'S', 't', 'a', 'r', 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,
    '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,
    'U', 'I', 'L', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 's', 0,
    'D', 'a', 'y', 'N', 'a', 'm', 'e', 'L', 'o', 'n', 'g', 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,
    '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,
    '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,
    'F', 'i', 'j', 'i', 'C', 'o', 'u', 'n', 't', 'r', 'y', 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,
    '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,
    'Q', 'L', 'i', 's', 't', '<', 'u', 'i', 'n', 't', '>', 0,
    'I', 'm', 'p', 'o', 'r', 't', 's', 'P', 'a', 't', 'h', 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,
    's', 'e', 't', 'O', 'p', 'e', 'n', 'M', 'o', 'd', 'e', 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,
    'p', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', 's', 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,
    '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,
    'L', 'o', 'c', 'a', 'l', 'e', 'A', 'w', 'a', 'r', '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,
    'u', 'n', 's', 'e', 't', 'D', 'e', 'v', 'i', 'c', 'e', 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,
    '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,
    'U', 'n', 'i', 'c', 'o', 'd', 'e', 'U', 'T', 'F', '8', 0,
    'a', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'i', 's', 'T', 'i', 't', 'l', 'e', 'C', 'a', 's', 'e', 0,
    't', 'o', 'T', 'i', 't', 'l', 'e', 'C', 'a', 's', 'e', 0,
    'h', 'a', 's', 'M', 'i', 'r', 'r', 'o', 'r', 'e', 'd', 0,
    'U', 'n', 'i', 'c', 'o', 'd', 'e', '_', '5', '_', '0', 0,
    'U', 'n', 'i', 'c', 'o', 'd', 'e', '_', '4', '_', '1', 0,
    'U', 'n', 'i', 'c', 'o', 'd', 'e', '_', '4', '_', '0', 0,
    'U', 'n', 'i', 'c', 'o', 'd', 'e', '_', '3', '_', '2', 0,
    'U', 'n', 'i', 'c', 'o', 'd', 'e', '_', '3', '_', '1', 0,
    'U', 'n', 'i', 'c', 'o', 'd', 'e', '_', '3', '_', '0', 0,
    'U', 'n', 'i', 'c', 'o', 'd', 'e', '_', '2', '_', '0', 0,
    'U', 'n', 'i', 'c', 'o', 'd', 'e', '_', '1', '_', '1', 0,
    'S', 'y', 'm', 'b', 'o', 'l', '_', 'M', 'a', 't', 'h', 0,
    'Q', 'L', 'a', 't', 'i', 'n', '1', 'C', 'h', 'a', 'r', 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,
    '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,
    'n', 'a', 'm', 'e', 'F', 'i', 'l', 't', 'e', 'r', 's', 0,
    'e', 'r', 'r', 'o', 'r', 'S', 't', 'r', 'i', 'n', 'g', 0,
    's', 'e', 't', 'F', 'i', 'l', 'e', 'N', 'a', 'm', 'e', 0,
    'D', 'e', 'f', 'a', 'u', 'l', 't', 'N', 'a', 'm', 'e', 0,
    'F', 'i', 'l', 'e', 'I', 'n', 'f', 'o', 'A', 'l', 'l', 0,
    'E', 'x', 'e', 'U', 's', 'e', 'r', 'P', 'e', 'r', 'm', 0,
    'f', 'i', 'l', 't', 'e', 'r', 'E', 'v', 'e', 'n', 't', 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,
    '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,
    '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,
    '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', '_', '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,
    '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', 't', 'S', 'y', 's', 't', 'e', 'm', 'M', 's', 'g', 0,
    'Q', 'T', 'e', 'x', 't', 'S', 't', 'r', 'e', 'a', 'm', 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,
    't', 'o', 'P', 'y', 'O', 'b', 'j', 'e', 'c', 't', 0,
    't', 'o', 'B', 'i', 't', 'A', 'r', 'r', 'a', 'y', 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,
    't', 'o', 'P', 'u', 'n', 'y', 'c', 'o', 'd', 'e', 0,
    'i', 's', 'P', 'a', 'r', 'e', 'n', 't', 'O', 'f', 0,
    'q', 'u', 'e', 'r', 'y', 'I', 't', 'e', 'm', 's', 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,
    '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,
    't', 'e', 'r', 'm', 'i', 'n', 'a', 't', 'e', 'd', 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,
    's', 'e', 't', 'P', 'a', 'd', 'C', 'h', 'a', 'r', 0,
    'F', 'o', 'r', 'c', 'e', 'P', 'o', 'i', 'n', 't', 0,
    'c', 'o', 'd', 'e', 'c', 'F', 'o', 'r', 'T', 'r', 0,
    'Q', 'T', 'e', 'x', 't', 'C', 'o', 'd', 'e', 'c', 0,
    'a', 'u', 't', 'o', 'R', 'e', 'm', 'o', 'v', 'e', 0,
    'Q', 'S', 't', 'r', 'i', 'n', 'g', 'R', 'e', 'f', 0,
    'f', 'i', 'e', 'l', 'd', 'W', 'i', 'd', 't', 'h', 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,
    's', 'e', 't', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'e', 'x', 'p', 'a', 'n', 'd', 'e', 'd', 'T', 'o', 0,
    's', 'e', 't', 'M', 'a', 'p', 'p', 'i', 'n', 'g', 0,
    'i', 's', 'A', 't', 't', 'a', 'c', 'h', 'e', 'd', 0,
    'b', 'e', 'g', 'i', 'n', 'G', 'r', 'o', 'u', 'p', 0,
    'Q', 'S', 'e', 't', '<', 'u', 'i', 'n', 't', '>', 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,
    'i', 'n', 't', 'e', 'r', 's', 'e', 'c', 't', 's', 0,
    'm', 'o', 'v', 'e', 'C', 'e', 'n', 't', 'e', 'r', 0,
    'n', 'o', 'r', 'm', 'a', 'l', 'i', 'z', 'e', 'd', 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,
    's', 'u', 'p', 'e', 'r', 'C', 'l', 'a', 's', 's', 0,
    'Q', 'T', '_', 'T', 'R', '_', 'N', 'O', 'O', 'P', 0,
    'c', 'h', 'i', 'l', 'd', 'E', 'v', 'e', 'n', 't', 0,
    't', 'i', 'm', 'e', 'r', 'E', 'v', 'e', 'n', 't', 0,
    'd', 'i', 's', 'c', 'o', 'n', 'n', 'e', 'c', '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', '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,
    'i', 's', 'E', 'd', 'i', 't', 'a', 'b', 'l', 'e', 0,
    'v', 'a', 'l', 'u', 'e', 'T', 'o', 'K', 'e', 'y', 0,
    'k', 'e', 'y', 'T', 'o', 'V', 'a', 'l', 'u', 'e', 0,
    'm', 'e', 't', 'h', 'o', 'd', 'T', 'y', 'p', 'e', 0,
    'L', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 'I', 'd', 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,
    'Y', 'u', 'g', 'o', 's', 'l', 'a', 'v', 'i', 'a', 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,
    'V', 'i', 'e', 't', 'n', 'a', 'm', 'e', 's', 'e', 0,
    'S', 'i', 'n', 'g', 'h', 'a', 'l', '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,
    'Q', 'L', 'i', 's', 't', '<', 'i', 'n', 't', '>', 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,
    'U', 'n', 'b', 'u', 'f', 'f', 'e', 'r', 'e', 'd', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'P', 'a', 't', 'h', 0,
    'b', 'u', 'n', 'd', 'l', 'e', 'N', 'a', 'm', 'e', 0,
    's', 'e', 't', 'C', 'a', 'c', 'h', 'i', 'n', 'g', 0,
    'p', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', 0,
    'i', 's', 'W', 'r', 'i', 't', 'a', 'b', 'l', 'e', 0,
    'f', 'i', 'l', 'e', 'E', 'n', 'g', 'i', 'n', 'e', 0,
    'd', 'e', 'c', 'o', 'd', 'e', 'N', 'a', 'm', 'e', 0,
    'e', 'n', 'c', 'o', 'd', 'e', 'N', 'a', 'm', '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,
    '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,
    '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,
    'f', 'r', 'o', 'm', 'L', 'a', 't', 'i', 'n', '1', 0,
    'd', 'i', 'g', 'i', 't', 'V', 'a', 'l', 'u', 'e', 0,
    'N', 'o', 'C', 'a', 't', 'e', 'g', 'o', 'r', 'y', 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,
    'A', 'c', 'c', 'e', 's', 's', 'T', 'i', 'm', 'e', 0,
    'O', 'w', 'n', 'e', 'r', 'G', 'r', 'o', 'u', 'p', 0,
    'B', 'u', 'n', 'd', 'l', 'e', 'N', 'a', 'm', 'e', 0,
    'B', 'u', 'n', 'd', 'l', 'e', 'T', 'y', 'p', 'e', 0,
    'E', 'x', 'i', 's', 't', 's', 'F', 'l', 'a', 'g', 0,
    'H', 'i', 'd', 'd', 'e', 'n', 'F', 'l', 'a', 'g', 0,
    's', 't', 'a', 'r', 't', 'i', 'n', 'g', 'U', 'p', 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,
    'Q', 't', ':', ':', 'C', 'o', 'r', 'n', 'e', 'r', 0,
    'A', 'n', 'c', 'h', 'o', 'r', 'H', 'r', 'e', 'f', 0,
    'A', 'n', 'c', 'h', 'o', 'r', 'N', 'a', 'm', 'e', 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', '_', '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,
    'L', 'e', 'f', 't', 'B', 'u', 't', 't', 'o', 'n', 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,
    'Q', 't', 'F', 'a', 't', 'a', 'l', 'M', 's', 'g', 0,
    'Q', 't', 'D', 'e', 'b', 'u', 'g', 'M', 's', 'g', 0,
    'i', 's', 'C', 'o', 'm', 'm', 'e', 'n', 't', 0,
    't', 'o', 'k', 'e', 'n', 'T', 'y', 'p', 'e', 0,
    'i', 's', 'D', 'e', 'f', 'a', 'u', 'l', 't', 0,
    'k', 'e', 'y', 'V', 'a', 'l', 'u', 'e', 's', 0,
    't', 'o', 'R', 'f', 'c', '4', '1', '2', '2', 0,
    'M', 'i', 'c', 'r', 'o', 's', 'o', 'f', 't', 0,
    '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,
    '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,
    's', 'e', 't', 'S', 't', 'r', 'i', 'n', 'g', 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,
    'S', 't', 'a', 'r', 't', 'W', 'o', 'r', 'd', 0,
    't', 'a', 'k', 'e', 'F', 'i', 'r', 's', 't', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'A', 'l', 'l', 0,
    'c', 'h', 'i', 'l', 'd', 'M', 'o', 'd', 'e', 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,
    'L', 'o', 'c', 'k', 'E', 'r', 'r', 'o', 'r', 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,
    'Q', 'S', 'e', 't', '<', 'i', 'n', 't', '>', 0,
    'a', 'v', 'a', 'i', 'l', 'a', 'b', 'l', 'e', 0,
    'Q', 'R', 'u', 'n', 'n', 'a', 'b', 'l', 'e', 0,
    's', 'e', 't', 'L', 'o', 'c', 'a', 'l', 'e', 0,
    'Q', 'R', 'e', 's', 'o', 'u', 'r', 'c', '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,
    '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,
    '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,
    '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,
    's', 'i', 'g', 'n', 'a', 't', 'u', 'r', 'e', 0,
    's', 'e', 't', 'B', 'o', 't', 't', 'o', 'm', 0,
    'Z', 'e', 'r', 'o', 'D', 'i', 'g', 'i', 't', 0,
    'C', 'o', 'u', 'n', 't', 'r', 'y', 'I', 'd', 0,
    'b', 'c', 'p', '4', '7', 'N', 'a', 'm', 'e', 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,
    '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,
    '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,
    'D', 'e', 'm', 'o', '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,
    '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,
    '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,
    'N', 'o', 'O', 'p', 't', 'i', 'o', 'n', 's', 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,
    '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,
    '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,
    '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,
    '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,
    'a', 'r', 'g', 'u', 'm', 'e', 'n', 't', 's', 0,
    'f', 'r', 'o', 'm', 'A', 's', 'c', 'i', 'i', 0,
    'C', 'a', 'n', 'o', 'n', 'i', 'c', 'a', 'l', 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,
    'e', 'v', 'e', 'n', 't', 'T', 'y', 'p', 'e', 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,
    'f', 'i', 'l', 'e', 'F', 'l', 'a', 'g', 's', 0,
    'e', 'n', 't', 'r', 'y', 'L', 'i', 's', 't', 0,
    'O', 'w', 'n', 'e', 'r', 'U', 's', 'e', 'r', 0,
    'F', 'l', 'a', 'g', 's', 'M', 'a', 's', 'k', 0,
    'T', 'y', 'p', 'e', 's', 'M', 'a', 's', 'k', 0,
    'P', 'e', 'r', 'm', 's', 'M', 'a', 's', 'k', 0,
    'i', 'n', 't', 'e', 'r', 'r', 'u', 'p', 't', 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,
    '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,
    'U', 'n', 'i', 't', 'e', 'C', 'l', 'i', 'p', 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', '_', '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,
    'Q', 't', 'M', 's', 'g', 'T', 'y', 'p', 'e', 0,
    'q', 'C', 'r', 'i', 't', 'i', 'c', 'a', 'l', 0,
    'B', 'i', 'g', 'E', 'n', 'd', 'i', 'a', 'n', 0,
    'Q', 'D', 'a', 't', 'e', 'T', 'i', 'm', 'e', 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,
    't', 'o', 'R', 'e', 'g', 'E', 'x', 'p', 0,
    't', 'o', 'L', 'o', 'c', 'a', 'l', 'e', 0,
    't', 'o', 'P', 'o', 'i', 'n', 't', 'F', 0,
    'f', 'r', 'o', 'm', 'L', 'i', 's', 't', 0,
    'U', 's', 'e', 'r', 'T', 'y', 'p', 'e', 0,
    'R', 'e', 's', 'e', 'r', 'v', 'e', 'd', 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,
    '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,
    'S', 'e', 'n', 't', 'e', 'n', 'c', 'e', 0,
    'G', 'r', 'a', 'p', 'h', 'e', 'm', 'e', 0,
    't', 'a', 'k', 'e', 'L', 'a', 's', 't', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'A', 't', 0,
    'a', 'p', 'p', 'e', 'n', 'd', 'T', 'o', 0,
    'f', 'r', 'o', 'm', 'U', 't', 'f', '8', 0,
    'b', 'e', 'h', 'a', 'v', 'i', 'o', 'r', 0,
    'f', 'i', 'l', 'l', 'C', 'h', 'a', 'r', 0,
    'a', 'd', 'd', 'S', 't', 'a', 't', 'e', 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,
    '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,
    'e', 'x', 'i', 't', 'C', 'o', 'd', 'e', 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,
    '_', '_', 'i', 'd', 'i', 'v', '_', '_', 0,
    '_', '_', 'i', 's', 'u', 'b', '_', '_', 0,
    'p', 'y', 'q', 't', 'S', 'l', 'o', 't', 0,
    'i', 'n', 'h', 'e', 'r', 'i', 't', 's', 0,
    'p', 'r', 'o', 'p', 'e', 'r', 't', 'y', 0,
    'c', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 0,
    '_', '_', 'e', 'x', 'i', 't', '_', '_', 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,
    's', 'e', 't', 'R', 'i', 'g', 'h', 't', 0,
    'Q', 'M', 'a', 'r', 'g', 'i', 'n', 's', 0,
    'W', 'e', 'e', 'k', 'd', 'a', 'y', 's', 0,
    'S', 'c', 'r', 'i', 'p', 't', 'I', 'd', 0,
    'w', 'e', 'e', 'k', 'd', 'a', 'y', 's', 0,
    'l', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 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', 't', 'H', 'e', 'l', 'e', 'n', 'a', 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,
    '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', 'e', 't', 's', 'w', 'a', 'n', '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,
    'L', 'a', 'o', 't', 'h', 'i', 'a', 'n', 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,
    'D', 'a', 't', 'a', 'P', 'a', 't', 'h', 0,
    'b', 'u', 'i', 'l', 'd', 'K', 'e', 'y', 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', 'r', 'u', 'n', 'c', 'a', 't', 'e', 0,
    'R', 'e', 'a', 'd', 'O', 'n', 'l', 'y', 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,
    'r', 'e', 'a', 'd', 'L', 'i', 'n', 'k', 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,
    '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', '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,
    '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,
    'e', 'n', 'c', 'o', 'd', 'i', 'n', 'g', 0,
    'p', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    'i', 's', 'S', 'y', 'm', 'b', 'o', 'l', 0,
    'i', 's', 'N', 'u', 'm', 'b', 'e', 'r', 0,
    'i', 's', 'L', 'e', 't', 't', 'e', 'r', 0,
    'c', 'a', 't', 'e', 'g', 'o', 'r', 'y', 0,
    'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 0,
    'I', 's', 'o', 'l', 'a', 't', 'e', 'd', 0,
    't', 'o', 'L', 'a', 't', 'i', 'n', '1', 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,
    '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,
    'r', 'e', 'a', 'd', 'L', 'i', 'n', 'e', 0,
    'f', 'i', 'l', 'e', 'T', 'i', 'm', 'e', 0,
    'f', 'i', 'l', 'e', 'N', 'a', 'm', 'e', 0,
    'o', 'p', 'e', 'n', 'M', 'o', 'd', 'e', 0,
    'L', 'i', 'n', 'k', 'N', 'a', 'm', 'e', 0,
    'R', 'o', 'o', 't', 'F', 'l', 'a', 'g', 0,
    'F', 'i', 'l', 'e', 'T', 'y', 'p', 'e', 0,
    'L', 'i', 'n', 'k', 'T', 'y', 'p', 'e', 0,
    'i', 'n', 't', 'e', 'r', 'v', 'a', 'l', 0,
    'i', 'n', 's', 't', 'a', 'n', 'c', 'e', 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,
    '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', '_', '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', 'W', 'a', 'r', 'n', 'i', 'n', 'g', 0,
    'q', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'W', 'o', 'r', 'd', 'S', 'i', 'z', 'e', 0,
    'Q', 'S', 'y', 's', 'I', 'n', 'f', 'o', 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,
    't', 'o', 'R', 'e', 'c', 't', 'F', 0,
    't', 'o', 'L', 'i', 'n', 'e', 'F', 0,
    't', 'o', 'S', 'i', 'z', 'e', 'F', 0,
    'c', 'o', 'n', 'v', 'e', 'r', 't', 0,
    'f', 'r', 'o', 'm', 'M', 'a', 'p', 0,
    'I', 'n', 'v', 'a', 'l', 'i', 'd', 0,
    'v', 'a', 'r', 'i', 'a', 'n', 't', 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,
    'a', 'l', 'i', 'a', 's', 'e', 's', 0,
    't', 'o', 'S', 't', 'a', 'r', 't', 0,
    'E', 'n', 'd', 'W', 'o', 'r', 'd', 0,
    'c', 'o', 'm', 'p', 'a', 'r', 'e', 0,
    's', 't', 'o', 'p', 'p', 'e', 'd', 0,
    'm', 'a', 'p', 'p', 'i', 'n', 'g', 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,
    'R', 'e', 'g', 'E', 'x', 'p', '2', 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,
    'C', 'r', 'a', 's', 'h', 'e', 'd', 0,
    't', 'o', 'P', 'o', 'i', 'n', 't', 0,
    '_', '_', 'd', 'i', 'v', '_', '_', 0,
    '_', '_', 'n', 'e', 'g', '_', '_', 0,
    '_', '_', 's', 'u', 'b', '_', '_', 0,
    'Q', '_', 'F', 'L', 'A', 'G', 'S', 0,
    'Q', '_', 'E', 'N', 'U', 'M', 'S', 0,
    'Q', 'W', 'i', 'd', 'g', 'e', 't', 0,
    't', 'r', 'y', 'L', 'o', 'c', 'k', 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,
    's', 'e', 't', 'L', 'e', 'f', 't', 0,
    'o', 'p', 't', 'i', 'o', 'n', 's', 0,
    'd', 'a', 'y', 'N', 'a', 'm', 'e', 0,
    'c', 'o', 'u', 'n', 't', 'r', 'y', 0,
    'V', 'i', 'e', 't', 'N', 'a', 'm', 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,
    'S', 't', 'L', 'u', 'c', 'i', 'a', 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,
    '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', 'u', 'r', 'k', 'i', 's', 'h', 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', 'i', 's', 'w', 'a', 't', 'i', 0,
    'S', 'e', 's', 'o', 't', 'h', 'o', 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,
    'P', 'e', 'r', 's', 'i', 'a', 'n', 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', 'r', 'i', 's', 'i', 'a', 'n', 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,
    '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,
    '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,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 0,
    'r', 'e', 'f', 'r', 'e', 's', 'h', 0,
    's', 'o', 'r', 't', 'i', 'n', 'g', 0,
    's', 'e', 't', 'P', 'a', 't', 'h', 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,
    's', 'e', 't', 'C', 'e', 'l', 'l', 0,
    'i', 's', 'D', 'i', 'g', 'i', 't', 0,
    'i', 's', 'S', 'p', 'a', 'c', 'e', 0,
    'i', 's', 'P', 'u', 'n', 'c', 't', 0,
    'i', 's', 'P', 'r', 'i', 'n', 't', 0,
    't', 'o', 'A', 's', 'c', 'i', 'i', 0,
    'i', 's', 'U', 'p', 'p', 'e', 'r', 0,
    'i', 's', 'L', 'o', 'w', 'e', 'r', 0,
    'j', 'o', 'i', 'n', 'i', 'n', 'g', 0,
    'I', 'n', 'i', 't', 'i', 'a', 'l', 0,
    'N', 'o', 'B', 'r', 'e', 'a', 'k', 0,
    'u', 'n', 'i', 'c', 'o', 'd', 'e', 0,
    'i', 'n', 'd', 'e', 'x', 'I', 'n', 0,
    'p', 'a', 't', 't', 'e', 'r', 'n', 0,
    '_', '_', 'a', 'd', 'd', '_', '_', 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,
    's', 'e', 't', 'D', 'a', 't', 'a', 0,
    's', 'i', 'b', 'l', 'i', 'n', 'g', 0,
    'i', 's', 'V', 'a', 'l', 'i', 'd', 0,
    'h', 'a', 's', 'N', 'e', 'x', 't', 0,
    'o', 'w', 'n', 'e', 'r', 'I', 'd', 0,
    'f', 'i', 'l', 't', 'e', 'r', 's', 0,
    's', 'e', 't', 'S', 'i', 'z', 'e', 0,
    'd', 'i', 'r', 'N', 'a', 'm', 'e', 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,
    'I', 'm', 'h', 'N', 'o', 'n', 'e', 0,
    'T', 'u', 'e', 's', 'd', 'a', 'y', 0,
    'I', 'S', 'O', 'D', 'a', 't', 'e', 0,
    'L', 'o', 'g', 'T', 'e', 'x', 't', 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', '_', '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', 's', 'N', 'u', 'l', 'l', 0,
    '_', '_', 'a', 'n', 'd', '_', '_', 0,
    '_', '_', 'x', 'o', 'r', '_', '_', 0,
    '_', '_', 'i', 'n', 't', '_', '_', 0,
    '_', '_', 'i', 'o', 'r', '_', '_', 0,
    't', 'o', 'R', 'e', 'a', 'l', 0,
    't', 'o', 'H', 'a', 's', 'h', 0,
    't', 'o', 'L', 'i', 's', 't', 0,
    't', 'o', 'C', 'h', 'a', 'r', 0,
    't', 'o', 'B', 'o', 'o', 'l', 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,
    't', 'a', 'k', 'e', 'A', 't', 0,
    't', 'o', 'U', 'c', 's', '4', 0,
    'l', 'a', 't', 'i', 'n', '1', 0,
    't', 'o', 'U', 't', 'f', '8', 0,
    'Q', 'S', 't', 'a', 't', 'e', 0,
    's', 'o', 'c', 'k', 'e', 't', 0,
    't', 'o', 'S', 'i', 'z', 'e', 0,
    'm', 'a', 'p', 'p', 'e', 'd', 0,
    'a', 't', 't', 'a', 'c', 'h', 0,
    's', 'e', 't', 'K', 'e', 'y', 0,
    'e', 's', 'c', 'a', 'p', 'e', 0,
    's', 'y', 'n', 't', 'a', 'x', 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,
    'h', 'e', 'i', 'g', 'h', 't', 0,
    'c', 'e', 'n', 't', 'e', 'r', 0,
    'p', 'r', 'o', 'p', 'e', 'r', 0,
    'S', 'I', 'G', 'N', 'A', 'L', 0,
    's', 'i', 'g', 'n', 'a', 'l', 0,
    's', 'e', 'n', 'd', 'e', 'r', 0,
    't', 'r', 'U', 't', 'f', '8', 0,
    'q', 'I', 's', 'N', 'a', 'N', 0,
    'q', 'I', 's', 'I', 'n', 'f', 0,
    'r', 'e', 'l', 'o', 'c', 'k', 0,
    'u', 'n', 'l', 'o', 'c', 'k', 0,
    'Q', 'M', 'u', 't', 'e', 'x', 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', '0', 0,
    'a', 'c', 'c', 'e', 's', 's', 0,
    'P', 'u', 'b', 'l', 'i', 'c', 0,
    's', 'e', 't', 'T', 'o', 'p', 0,
    'b', 'o', 't', 't', 'o', 'm', 0,
    'P', 'M', 'T', 'e', 'x', 't', 0,
    'A', 'M', 'T', 'e', 'x', '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,
    'l', 'o', 'c', 'a', 'l', 'e', 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,
    '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,
    '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', 'n', 'g', 'h', 'o', 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,
    '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,
    '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,
    '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,
    '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,
    's', 't', 'r', 'i', 'n', 'g', 0,
    'd', 'a', 'y', 's', 'T', 'o', 0,
    's', 'e', 't', 'Y', 'M', 'D', 0,
    's', 't', 'a', 't', 'u', 's', 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,
    'i', 'g', 'n', 'o', 'r', 'e', 0,
    'a', 'c', 'c', 'e', 'p', 't', 0,
    'P', 'o', 'l', 'i', 's', 'h', 0,
    'Q', 'E', 'v', 'e', 'n', 't', 0,
    'n', 'o', 't', 'i', 'f', 'y', 0,
    's', 'e', 't', 'R', 'o', 'w', 0,
    'i', 's', 'M', 'a', 'r', 'k', 0,
    'C', 'o', 'm', 'p', 'a', 't', 0,
    'S', 'q', 'u', 'a', 'r', 'e', 0,
    'N', 'a', 'r', 'r', 'o', 'w', 0,
    'C', 'i', 'r', 'c', 'l', 'e', 0,
    'M', 'e', 'd', 'i', 'a', 'l', 0,
    'D', 'i', 'r', 'N', 'S', 'M', 0,
    'D', 'i', 'r', 'P', 'D', 'F', 0,
    'D', 'i', 'r', 'R', 'L', 'O', 0,
    'D', 'i', 'r', 'R', 'L', 'E', 0,
    'D', 'i', 'r', 'L', 'R', 'O', 0,
    'D', 'i', 'r', 'L', 'R', '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,
    'i', 'n', 's', 'e', 'r', 't', 0,
    'a', 'p', 'p', 'e', 'n', 'd', 0,
    'l', 'e', 'n', 'g', 't', 'h', 0,
    'b', 'u', 'f', 'f', 'e', 'r', 0,
    'v', 'a', 'l', 'u', 'e', '2', 0,
    'v', 'a', 'l', 'u', 'e', '1', 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', 's', 'u', 'l', 't', 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,
    'o', 'f', 'f', 's', 'e', 't', 0,
    'c', 'r', 'e', 'a', 't', 'e', 0,
    'm', 'a', 'x', 'l', 'e', 'n', 0,
    'h', 'a', 'n', 'd', 'l', 'e', 0,
    'r', 'e', 'n', 'a', 'm', 'e', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 0,
    'f', 'i', 'l', 't', 'e', 'r', 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', 'F', 'a', 't', 'a', 'l', 0,
    'q', 'D', 'e', 'b', 'u', 'g', 0,
    'q', 'R', 'o', 'u', 'n', 'd', 0,
    'i', 's', 'D', 'T', 'D', 0,
    't', 'o', 'U', 'r', 'l', 0,
    't', 'o', 'M', 'a', 'p', 0,
    'Q', 'U', 'u', 'i', 'd', 0,
    't', 'o', 'A', 'c', 'e', 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,
    'u', 'n', 'i', 't', 'e', 0,
    'Q', '_', 'A', 'R', 'G', 0,
    'q', 'Q', 'N', 'a', 'N', 0,
    'q', 'S', 'N', 'a', 'N', 0,
    'm', 'u', 't', 'e', 'x', 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,
    'q', 'u', 'e', 'r', 'y', 0,
    's', 't', 'y', 'l', 'e', 0,
    'Y', 'e', 'm', 'e', 'n', 0,
    'S', 'u', 'd', 'a', '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,
    '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,
    'L', 'a', 't', 'i', 'n', 0,
    'I', 'r', 'i', 's', 'h', 0,
    'H', 'i', 'n', 'd', 'i', 0,
    'H', 'a', 'u', 's', 'a', 0,
    'G', 'r', 'e', 'e', 'k', 0,
    'D', 'u', 't', 'c', 'h', 0,
    'C', 'z', 'e', 'c', 'h', 0,
    'a', 'n', 'g', 'l', 'e', 0,
    's', 'e', 't', 'P', '2', 0,
    's', 'e', 't', 'P', '1', 0,
    'Q', 'L', 'i', 'n', 'e', 0,
    'f', 'i', 'l', 'e', 's', 0,
    'i', 's', 'D', 'i', 'r', 0,
    'Q', 'F', 'i', 'l', 'e', 0,
    'N', 'o', 'D', 'o', 't', 0,
    'F', 'i', 'l', 'e', 's', 0,
    't', 'o', 'U', 'T', 'C', 0,
    'm', 'o', 'n', 't', 'h', 0,
    'a', 'd', 'd', 'e', 'd', 0,
    'P', 'a', 'i', 'n', 't', 0,
    'e', 'x', 'e', 'c', '_', 0,
    'S', 'm', 'a', 'l', 'l', 0,
    'S', 'u', 'p', 'e', 'r', 0,
    'D', 'i', 'r', 'B', 'N', 0,
    'D', 'i', 'r', 'A', 'L', 0,
    'D', 'i', 'r', 'O', 'N', 0,
    'D', 'i', 'r', 'W', 'S', 0,
    'D', 'i', 'r', 'C', 'S', 0,
    'D', 'i', 'r', 'A', 'N', 0,
    'D', 'i', 'r', 'E', 'T', 0,
    'D', 'i', 'r', 'E', 'S', 0,
    'D', 'i', 'r', 'E', 'N', 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,
    'q', 'S', 'w', 'a', 'p', 0,
    'c', 'l', 'e', 'a', 'r', 0,
    'r', 'e', 's', 'e', 't', 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,
    'u', 'n', 'm', 'a', 'p', 0,
    'e', 'r', 'r', 'o', 'r', 0,
    'w', 'r', 'i', 't', 'e', 0,
    'o', 'w', 'n', 'e', 'r', 0,
    'r', 'm', 'd', 'i', 'r', 0,
    'm', 'k', 'd', 'i', 'r', 0,
    'c', 'l', 'o', 's', 'e', 0,
    'a', 't', 'E', 'n', '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,
    'Q', 'T', 'i', 'm', 'e', 0,
    'Q', 'D', 'a', 't', 'e', 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,
    'j', 'o', 'i', 'n', 0,
    's', 'y', 'n', 'c', 0,
    'k', 'i', 'l', 'l', 0,
    's', 'e', 't', 'Y', 0,
    's', 'e', 't', 'X', 0,
    'S', 'L', 'O', 'T', 0,
    'e', 'm', 'i', 't', 0,
    'q', 'I', 'n', 'f', 0,
    'h', 't', 'm', 'l', 0,
    'u', 'r', 'l', 's', 0,
    'Q', 'P', 'e', 'n', 0,
    'V', 'o', 'i', 'd', 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,
    '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,
    'T', 'h', 'a', 'i', 0,
    'A', 'f', 'a', 'r', 0,
    'A', 'f', 'a', 'n', 0,
    'p', 'e', 'e', 'k', 0,
    'm', 'o', 'd', 'e', 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,
    'h', 'o', 'u', 'r', 0,
    'y', 'e', 'a', 'r', 0,
    'h', 'a', 's', 'h', 0,
    'S', 'h', 'a', '1', 0,
    'h', 'i', 'n', 't', 0,
    'S', 'h', 'o', 'w', 0,
    'q', 'u', 'i', 't', 0,
    'e', 'x', 'i', 't', 0,
    'e', 'x', 'e', 'c', 0,
    'a', 'r', 'g', 'c', 0,
    'a', 'r', 'g', 'v', 0,
    'c', 'e', 'l', 'l', 0,
    'D', 'u', 'a', 'l', 0,
    'W', 'i', 'd', 'e', 0,
    'D', 'i', 'r', 'S', 0,
    'D', 'i', 'r', 'B', 0,
    'D', 'i', 'r', 'R', 0,
    'D', 'i', 'r', 'L', 0,
    'N', 'b', 's', 'p', 0,
    'c', 'h', 'o', 'p', 0,
    's', 'w', 'a', 'p', 0,
    'f', 'i', 'l', 'l', 0,
    'm', 's', 'e', 'c', 0,
    'f', 'r', 'o', 'm', 0,
    'l', 'a', 's', 't', 0,
    's', 'p', 'a', 'n', 0,
    'h', 'i', 't', 's', 0,
    's', 'o', 'r', 't', 0,
    'r', 'o', 'l', 'e', 0,
    'n', 'e', 'x', 't', 0,
    'd', 'a', 't', 'a', 0,
    't', 'i', 'm', 'e', 0,
    'f', 'i', 'l', 'e', 0,
    't', 'y', 'p', 'e', 0,
    'l', 'i', 'n', 'k', 0,
    'c', 'o', 'p', 'y', 0,
    's', 'e', 'e', 'k', 0,
    'o', 'p', 'e', 'n', 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,
    'Q', 'U', 'r', 'l', 0,
    'D', 'C', 'E', 0,
    'N', 'C', 'S', 0,
    'b', 'o', 'm', 0,
    'h', 'e', 'x', 0,
    'o', 'c', 't', 0,
    'b', 'i', 'n', 0,
    'a', 'r', 'g', 0,
    'r', 'u', 'n', 0,
    'c', 'a', 'p', 0,
    'p', 'i', 'd', 0,
    'a', 'd', 'd', 0,
    't', 'a', 'g', 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,
    'S', 'u', 'b', 0,
    'm', 'i', 'd', 0,
    'p', 'o', 's', 0,
    'A', 'L', 'T', 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,
    'Q', 't', 0,
    'p', '1', 0,
};
#line 24 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#include <qglobal.h>
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
static int PYQT_VERSION = 0x040b04;
static const char *PYQT_VERSION_STR = "4.11.4";
#line 287 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
// The user supplied Python handler.
static PyObject *qtcore_PyMsgHandler = 0;

// The C++ wrapper around the Python handler.
#if QT_VERSION >= 0x050000
static void qtcore_MsgHandler(QtMsgType type, const QMessageLogContext &, const QString &msg)
#else
static void qtcore_MsgHandler(QtMsgType type, const char *msg)
#endif
{
    PyObject *res;

    SIP_BLOCK_THREADS
    
#if QT_VERSION >= 0x050000
    res = sipCallMethod(0, qtcore_PyMsgHandler, "Fs", type, sipType_QtMsgType, msg.toLatin1().constData());
#else
    res = sipCallMethod(0, qtcore_PyMsgHandler, "Fs", type, sipType_QtMsgType, msg);
#endif

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

    SIP_UNBLOCK_THREADS
}
#line 418 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 25 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractfileengine.sip"
#include <qabstractfileengine.h>
#line 24 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbitarray.sip"
#include <qbitarray.h>
#line 24 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 24 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 24 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreapplication.sip"
#include <qcoreapplication.h>
#line 383 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreapplication.sip"
// 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 416 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 24 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 25 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdiriterator.sip"
#include <qdiriterator.h>
#line 25 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qeasingcurve.sip"
#include <qeasingcurve.h>
#line 25 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qelapsedtimer.sip"
#include <qelapsedtimer.h>
#line 24 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 24 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfile.sip"
#include <qfile.h>
#line 24 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 24 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlibrary.sip"
#include <qlibrary.h>
#line 24 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qline.sip"
#include <qline.h>
#line 24 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 25 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 24 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 24 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmetatype.sip"
#include <qmetatype.h>
#line 25 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnumeric.sip"
#include <qnumeric.h>
#line 796 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
// These optional parts of the legacy Qt support API for SIP are implemented.
// This cannot go into qpycore_api.h as they need to be in a particular
// position in the generated code.

#undef sipQtCreateUniversalSignal
#undef sipQtFindUniversalSignal

extern "C"
{
    void *sipQtCreateUniversalSignal(void *tx, const char **sig);
    void *sipQtFindUniversalSignal(void *tx, const char **sig);
    void *sipQtCreateUniversalSlot(sipWrapper *tx, const char *sig,
            PyObject *rxObj, const char *slot, const char **member, int flags);
    void sipQtDestroyUniversalSlot(void *rx);
    void *sipQtFindSlot(void *tx, const char *sig, PyObject *rxObj,
            const char *slot, const char **member);
    int sipQtConnect(void *tx, const char *sig, void *rx, const char *slot,
            int type);
    int sipQtDisconnect(void *tx, const char *sig, void *rx, const char *slot);
    int sipQtSameSignalSlotName(const char *s1, const char *s2);
    sipSlot *sipQtFindSipslot(void *tx, void **context);
}
#line 24 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 24 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 24 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 24 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 24 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 24 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 25 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextboundaryfinder.sip"
#include <qtextboundaryfinder.h>
#line 24 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 24 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 24 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 24 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/quuid.sip"
#include <quuid.h>
#line 24 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4321 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    QString sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "AAA",a0,a1,a2);

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

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

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

    return sipRes;
}

void sipVH_QtCore_17(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_18(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QObject*a0,QEvent*a1)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DD",a0,sipType_QObject,NULL,a1,sipType_QEvent,NULL);

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

    return sipRes;
}

void sipVH_QtCore_19(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_20(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_21(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 271 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 4542 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

    Py_DECREF(sipMethod);

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

    SIP_RELEASE_GIL(sipGILState)

    return sipRes;
}

PY_LONG_LONG sipVH_QtCore_22(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_23(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_24(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const char*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "s",a0);

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

void sipVH_QtCore_25(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_26(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;
}

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

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

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

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

    return sipRes;
}

QVariant sipVH_QtCore_30(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QSystemLocale::QueryType a0,QVariant a1)
{
    QVariant sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "FN",a0,sipType_QSystemLocale_QueryType,new QVariant(a1),sipType_QVariant,NULL);

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

    return sipRes;
}

PY_LONG_LONG sipVH_QtCore_31(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 206 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 4668 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

    Py_DECREF(sipMethod);

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

    SIP_RELEASE_GIL(sipGILState)

    return sipRes;
}

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

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

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

QDateTime sipVH_QtCore_34(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QAbstractFileEngine::FileTime a0)
{
    QDateTime sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "F",a0,sipType_QAbstractFileEngine_FileTime);

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

    return sipRes;
}

QString sipVH_QtCore_35(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QAbstractFileEngine::FileOwner a0)
{
    QString sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "F",a0,sipType_QAbstractFileEngine_FileOwner);

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

    return sipRes;
}

uint sipVH_QtCore_36(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QAbstractFileEngine::FileOwner a0)
{
    uint sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "F",a0,sipType_QAbstractFileEngine_FileOwner);

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

    return sipRes;
}

QString sipVH_QtCore_37(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QAbstractFileEngine::FileName a0)
{
    QString sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "F",a0,sipType_QAbstractFileEngine_FileName);

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

    return sipRes;
}

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

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

    return sipRes;
}

QAbstractFileEngine::FileFlags sipVH_QtCore_39(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QAbstractFileEngine::FileFlags a0)
{
    QAbstractFileEngine::FileFlags sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N",new QAbstractFileEngine::FileFlags(a0),sipType_QAbstractFileEngine_FileFlags,NULL);

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

    return sipRes;
}

QStringList sipVH_QtCore_40(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QDir::Filters a0,const QStringList& a1)
{
    QStringList sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NN",new QDir::Filters(a0),sipType_QDir_Filters,NULL,new QStringList(a1),sipType_QStringList,NULL);

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

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

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

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

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

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

    return sipRes;
}

void sipVH_QtCore_51(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_52(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0,int a1,const QModelIndex& a2)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "iiN",a0,a1,new QModelIndex(a2),sipType_QModelIndex,NULL);

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

    return sipRes;
}

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

QMimeData* sipVH_QtCore_54(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_55(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_56(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_57(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_58(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_59(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_60(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;
}

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

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

    return sipRes;
}

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

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

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

    return sipRes;
}

PY_LONG_LONG sipVH_QtCore_64(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 234 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractfileengine.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 5021 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

    Py_DECREF(sipMethod);

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

    SIP_RELEASE_GIL(sipGILState)

    return sipRes;
}

PY_LONG_LONG sipVH_QtCore_65(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 172 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractfileengine.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 5063 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

    Py_DECREF(sipMethod);

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

    SIP_RELEASE_GIL(sipGILState)

    return sipRes;
}

QAbstractFileEngineIterator* sipVH_QtCore_66(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QDir::Filters a0,const QStringList& a1)
{
    QAbstractFileEngineIterator* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NN",new QDir::Filters(a0),sipType_QDir_Filters,NULL,new QStringList(a1),sipType_QStringList,NULL);

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

    return sipRes;
}

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

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

    return sipRes;
}

bool sipVH_QtCore_68(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_69(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0,int a1,QObject*a2)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "iiD",a0,a1,a2,sipType_QObject,NULL);

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

void sipVH_QtCore_70(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_71(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;
}


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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTextStreamManipulator(qSetRealNumberPrecision(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTextStreamManipulator(qSetPadChar(*a0));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTextStreamManipulator(qSetFieldWidth(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &ws(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &bom(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &reset(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &flush(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &endl(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &center(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &right(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &left(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &scientific(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &fixed(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &lowercasedigits(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &lowercasebase(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &uppercasedigits(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &uppercasebase(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &noforcepoint(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &noforcesign(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &noshowbase(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &forcepoint(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &forcesign(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &showbase(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &hex(*a0);
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &hex(*a0);
            Py_END_ALLOW_THREADS

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

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

    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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &dec(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &oct(*a0);
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &oct(*a0);
            Py_END_ALLOW_THREADS

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

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

    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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &bin(*a0);
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &bin(*a0);
            Py_END_ALLOW_THREADS

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

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

    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 181 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
    sipRes = qpycore_ReturnFactory(a0);
#line 6012 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 164 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
    sipRes = qpycore_ArgumentFactory(a0, a1);
#line 6042 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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_pyqtSignature, "@pyqtSignature(str signature,  str result=None)\n"
    "\n"
    "This is deprecated, use pyqtSlot() instead.\n"
    "\n"
    "This is a decorator applied to Python methods of a QObject that marks them\n"
    "as Qt slots.\n"
    "signature is a string specifying the C++ signature of the slot.\n"
    "result is type of the value returned by the slot.");

extern "C" {static PyObject *func_pyqtSignature(PyObject *,PyObject *, PyObject *);}
static PyObject *func_pyqtSignature(PyObject *,PyObject *sipArgs, PyObject *sipKwds)
{
#line 788 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
    return qpycore_pyqtsignature(sipArgs, sipKwds);
#line 6069 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


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 772 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
    return qpycore_pyqtslot(sipArgs, sipKwds);
#line 6087 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


PyDoc_STRVAR(doc_SIGNAL, "SIGNAL(str) -> str");

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

    {
        const char* a0;
        PyObject *a0Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "AA", &a0Keep, &a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 752 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
    QByteArray ns = QMetaObject::normalizedSignature(a0);
    ns.prepend('2');
    
    if ((sipRes = SIPBytes_FromString(ns.constData())) == NULL)
        sipIsErr = 1;
#line 6113 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            Py_DECREF(a0Keep);

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_SLOT, "SLOT(str) -> str");

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

    {
        const char* a0;
        PyObject *a0Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "AA", &a0Keep, &a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 743 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
    QByteArray ns = QMetaObject::normalizedSignature(a0);
    ns.prepend('1');
    
    if ((sipRes = SIPBytes_FromString(ns.constData())) == NULL)
        sipIsErr = 1;
#line 6152 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            Py_DECREF(a0Keep);

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

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

    return NULL;
}


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 737 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
    Py_INCREF(a1);
    sipRes = a1;
#line 6187 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 731 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
    Py_INCREF(a0);
    sipRes = a0;
#line 6217 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 725 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
    Py_INCREF(a0);
    sipRes = a0;
#line 6247 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 720 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
    sipRes = qpycore_register_int_types(a0);
#line 6276 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 715 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
    sipRes = qpycore_register_int_types(a0);
#line 6307 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 710 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
    sipRes = qpycore_ClassInfo(a0, a1);
#line 6341 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = qQNaN();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = qSNaN();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = qInf();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = qIsNaN(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = qIsFinite(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = qIsInf(a0);
            Py_END_ALLOW_THREADS

            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_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 411 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreapplication.sip"
    // Restore the input hook.
    PyOS_InputHook = qtcore_input_hook;
#line 6537 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 405 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreapplication.sip"
    // Clear the Python input hook installed when the module was initialised.
    PyOS_InputHook = 0;
#line 6564 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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_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 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 6602 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 334 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 6661 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(qUncompress(*a0));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(qCompress(*a0,a1));
            Py_END_ALLOW_THREADS
            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;

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

#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_qSwap, "qSwap(QBitArray, QBitArray)\n"
    "qSwap(QByteArray, QByteArray)\n"
    "qSwap(QUrl, QUrl)");

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

    {
        QBitArray* a0;
        QBitArray* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9", sipType_QBitArray, &a0, sipType_QBitArray, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            qSwap(*a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QByteArray* a0;
        int a0State = 0;
        QByteArray* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QByteArray, &a0, &a0State, sipType_QByteArray, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            qSwap(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QByteArray,a0State);
            sipReleaseType(a1,sipType_QByteArray,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QString* a0;
        int a0State = 0;
        QString* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            qSwap(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QString,a0State);
            sipReleaseType(a1,sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QUrl* a0;
        QUrl* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9", sipType_QUrl, &a0, sipType_QUrl, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            qSwap(*a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QVariant* a0;
        int a0State = 0;
        QVariant* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QVariant,&a0, &a0State, sipType_QVariant,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            qSwap(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QVariant,a0State);
            sipReleaseType(a1,sipType_QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    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 507 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
    sipRes = qpycore_pickle_protocol;
    if (!sipRes)
        sipRes = Py_None;
    
    Py_INCREF(sipRes);
#line 6901 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 500 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
    Py_XDECREF(qpycore_pickle_protocol);
    qpycore_pickle_protocol = a0;
    Py_INCREF(qpycore_pickle_protocol);
#line 6930 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = qrand();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            qsrand(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = qIsNull(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = qFuzzyCompare(a0,a1);
            Py_END_ALLOW_THREADS

            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;

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

            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;

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

            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_qInstallMsgHandler, "qInstallMsgHandler(callable) -> callable");

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

    {
        PyObject * a0;

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

#line 266 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
    // Treat None as the default handler.
    #if QT_VERSION >= 0x050000
    QtMessageHandler old = qInstallMessageHandler((a0 != Py_None) ? qtcore_MsgHandler : 0);
    #else
    QtMsgHandler old = qInstallMsgHandler((a0 != Py_None) ? qtcore_MsgHandler : 0);
    #endif
    
    // 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_MsgHandler) ? qtcore_PyMsgHandler : Py_None;
    Py_INCREF(sipRes);
    
    // Save the new Python handler.
    Py_XDECREF(qtcore_PyMsgHandler);
    qtcore_PyMsgHandler = a0;
    Py_INCREF(qtcore_PyMsgHandler);
#line 7154 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

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

    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 243 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
    Py_BEGIN_ALLOW_THREADS
    qErrnoWarning(a0, "%s", a1);
    Py_END_ALLOW_THREADS
#line 7186 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 250 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
    Py_BEGIN_ALLOW_THREADS
    qErrnoWarning("%s", a0);
    Py_END_ALLOW_THREADS
#line 7204 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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_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 236 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
    Py_BEGIN_ALLOW_THREADS
    qFatal("%s", a0);
    Py_END_ALLOW_THREADS
#line 7236 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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_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 229 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
    Py_BEGIN_ALLOW_THREADS
    qCritical("%s", a0);
    Py_END_ALLOW_THREADS
#line 7268 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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_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 222 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
    Py_BEGIN_ALLOW_THREADS
    qWarning("%s", a0);
    Py_END_ALLOW_THREADS
#line 7300 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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_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 215 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
    Py_BEGIN_ALLOW_THREADS
    qDebug("%s", a0);
    Py_END_ALLOW_THREADS
#line 7332 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = qSharedBuild();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = qVersion();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = qRound64(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = qRound(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = qAbs(a0);
            Py_END_ALLOW_THREADS

            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 239 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
    static struct class_graph {
        const char *name;
        sipTypeDef **type;
        int yes, no;
    } graph[] = {
    #if QT_VERSION >= 0x040400
        {sipName_QSharedMemory, &sipType_QSharedMemory, -1, 1},
    #else
        {0, 0, -1, 1},
    #endif
        {sipName_QObjectCleanupHandler, &sipType_QObjectCleanupHandler, -1, 2},
        {sipName_QMimeData, &sipType_QMimeData, -1, 3},
        {sipName_QSettings, &sipType_QSettings, -1, 4},
        {sipName_QAbstractEventDispatcher, &sipType_QAbstractEventDispatcher, -1, 5},
    #if QT_VERSION >= 0x040400
        {sipName_QThreadPool, &sipType_QThreadPool, -1, 6},
    #else
        {0, 0, -1, 6},
    #endif
        {sipName_QSocketNotifier, &sipType_QSocketNotifier, -1, 7},
        {sipName_QTimer, &sipType_QTimer, -1, 8},
        {sipName_QPluginLoader, &sipType_QPluginLoader, -1, 9},
        {sipName_QSignalMapper, &sipType_QSignalMapper, -1, 10},
    #if QT_VERSION >= 0x040600
        {sipName_QAbstractState, &sipType_QAbstractState, 22, 11},
    #else
        {0, 0, 22, 11},
    #endif
        {sipName_QIODevice, &sipType_QIODevice, 26, 12},
        {sipName_QTranslator, &sipType_QTranslator, -1, 13},
    #if QT_VERSION >= 0x040600
        {sipName_QAbstractTransition, &sipType_QAbstractTransition, 30, 14},
    #else
        {0, 0, 30, 14},
    #endif
        {sipName_QCoreApplication, &sipType_QCoreApplication, -1, 15},
    #if QT_VERSION >= 0x040200
        {sipName_QTimeLine, &sipType_QTimeLine, -1, 16},
    #else
        {0, 0, -1, 16},
    #endif
        {sipName_QAbstractItemModel, &sipType_QAbstractItemModel, 32, 17},
    #if QT_VERSION >= 0x040600
        {sipName_QAbstractAnimation, &sipType_QAbstractAnimation, 34, 18},
    #else
        {0, 0, 34, 18},
    #endif
        {sipName_QEventLoop, &sipType_QEventLoop, -1, 19},
    #if QT_VERSION >= 0x040200
        {sipName_QFileSystemWatcher, &sipType_QFileSystemWatcher, -1, 20},
    #else
        {0, 0, -1, 20},
    #endif
        {sipName_QLibrary, &sipType_QLibrary, -1, 21},
        {sipName_QThread, &sipType_QThread, -1, -1},
    #if QT_VERSION >= 0x040600
        {sipName_QState, &sipType_QState, 25, 23},
        {sipName_QFinalState, &sipType_QFinalState, -1, 24},
        {sipName_QHistoryState, &sipType_QHistoryState, -1, -1},
        {sipName_QStateMachine, &sipType_QStateMachine, -1, -1},
    #else
        {0, 0, 25, 23},
        {0, 0, -1, 24},
        {0, 0, -1, -1},
        {0, 0, -1, -1},
    #endif
        {sipName_QBuffer, &sipType_QBuffer, -1, 27},
        {sipName_QFile, &sipType_QFile, 29, 28},
        {sipName_QProcess, &sipType_QProcess, -1, -1},
        {sipName_QTemporaryFile, &sipType_QTemporaryFile, -1, -1},
    #if QT_VERSION >= 0x040600
        {sipName_QEventTransition, &sipType_QEventTransition, -1, 31},
        {sipName_QSignalTransition, &sipType_QSignalTransition, -1, -1},
    #else
        {0, 0, -1, 31},
        {0, 0, -1, -1},
    #endif
        {sipName_QAbstractListModel, &sipType_QAbstractListModel, -1, 33},
        {sipName_QAbstractTableModel, &sipType_QAbstractTableModel, -1, -1},
    #if QT_VERSION >= 0x040600
        {sipName_QAnimationGroup, &sipType_QAnimationGroup, 37, 35},
        {sipName_QVariantAnimation, &sipType_QVariantAnimation, 39, 36},
        {sipName_QPauseAnimation, &sipType_QPauseAnimation, -1, -1},
        {sipName_QSequentialAnimationGroup, &sipType_QSequentialAnimationGroup, -1, 38},
        {sipName_QParallelAnimationGroup, &sipType_QParallelAnimationGroup, -1, -1},
        {sipName_QPropertyAnimation, &sipType_QPropertyAnimation, -1, -1},
    #else
        {0, 0, 37, 35},
        {0, 0, 39, 36},
        {0, 0, -1, -1},
        {0, 0, -1, 38},
        {0, 0, -1, -1},
        {0, 0, -1, -1},
    #endif
    };
    
    int i = 0;
    
    sipType = 0;
    
    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 7615 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;
    
    #if QT_VERSION >= 0x040200
    case QEvent::DynamicPropertyChange:
            sipType = sipType_QDynamicPropertyChangeEvent;
            break;
    #endif
    
    #if QT_VERSION >= 0x040600
    case QEvent::StateMachineSignal:
            sipType = sipType_QStateMachine_SignalEvent;
            break;
    
    case QEvent::StateMachineWrapped:
            sipType = sipType_QStateMachine_WrappedEvent;
            break;
    #endif
    
    default:
            sipType = 0;
    }
#line 7660 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

    return sipType;
}


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


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QUrl::FormattingOptions((a0 | *a1));
            Py_END_ALLOW_THREADS
            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_FormattingOption[] = {
    {(void *)slot_QUrl_FormattingOption___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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTextStream::NumberFlags((a0 | *a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTextCodec::ConversionFlags((a0 | *a1));
            Py_END_ALLOW_THREADS
            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_QString_SectionFlag___or__(PyObject *,PyObject *);}
static PyObject *slot_QString_SectionFlag___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QString::SectionFlag a0;
        QString::SectionFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QString_SectionFlag, &a0, sipType_QString_SectionFlags, &a1, &a1State))
        {
            QString::SectionFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString::SectionFlags((a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QString_SectionFlags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_QString_SectionFlag[] = {
    {(void *)slot_QString_SectionFlag___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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLocale::NumberOptions((a0 | *a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLibrary::LoadHints((a0 | *a1));
            Py_END_ALLOW_THREADS
            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QIODevice::OpenMode((a0 | *a1));
            Py_END_ALLOW_THREADS
            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_QFile_Permission___or__(PyObject *,PyObject *);}
static PyObject *slot_QFile_Permission___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QFile_Permission, &a0, sipType_QFile_Permissions, &a1, &a1State))
        {
            QFile::Permissions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFile::Permissions((a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QFile_Permissions,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_QFile_Permission[] = {
    {(void *)slot_QFile_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QEventLoop::ProcessEventsFlags((a0 | *a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDirIterator::IteratorFlags((a0 | *a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDir::SortFlags((a0 | *a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDir::Filters((a0 | *a1));
            Py_END_ALLOW_THREADS
            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_QAbstractFileEngine_FileFlag___or__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractFileEngine_FileFlag___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractFileEngine::FileFlag a0;
        QAbstractFileEngine::FileFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QAbstractFileEngine_FileFlag, &a0, sipType_QAbstractFileEngine_FileFlags, &a1, &a1State))
        {
            QAbstractFileEngine::FileFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QAbstractFileEngine::FileFlags((a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QAbstractFileEngine_FileFlags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_QAbstractFileEngine_FileFlag[] = {
    {(void *)slot_QAbstractFileEngine_FileFlag___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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::GestureFlags((a0 | *a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::TouchPointStates((a0 | *a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::InputMethodHints((a0 | *a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::TextInteractionFlags((a0 | *a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::MatchFlags((a0 | *a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::ItemFlags((a0 | *a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::DropActions((a0 | *a1));
            Py_END_ALLOW_THREADS
            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::ToolBarAreas((a0 | *a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::DockWidgetAreas((a0 | *a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::ImageConversionFlags((a0 | *a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::WindowStates((a0 | *a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::WindowFlags((a0 | *a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::Alignment((a0 | *a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::Orientations((a0 | *a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::MouseButtons((a0 | *a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::KeyboardModifiers((a0 | *a1));
            Py_END_ALLOW_THREADS
            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_QXmlStreamReader__Error, {0}}, sipNameNr_Error, 268, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QXmlStreamReader__ReadElementTextBehaviour, {0}}, sipNameNr_ReadElementTextBehaviour, 268, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QXmlStreamReader__TokenType, {0}}, sipNameNr_TokenType, 268, NULL},
    {{5, 0, 0, SIP_TYPE_ENUM, sipNameNr_QVariant__Type, {0}}, sipNameNr_Type, 249, NULL},
    {{4, &enumTypes[3].etd_base, 0, SIP_TYPE_ENUM, sipNameNr_QVariant__Type, {0}}, sipNameNr_Type, 249, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QUuid__Version, {0}}, sipNameNr_Version, 246, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QUuid__Variant, {0}}, sipNameNr_Variant, 246, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QUrl__FormattingOption, {0}}, sipNameNr_FormattingOption, 242, slots_QUrl_FormattingOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QUrl__ParsingMode, {0}}, sipNameNr_ParsingMode, 242, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTimeLine__State, {0}}, sipNameNr_State, 235, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTimeLine__Direction, {0}}, sipNameNr_Direction, 235, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTimeLine__CurveShape, {0}}, sipNameNr_CurveShape, 235, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QThread__Priority, {0}}, sipNameNr_Priority, 231, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTextStream__Status, {0}}, sipNameNr_Status, 224, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTextStream__NumberFlag, {0}}, sipNameNr_NumberFlag, 224, slots_QTextStream_NumberFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTextStream__FieldAlignment, {0}}, sipNameNr_FieldAlignment, 224, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTextStream__RealNumberNotation, {0}}, sipNameNr_RealNumberNotation, 224, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTextCodec__ConversionFlag, {0}}, sipNameNr_ConversionFlag, 218, slots_QTextCodec_ConversionFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTextBoundaryFinder__BoundaryType, {0}}, sipNameNr_BoundaryType, 214, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTextBoundaryFinder__BoundaryReason, {0}}, sipNameNr_BoundaryReason, 214, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSystemSemaphore__SystemSemaphoreError, {0}}, sipNameNr_SystemSemaphoreError, 210, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSystemSemaphore__AccessMode, {0}}, sipNameNr_AccessMode, 210, NULL},
    {{0, 0, 0, SIP_TYPE_ENUM, sipNameNr_QString__NormalizationForm, {0}}, sipNameNr_NormalizationForm, 197, NULL},
    {{0, 0, 0, SIP_TYPE_ENUM, sipNameNr_QString__SplitBehavior, {0}}, sipNameNr_SplitBehavior, 197, NULL},
    {{0, 0, 0, SIP_TYPE_ENUM, sipNameNr_QString__SectionFlag, {0}}, sipNameNr_SectionFlag, 197, slots_QString_SectionFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStateMachine__Error, {0}}, sipNameNr_Error, 191, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStateMachine__RestorePolicy, {0}}, sipNameNr_RestorePolicy, 191, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStateMachine__EventPriority, {0}}, sipNameNr_EventPriority, 191, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QState__ChildMode, {0}}, sipNameNr_ChildMode, 189, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSocketNotifier__Type, {0}}, sipNameNr_Type, 187, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSharedMemory__SharedMemoryError, {0}}, sipNameNr_SharedMemoryError, 180, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSharedMemory__AccessMode, {0}}, sipNameNr_AccessMode, 180, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSettings__Scope, {0}}, sipNameNr_Scope, 176, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSettings__Format, {0}}, sipNameNr_Format, 176, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSettings__Status, {0}}, sipNameNr_Status, 176, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRegExp__CaretMode, {0}}, sipNameNr_CaretMode, 165, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRegExp__PatternSyntax, {0}}, sipNameNr_PatternSyntax, 165, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QReadWriteLock__RecursionMode, {0}}, sipNameNr_RecursionMode, 161, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QProcess__ProcessChannelMode, {0}}, sipNameNr_ProcessChannelMode, 151, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QProcess__ProcessChannel, {0}}, sipNameNr_ProcessChannel, 151, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QProcess__ProcessState, {0}}, sipNameNr_ProcessState, 151, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QProcess__ProcessError, {0}}, sipNameNr_ProcessError, 151, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QProcess__ExitStatus, {0}}, sipNameNr_ExitStatus, 151, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMutex__RecursionMode, {0}}, sipNameNr_RecursionMode, 138, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMetaType__Type, {0}}, sipNameNr_Type, 134, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMetaMethod__MethodType, {0}}, sipNameNr_MethodType, 129, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMetaMethod__Access, {0}}, sipNameNr_Access, 129, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSystemLocale__QueryType, {0}}, sipNameNr_QueryType, 208, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLocale__QuotationStyle, {0}}, sipNameNr_QuotationStyle, 114, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLocale__CurrencySymbolFormat, {0}}, sipNameNr_CurrencySymbolFormat, 114, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLocale__Script, {0}}, sipNameNr_Script, 114, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLocale__MeasurementSystem, {0}}, sipNameNr_MeasurementSystem, 114, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLocale__FormatType, {0}}, sipNameNr_FormatType, 114, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLocale__NumberOption, {0}}, sipNameNr_NumberOption, 114, slots_QLocale_NumberOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLocale__Country, {0}}, sipNameNr_Country, 114, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLocale__Language, {0}}, sipNameNr_Language, 114, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLineF__IntersectType, {0}}, sipNameNr_IntersectType, 92, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLibraryInfo__LibraryLocation, {0}}, sipNameNr_LibraryLocation, 89, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLibrary__LoadHint, {0}}, sipNameNr_LoadHint, 86, slots_QLibrary_LoadHint},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QIODevice__OpenModeFlag, {0}}, sipNameNr_OpenModeFlag, 81, slots_QIODevice_OpenModeFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QHistoryState__HistoryType, {0}}, sipNameNr_HistoryType, 79, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFile__FileHandleFlag, {0}}, sipNameNr_FileHandleFlag, 65, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFile__Permission, {0}}, sipNameNr_Permission, 65, slots_QFile_Permission},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFile__MemoryMapFlags, {0}}, sipNameNr_MemoryMapFlags, 65, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFile__FileError, {0}}, sipNameNr_FileError, 65, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QEventLoop__ProcessEventsFlag, {0}}, sipNameNr_ProcessEventsFlag, 60, slots_QEventLoop_ProcessEventsFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QElapsedTimer__ClockType, {0}}, sipNameNr_ClockType, 56, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QEasingCurve__Type, {0}}, sipNameNr_Type, 54, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDirIterator__IteratorFlag, {0}}, sipNameNr_IteratorFlag, 50, slots_QDirIterator_IteratorFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDir__SortFlag, {0}}, sipNameNr_SortFlag, 45, slots_QDir_SortFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDir__Filter, {0}}, sipNameNr_Filter, 45, slots_QDir_Filter},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDate__MonthNameType, {0}}, sipNameNr_MonthNameType, 42, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDataStream__FloatingPointPrecision, {0}}, sipNameNr_FloatingPointPrecision, 37, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDataStream__Status, {0}}, sipNameNr_Status, 37, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDataStream__ByteOrder, {0}}, sipNameNr_ByteOrder, 37, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDataStream__Version, {0}}, sipNameNr_Version, 37, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCryptographicHash__Algorithm, {0}}, sipNameNr_Algorithm, 35, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QEvent__Type, {0}}, sipNameNr_Type, 58, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCoreApplication__Encoding, {0}}, sipNameNr_Encoding, 33, NULL},
    {{0, 0, 0, SIP_TYPE_ENUM, sipNameNr_QChar__UnicodeVersion, {0}}, sipNameNr_UnicodeVersion, 24, NULL},
    {{0, 0, 0, SIP_TYPE_ENUM, sipNameNr_QChar__CombiningClass, {0}}, sipNameNr_CombiningClass, 24, NULL},
    {{0, 0, 0, SIP_TYPE_ENUM, sipNameNr_QChar__Joining, {0}}, sipNameNr_Joining, 24, NULL},
    {{0, 0, 0, SIP_TYPE_ENUM, sipNameNr_QChar__Decomposition, {0}}, sipNameNr_Decomposition, 24, NULL},
    {{0, 0, 0, SIP_TYPE_ENUM, sipNameNr_QChar__Direction, {0}}, sipNameNr_Direction, 24, NULL},
    {{0, 0, 0, SIP_TYPE_ENUM, sipNameNr_QChar__Category, {0}}, sipNameNr_Category, 24, NULL},
    {{0, 0, 0, SIP_TYPE_ENUM, sipNameNr_QChar__SpecialCharacter, {0}}, sipNameNr_SpecialCharacter, 24, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractFileEngine__FileTime, {0}}, sipNameNr_FileTime, 5, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractFileEngine__FileOwner, {0}}, sipNameNr_FileOwner, 5, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractFileEngine__FileName, {0}}, sipNameNr_FileName, 5, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractFileEngine__FileFlag, {0}}, sipNameNr_FileFlag, 5, slots_QAbstractFileEngine_FileFlag},
    {{-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__CursorMoveStyle, {0}}, sipNameNr_CursorMoveStyle, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__NavigationMode, {0}}, sipNameNr_NavigationMode, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__GestureFlag, {0}}, sipNameNr_GestureFlag, 273, slots_Qt_GestureFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__GestureType, {0}}, sipNameNr_GestureType, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__GestureState, {0}}, sipNameNr_GestureState, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TouchPointState, {0}}, sipNameNr_TouchPointState, 273, slots_Qt_TouchPointState},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__CoordinateSystem, {0}}, sipNameNr_CoordinateSystem, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__AnchorPoint, {0}}, sipNameNr_AnchorPoint, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__InputMethodHint, {0}}, sipNameNr_InputMethodHint, 273, slots_Qt_InputMethodHint},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TileRule, {0}}, sipNameNr_TileRule, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__WindowFrameSection, {0}}, sipNameNr_WindowFrameSection, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__SizeHint, {0}}, sipNameNr_SizeHint, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__SizeMode, {0}}, sipNameNr_SizeMode, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__EventPriority, {0}}, sipNameNr_EventPriority, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__Axis, {0}}, sipNameNr_Axis, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__MaskMode, {0}}, sipNameNr_MaskMode, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TextInteractionFlag, {0}}, sipNameNr_TextInteractionFlag, 273, slots_Qt_TextInteractionFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ItemSelectionMode, {0}}, sipNameNr_ItemSelectionMode, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ApplicationAttribute, {0}}, sipNameNr_ApplicationAttribute, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__WindowModality, {0}}, sipNameNr_WindowModality, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__MatchFlag, {0}}, sipNameNr_MatchFlag, 273, slots_Qt_MatchFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ItemFlag, {0}}, sipNameNr_ItemFlag, 273, slots_Qt_ItemFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ItemDataRole, {0}}, sipNameNr_ItemDataRole, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__CheckState, {0}}, sipNameNr_CheckState, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__DropAction, {0}}, sipNameNr_DropAction, 273, slots_Qt_DropAction},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__LayoutDirection, {0}}, sipNameNr_LayoutDirection, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ToolButtonStyle, {0}}, sipNameNr_ToolButtonStyle, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__InputMethodQuery, {0}}, sipNameNr_InputMethodQuery, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ContextMenuPolicy, {0}}, sipNameNr_ContextMenuPolicy, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__FocusReason, {0}}, sipNameNr_FocusReason, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TransformationMode, {0}}, sipNameNr_TransformationMode, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ClipOperation, {0}}, sipNameNr_ClipOperation, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__FillRule, {0}}, sipNameNr_FillRule, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ShortcutContext, {0}}, sipNameNr_ShortcutContext, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ConnectionType, {0}}, sipNameNr_ConnectionType, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__Corner, {0}}, sipNameNr_Corner, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__CaseSensitivity, {0}}, sipNameNr_CaseSensitivity, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ScrollBarPolicy, {0}}, sipNameNr_ScrollBarPolicy, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__DayOfWeek, {0}}, sipNameNr_DayOfWeek, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TimeSpec, {0}}, sipNameNr_TimeSpec, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__DateFormat, {0}}, sipNameNr_DateFormat, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ToolBarArea, {0}}, sipNameNr_ToolBarArea, 273, slots_Qt_ToolBarArea},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__DockWidgetArea, {0}}, sipNameNr_DockWidgetArea, 273, slots_Qt_DockWidgetArea},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__AnchorAttribute, {0}}, sipNameNr_AnchorAttribute, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__AspectRatioMode, {0}}, sipNameNr_AspectRatioMode, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TextFormat, {0}}, sipNameNr_TextFormat, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__CursorShape, {0}}, sipNameNr_CursorShape, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__UIEffect, {0}}, sipNameNr_UIEffect, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__BrushStyle, {0}}, sipNameNr_BrushStyle, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__PenJoinStyle, {0}}, sipNameNr_PenJoinStyle, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__PenCapStyle, {0}}, sipNameNr_PenCapStyle, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__PenStyle, {0}}, sipNameNr_PenStyle, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ArrowType, {0}}, sipNameNr_ArrowType, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__Key, {0}}, sipNameNr_Key, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__BGMode, {0}}, sipNameNr_BGMode, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ImageConversionFlag, {0}}, sipNameNr_ImageConversionFlag, 273, slots_Qt_ImageConversionFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__WidgetAttribute, {0}}, sipNameNr_WidgetAttribute, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__WindowState, {0}}, sipNameNr_WindowState, 273, slots_Qt_WindowState},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__WindowType, {0}}, sipNameNr_WindowType, 273, slots_Qt_WindowType},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TextElideMode, {0}}, sipNameNr_TextElideMode, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TextFlag, {0}}, sipNameNr_TextFlag, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__AlignmentFlag, {0}}, sipNameNr_AlignmentFlag, 273, slots_Qt_AlignmentFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__SortOrder, {0}}, sipNameNr_SortOrder, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__FocusPolicy, {0}}, sipNameNr_FocusPolicy, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__Orientation, {0}}, sipNameNr_Orientation, 273, slots_Qt_Orientation},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__MouseButton, {0}}, sipNameNr_MouseButton, 273, slots_Qt_MouseButton},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__Modifier, {0}}, sipNameNr_Modifier, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__KeyboardModifier, {0}}, sipNameNr_KeyboardModifier, 273, slots_Qt_KeyboardModifier},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__GlobalColor, {0}}, sipNameNr_GlobalColor, 273, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QtMsgType, {0}}, sipNameNr_QtMsgType, -1, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSysInfo__Endian, {0}}, sipNameNr_Endian, 205, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSysInfo__Sizes, {0}}, sipNameNr_Sizes, 205, NULL},
};

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


/*
 * This defines each type in this module.
 */
static sipTypeDef *typesTable[] = {
    &sipTypeDef_QtCore_QAbstractAnimation.super.ctd_base,
    &enumTypes[90].etd_base,
    &enumTypes[92].etd_base,
    &enumTypes[91].etd_base,
    &sipTypeDef_QtCore_QAbstractEventDispatcher.super.ctd_base,
    &sipTypeDef_QtCore_QAbstractFileEngine.super.ctd_base,
    &enumTypes[89].etd_base,
    &sipTypeDef_QtCore_QAbstractFileEngine_FileFlags.super.ctd_base,
    &enumTypes[88].etd_base,
    &enumTypes[87].etd_base,
    &enumTypes[86].etd_base,
    &sipTypeDef_QtCore_QAbstractFileEngineHandler.super.ctd_base,
    &sipTypeDef_QtCore_QAbstractFileEngineIterator.super.ctd_base,
    &sipTypeDef_QtCore_QAbstractItemModel.super.ctd_base,
    &sipTypeDef_QtCore_QAbstractListModel.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,
    &sipTypeDef_QtCore_QByteArrayMatcher.super.ctd_base,
    &sipTypeDef_QtCore_QChar_1.mtd_base,
    &enumTypes[84].etd_base,
    &enumTypes[80].etd_base,
    &enumTypes[82].etd_base,
    &enumTypes[83].etd_base,
    &enumTypes[81].etd_base,
    &enumTypes[85].etd_base,
    &enumTypes[79].etd_base,
    &sipTypeDef_QtCore_QChildEvent.super.ctd_base,
    &sipTypeDef_QtCore_QCoreApplication.super.ctd_base,
    &enumTypes[78].etd_base,
    &sipTypeDef_QtCore_QCryptographicHash.super.ctd_base,
    &enumTypes[76].etd_base,
    &sipTypeDef_QtCore_QDataStream.super.ctd_base,
    &enumTypes[74].etd_base,
    &enumTypes[72].etd_base,
    &enumTypes[73].etd_base,
    &enumTypes[75].etd_base,
    &sipTypeDef_QtCore_QDate.super.ctd_base,
    &enumTypes[71].etd_base,
    &sipTypeDef_QtCore_QDateTime.super.ctd_base,
    &sipTypeDef_QtCore_QDir.super.ctd_base,
    &enumTypes[70].etd_base,
    &sipTypeDef_QtCore_QDir_Filters.super.ctd_base,
    &enumTypes[69].etd_base,
    &sipTypeDef_QtCore_QDir_SortFlags.super.ctd_base,
    &sipTypeDef_QtCore_QDirIterator.super.ctd_base,
    &enumTypes[68].etd_base,
    &sipTypeDef_QtCore_QDirIterator_IteratorFlags.super.ctd_base,
    &sipTypeDef_QtCore_QDynamicPropertyChangeEvent.super.ctd_base,
    &sipTypeDef_QtCore_QEasingCurve.super.ctd_base,
    &enumTypes[67].etd_base,
    &sipTypeDef_QtCore_QElapsedTimer.super.ctd_base,
    &enumTypes[66].etd_base,
    &sipTypeDef_QtCore_QEvent.super.ctd_base,
    &enumTypes[77].etd_base,
    &sipTypeDef_QtCore_QEventLoop.super.ctd_base,
    &enumTypes[65].etd_base,
    &sipTypeDef_QtCore_QEventLoop_ProcessEventsFlags.super.ctd_base,
    &sipTypeDef_QtCore_QEventTransition.super.ctd_base,
    &sipTypeDef_QtCore_QFSFileEngine.super.ctd_base,
    &sipTypeDef_QtCore_QFile.super.ctd_base,
    &enumTypes[64].etd_base,
    &enumTypes[61].etd_base,
    &sipTypeDef_QtCore_QFile_FileHandleFlags.super.ctd_base,
    &enumTypes[63].etd_base,
    &enumTypes[62].etd_base,
    &sipTypeDef_QtCore_QFile_Permissions.super.ctd_base,
    &sipTypeDef_QtCore_QFileInfo.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[60].etd_base,
    &sipTypeDef_QtCore_QIODevice.super.ctd_base,
    &sipTypeDef_QtCore_QIODevice_OpenMode.super.ctd_base,
    &enumTypes[59].etd_base,
    &sipTypeDef_QtCore_QLatin1Char_0.super.ctd_base,
    &sipTypeDef_QtCore_QLatin1String_0.super.ctd_base,
    &sipTypeDef_QtCore_QLibrary.super.ctd_base,
    &enumTypes[58].etd_base,
    &sipTypeDef_QtCore_QLibrary_LoadHints.super.ctd_base,
    &sipTypeDef_QtCore_QLibraryInfo.super.ctd_base,
    &enumTypes[57].etd_base,
    &sipTypeDef_QtCore_QLine.super.ctd_base,
    &sipTypeDef_QtCore_QLineF.super.ctd_base,
    &enumTypes[56].etd_base,
    &sipTypeDef_QtCore_QList_0101QAbstractAnimation.mtd_base,
    &sipTypeDef_QtCore_QList_0101QAbstractState.mtd_base,
    &sipTypeDef_QtCore_QList_0101QAbstractTransition.mtd_base,
    &sipTypeDef_QtCore_QList_0100QByteArray.mtd_base,
    &sipTypeDef_QtCore_QList_0100QFileInfo.mtd_base,
    &sipTypeDef_QtCore_QList_0100QLocale_Country.mtd_base,
    &sipTypeDef_QtCore_QList_0100QLocale.mtd_base,
    &sipTypeDef_QtCore_QList_0100QModelIndex.mtd_base,
    &sipTypeDef_QtCore_QList_0101QObject.mtd_base,
    &sipTypeDef_QtCore_QList_0600QPair_0100QByteArray_0100QByteArray.mtd_base,
    &sipTypeDef_QtCore_QList_0600QPair_0100QString_0100QString.mtd_base,
    &sipTypeDef_QtCore_QList_0600QPair_1800_1800.mtd_base,
    &sipTypeDef_QtCore_QList_0600QPair_2400_2400.mtd_base,
    &sipTypeDef_QtCore_QList_0100QUrl.mtd_base,
    &sipTypeDef_QtCore_QList_0100QVariant_Type.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_QList_1900.mtd_base,
    &sipTypeDef_QtCore_QLocale.super.ctd_base,
    &enumTypes[54].etd_base,
    &enumTypes[49].etd_base,
    &enumTypes[52].etd_base,
    &enumTypes[55].etd_base,
    &enumTypes[51].etd_base,
    &enumTypes[53].etd_base,
    &sipTypeDef_QtCore_QLocale_NumberOptions.super.ctd_base,
    &enumTypes[48].etd_base,
    &enumTypes[50].etd_base,
    &sipTypeDef_QtCore_QMap_0100QString_0100QVariant.mtd_base,
    &sipTypeDef_QtCore_QMap_1800_0100QVariant.mtd_base,
    &sipTypeDef_QtCore_QMargins.super.ctd_base,
    &sipTypeDef_QtCore_QMetaClassInfo.super.ctd_base,
    &sipTypeDef_QtCore_QMetaEnum.super.ctd_base,
    &sipTypeDef_QtCore_QMetaMethod.super.ctd_base,
    &enumTypes[46].etd_base,
    &enumTypes[45].etd_base,
    &sipTypeDef_QtCore_QMetaObject.super.ctd_base,
    &sipTypeDef_QtCore_QMetaProperty.super.ctd_base,
    &sipTypeDef_QtCore_QMetaType.super.ctd_base,
    &enumTypes[44].etd_base,
    &sipTypeDef_QtCore_QMimeData.super.ctd_base,
    &sipTypeDef_QtCore_QModelIndex.super.ctd_base,
    &sipTypeDef_QtCore_QMutex.super.ctd_base,
    &enumTypes[43].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_QPair_1900_1900.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[42].etd_base,
    &enumTypes[39].etd_base,
    &enumTypes[38].etd_base,
    &enumTypes[41].etd_base,
    &enumTypes[40].etd_base,
    &sipTypeDef_QtCore_QProcessEnvironment.super.ctd_base,
    &sipTypeDef_QtCore_QPropertyAnimation.super.ctd_base,
    &sipTypeDef_QtCore_QPyNullVariant_5.super.ctd_base,
    &sipTypeDef_QtCore_QReadLocker.super.ctd_base,
    &sipTypeDef_QtCore_QReadWriteLock.super.ctd_base,
    &enumTypes[37].etd_base,
    &sipTypeDef_QtCore_QRect.super.ctd_base,
    &sipTypeDef_QtCore_QRectF.super.ctd_base,
    &sipTypeDef_QtCore_QRegExp.super.ctd_base,
    &enumTypes[35].etd_base,
    &enumTypes[36].etd_base,
    &sipTypeDef_QtCore_QResource.super.ctd_base,
    &sipTypeDef_QtCore_QRunnable.super.ctd_base,
    &sipTypeDef_QtCore_QSemaphore.super.ctd_base,
    &sipTypeDef_QtCore_QSequentialAnimationGroup.super.ctd_base,
    &sipTypeDef_QtCore_QSet_0101QAbstractState.mtd_base,
    &sipTypeDef_QtCore_QSet_0100Qt_DayOfWeek.mtd_base,
    &sipTypeDef_QtCore_QSet_1800.mtd_base,
    &sipTypeDef_QtCore_QSet_1900.mtd_base,
    &sipTypeDef_QtCore_QSettings.super.ctd_base,
    &enumTypes[33].etd_base,
    &enumTypes[32].etd_base,
    &enumTypes[34].etd_base,
    &sipTypeDef_QtCore_QSharedMemory.super.ctd_base,
    &enumTypes[31].etd_base,
    &enumTypes[30].etd_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[29].etd_base,
    &sipTypeDef_QtCore_QState.super.ctd_base,
    &enumTypes[28].etd_base,
    &sipTypeDef_QtCore_QStateMachine.super.ctd_base,
    &enumTypes[25].etd_base,
    &enumTypes[27].etd_base,
    &enumTypes[26].etd_base,
    &sipTypeDef_QtCore_QStateMachine_SignalEvent.super.ctd_base,
    &sipTypeDef_QtCore_QStateMachine_WrappedEvent.super.ctd_base,
    &sipTypeDef_QtCore_QString_1.mtd_base,
    &enumTypes[22].etd_base,
    &enumTypes[24].etd_base,
    &sipTypeDef_QtCore_QString_SectionFlags_0.super.ctd_base,
    &enumTypes[23].etd_base,
    &sipTypeDef_QtCore_QStringList_1.mtd_base,
    &sipTypeDef_QtCore_QStringMatcher_0.super.ctd_base,
    &sipTypeDef_QtCore_QStringRef_1.mtd_base,
    &sipTypeDef_QtCore_QSysInfo.super.ctd_base,
    &enumTypes[163].etd_base,
    &enumTypes[164].etd_base,
    &sipTypeDef_QtCore_QSystemLocale.super.ctd_base,
    &enumTypes[47].etd_base,
    &sipTypeDef_QtCore_QSystemSemaphore.super.ctd_base,
    &enumTypes[21].etd_base,
    &enumTypes[20].etd_base,
    &sipTypeDef_QtCore_QTemporaryFile.super.ctd_base,
    &sipTypeDef_QtCore_QTextBoundaryFinder.super.ctd_base,
    &enumTypes[19].etd_base,
    &sipTypeDef_QtCore_QTextBoundaryFinder_BoundaryReasons.super.ctd_base,
    &enumTypes[18].etd_base,
    &sipTypeDef_QtCore_QTextCodec.super.ctd_base,
    &enumTypes[17].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[15].etd_base,
    &enumTypes[14].etd_base,
    &sipTypeDef_QtCore_QTextStream_NumberFlags.super.ctd_base,
    &enumTypes[16].etd_base,
    &enumTypes[13].etd_base,
    &sipTypeDef_QtCore_QTextStreamManipulator.super.ctd_base,
    &sipTypeDef_QtCore_QThread.super.ctd_base,
    &enumTypes[12].etd_base,
    &sipTypeDef_QtCore_QThreadPool.super.ctd_base,
    &sipTypeDef_QtCore_QTime.super.ctd_base,
    &sipTypeDef_QtCore_QTimeLine.super.ctd_base,
    &enumTypes[11].etd_base,
    &enumTypes[10].etd_base,
    &enumTypes[9].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[7].etd_base,
    &sipTypeDef_QtCore_QUrl_FormattingOptions.super.ctd_base,
    &enumTypes[8].etd_base,
    &sipTypeDef_QtCore_QUuid.super.ctd_base,
    &enumTypes[6].etd_base,
    &enumTypes[5].etd_base,
    &sipTypeDef_QtCore_QVariant_4.super.ctd_base,
    &enumTypes[4].etd_base,
    &sipTypeDef_QtCore_QVariantAnimation.super.ctd_base,
    &sipTypeDef_QtCore_QVector_0600QPair_2400_0100QVariant.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_QVector_2400.mtd_base,
    &sipTypeDef_QtCore_QVector_1900.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[0].etd_base,
    &enumTypes[1].etd_base,
    &enumTypes[2].etd_base,
    &sipTypeDef_QtCore_QXmlStreamWriter.super.ctd_base,
    &sipTypeDef_QtCore_Qt.super.ctd_base,
    &sipTypeDef_QtCore_Qt_Alignment.super.ctd_base,
    &enumTypes[154].etd_base,
    &enumTypes[136].etd_base,
    &enumTypes[100].etd_base,
    &enumTypes[111].etd_base,
    &enumTypes[145].etd_base,
    &enumTypes[137].etd_base,
    &enumTypes[107].etd_base,
    &enumTypes[147].etd_base,
    &enumTypes[141].etd_base,
    &enumTypes[129].etd_base,
    &enumTypes[116].etd_base,
    &enumTypes[124].etd_base,
    &enumTypes[127].etd_base,
    &enumTypes[121].etd_base,
    &enumTypes[99].etd_base,
    &enumTypes[128].etd_base,
    &enumTypes[93].etd_base,
    &enumTypes[139].etd_base,
    &enumTypes[133].etd_base,
    &enumTypes[131].etd_base,
    &enumTypes[135].etd_base,
    &sipTypeDef_QtCore_Qt_DockWidgetAreas.super.ctd_base,
    &enumTypes[117].etd_base,
    &sipTypeDef_QtCore_Qt_DropActions.super.ctd_base,
    &enumTypes[106].etd_base,
    &enumTypes[125].etd_base,
    &enumTypes[156].etd_base,
    &enumTypes[122].etd_base,
    &enumTypes[95].etd_base,
    &sipTypeDef_QtCore_Qt_GestureFlags.super.ctd_base,
    &enumTypes[97].etd_base,
    &enumTypes[96].etd_base,
    &enumTypes[161].etd_base,
    &enumTypes[148].etd_base,
    &sipTypeDef_QtCore_Qt_ImageConversionFlags.super.ctd_base,
    &enumTypes[101].etd_base,
    &sipTypeDef_QtCore_Qt_InputMethodHints.super.ctd_base,
    &enumTypes[120].etd_base,
    &enumTypes[115].etd_base,
    &enumTypes[114].etd_base,
    &sipTypeDef_QtCore_Qt_ItemFlags.super.ctd_base,
    &enumTypes[110].etd_base,
    &enumTypes[146].etd_base,
    &enumTypes[160].etd_base,
    &sipTypeDef_QtCore_Qt_KeyboardModifiers.super.ctd_base,
    &enumTypes[118].etd_base,
    &enumTypes[108].etd_base,
    &enumTypes[113].etd_base,
    &sipTypeDef_QtCore_Qt_MatchFlags.super.ctd_base,
    &enumTypes[159].etd_base,
    &enumTypes[158].etd_base,
    &sipTypeDef_QtCore_Qt_MouseButtons.super.ctd_base,
    &enumTypes[94].etd_base,
    &enumTypes[157].etd_base,
    &sipTypeDef_QtCore_Qt_Orientations.super.ctd_base,
    &enumTypes[143].etd_base,
    &enumTypes[142].etd_base,
    &enumTypes[144].etd_base,
    &enumTypes[130].etd_base,
    &enumTypes[126].etd_base,
    &enumTypes[104].etd_base,
    &enumTypes[105].etd_base,
    &enumTypes[155].etd_base,
    &enumTypes[152].etd_base,
    &enumTypes[153].etd_base,
    &enumTypes[138].etd_base,
    &enumTypes[109].etd_base,
    &sipTypeDef_QtCore_Qt_TextInteractionFlags.super.ctd_base,
    &enumTypes[102].etd_base,
    &enumTypes[132].etd_base,
    &enumTypes[134].etd_base,
    &sipTypeDef_QtCore_Qt_ToolBarAreas.super.ctd_base,
    &enumTypes[119].etd_base,
    &enumTypes[98].etd_base,
    &sipTypeDef_QtCore_Qt_TouchPointStates.super.ctd_base,
    &enumTypes[123].etd_base,
    &enumTypes[140].etd_base,
    &enumTypes[149].etd_base,
    &sipTypeDef_QtCore_Qt_WindowFlags.super.ctd_base,
    &enumTypes[103].etd_base,
    &enumTypes[112].etd_base,
    &enumTypes[150].etd_base,
    &sipTypeDef_QtCore_Qt_WindowStates.super.ctd_base,
    &enumTypes[151].etd_base,
    &enumTypes[162].etd_base,
    &sipTypeDef_QtCore_quintptr.mtd_base,
};


/*
 * These define each typedef in this module.
 */
static sipTypedefDef typedefsTable[] = {
    {"QAbstractEventDispatcher::TimerInfo", "QPair<int,int>"},
    {"QAbstractFileEngine::Iterator", "QAbstractFileEngineIterator"},
    {"QBool", "bool"},
    {"QFileInfoList", "QList<QFileInfo>"},
    {"QModelIndexList", "QList<QModelIndex>"},
    {"QObjectList", "QList<QObject*>"},
    {"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", "unsigned long"},
    {"Qt::WFlags", "Qt::WindowFlags"},
    {"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,
    (sipVirtHandlerFunc)sipVH_QtCore_67,
    (sipVirtHandlerFunc)sipVH_QtCore_68,
    (sipVirtHandlerFunc)sipVH_QtCore_69,
    (sipVirtHandlerFunc)sipVH_QtCore_70,
    (sipVirtHandlerFunc)sipVH_QtCore_71,
};


/* This defines the class sub-convertors that this module defines. */
static sipSubClassConvertorDef convertorsTable[] = {
    {sipSubClass_QObject, {141, 255, 0}, NULL},
    {sipSubClass_QEvent, {58, 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 API versions and ranges in use. */
static int apiVersions[] = {sipNameNr_QString, 0, 2, sipNameNr_QString, 2, 0, sipNameNr_QTextStream, 0, 2, sipNameNr_QTextStream, 2, 0, sipNameNr_QVariant, 0, 2, sipNameNr_QVariant, 2, 0, sipNameNr_QVariant, 2, -1, sipNameNr_QUrl, 2, -1, sipNameNr_QTime, 2, -1, sipNameNr_QTextStream, 2, -1, sipNameNr_QString, 2, -1, sipNameNr_QDateTime, 2, -1, sipNameNr_QDate, 2, -1, -1};


/* This defines the global functions where all overloads are versioned. */
static sipVersionedFunctionDef versionedFunctions[] = {
    {sipNameNr_hex_, func_hex_, METH_VARARGS, doc_hex_, 3},
    {sipNameNr_hex, func_hex, METH_VARARGS, NULL, 2},
    {sipNameNr_oct_, func_oct_, METH_VARARGS, doc_oct_, 3},
    {sipNameNr_oct, func_oct, METH_VARARGS, NULL, 2},
    {sipNameNr_bin_, func_bin_, METH_VARARGS, doc_bin_, 3},
    {sipNameNr_bin, func_bin, METH_VARARGS, NULL, 2},
    {-1, 0, 0, 0, -1}
};


/* This defines the Qt support API. */

static sipQtAPI qtAPI = {
    &typesTable[141],
    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_PyQt4_QtCore,
    0,
    1,
    sipStrings_QtCore,
    NULL,
    &qtAPI,
    361,
    typesTable,
    externalTypesTable,
    5,
    enummembers,
    31,
    typedefsTable,
    virtHandlersTable,
    NULL,
    convertorsTable,
    {NULL, NULL, NULL, stringInstances, intInstances, NULL, NULL, NULL, NULL, NULL},
    &module_license,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    apiVersions,
    versionedFunctions
};


/* 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_dec), func_dec, METH_VARARGS, SIP_MLDOC_CAST(doc_dec)},
        {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_pyqtSignature), (PyCFunction)func_pyqtSignature, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_pyqtSignature)},
        {SIP_MLNAME_CAST(sipName_pyqtSlot), (PyCFunction)func_pyqtSlot, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_pyqtSlot)},
        {SIP_MLNAME_CAST(sipName_SIGNAL), func_SIGNAL, METH_VARARGS, SIP_MLDOC_CAST(doc_SIGNAL)},
        {SIP_MLNAME_CAST(sipName_SLOT), func_SLOT, METH_VARARGS, SIP_MLDOC_CAST(doc_SLOT)},
        {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_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_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_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_qSwap), func_qSwap, METH_VARARGS, SIP_MLDOC_CAST(doc_qSwap)},
        {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_qInstallMsgHandler), func_qInstallMsgHandler, METH_VARARGS, SIP_MLDOC_CAST(doc_qInstallMsgHandler)},
        {SIP_MLNAME_CAST(sipName_qErrnoWarning), func_qErrnoWarning, METH_VARARGS, SIP_MLDOC_CAST(doc_qErrnoWarning)},
        {SIP_MLNAME_CAST(sipName_qFatal), func_qFatal, METH_VARARGS, SIP_MLDOC_CAST(doc_qFatal)},
        {SIP_MLNAME_CAST(sipName_qCritical), func_qCritical, METH_VARARGS, SIP_MLDOC_CAST(doc_qCritical)},
        {SIP_MLNAME_CAST(sipName_qWarning), func_qWarning, METH_VARARGS, SIP_MLDOC_CAST(doc_qWarning)},
        {SIP_MLNAME_CAST(sipName_qDebug), func_qDebug, METH_VARARGS, SIP_MLDOC_CAST(doc_qDebug)},
        {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,
        "PyQt4.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_PyQt4_QtCore, sip_methods);
#else
    sipModule = Py_InitModule(const_cast<char *>(sipName_PyQt4_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 821 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
qpycore_init();
#line 9739 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 462 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreapplication.sip"
// Process events from the input hook.
PyOS_InputHook = qtcore_input_hook;
#line 825 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
qpycore_post_init(sipModuleDict);
#line 9765 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

    SIP_MODULE_RETURN(sipModule);
}

#line 196 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 9773 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9777 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


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


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


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


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



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

#line 231 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *seq = PySequence_ITEM(sipPy, i);

            if (!seq || !PySequence_Check(seq) || PySequence_Size(seq) != 2)
            {
                Py_XDECREF(seq);
                return 0;
            }

            PyObject *itm0 = PySequence_ITEM(seq, 0);
            PyObject *itm1 = PySequence_ITEM(seq, 1);

            if (!itm0 || !itm1)
            {
                Py_XDECREF(itm0);
                Py_XDECREF(itm1);
                Py_DECREF(seq);
                return 0;
            }

            if (!sipCanConvertToType(itm0, sipType_QByteArray, SIP_NOT_NONE) ||
                !sipCanConvertToType(itm1, sipType_QByteArray, SIP_NOT_NONE))
            {
                Py_DECREF(itm0);
                Py_DECREF(itm1);
                Py_DECREF(seq);
                return 0;
            }
        }

        return 1;
    }

    QList<QPair<QByteArray, QByteArray> > *ql = new QList<QPair<QByteArray, QByteArray> >;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *seq = PySequence_ITEM(sipPy, i);
        PyObject *itm0 = PySequence_ITEM(seq, 0);
        PyObject *itm1 = PySequence_ITEM(seq, 1);
        int state1, state2;

        QByteArray *s1 = reinterpret_cast<QByteArray *>(sipConvertToType(itm0, sipType_QByteArray, sipTransferObj, SIP_NOT_NONE, &state1, sipIsErr));
        QByteArray *s2 = reinterpret_cast<QByteArray *>(sipConvertToType(itm1, sipType_QByteArray, sipTransferObj, SIP_NOT_NONE, &state2, sipIsErr));
 
        Py_DECREF(itm0);
        Py_DECREF(itm1);
        Py_DECREF(seq);

        if (*sipIsErr)
        {
            sipReleaseType(s1, sipType_QByteArray, state1);
            sipReleaseType(s2, sipType_QByteArray, state2);

            delete ql;
            return 0;
        }

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

        sipReleaseType(s1, sipType_QByteArray, state1);
        sipReleaseType(s2, sipType_QByteArray, state2);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 9895 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


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

#line 201 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        const QPair<QByteArray, QByteArray> &p = sipCpp->at(i);
        QByteArray *s1 = new QByteArray(p.first);
        QByteArray *s2 = new QByteArray(p.second);
        PyObject *pobj;

        if ((pobj = sipBuildResult(NULL, "(NN)", s1, sipType_QByteArray, sipTransferObj, s2, sipType_QByteArray, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete s1;
            delete s2;

            return NULL;
        }

        PyList_SET_ITEM(l, i, pobj);
    }

    return l;
#line 9932 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0600QPair_0100QByteArray_0100QByteArray = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_200,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0600QPair_0100QByteArray_0100QByteArray,
    array_QList_0600QPair_0100QByteArray_0100QByteArray,
    copy_QList_0600QPair_0100QByteArray_0100QByteArray,
    release_QList_0600QPair_0100QByteArray_0100QByteArray,
    convertTo_QList_0600QPair_0100QByteArray_0100QByteArray,
    convertFrom_QList_0600QPair_0100QByteArray_0100QByteArray
};

#line 196 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 9964 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 72 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 9968 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<QPair<QString,QString> > *>(ptr);
    Py_END_ALLOW_THREADS
}



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 231 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *seq = PySequence_ITEM(sipPy, i);

            if (!seq || !PySequence_Check(seq) || PySequence_Size(seq) != 2)
            {
                Py_XDECREF(seq);
                return 0;
            }

            PyObject *itm0 = PySequence_ITEM(seq, 0);
            PyObject *itm1 = PySequence_ITEM(seq, 1);

            if (!itm0 || !itm1)
            {
                Py_XDECREF(itm0);
                Py_XDECREF(itm1);
                Py_DECREF(seq);
                return 0;
            }

            if (!sipCanConvertToType(itm0, sipType_QString, SIP_NOT_NONE) ||
                !sipCanConvertToType(itm1, sipType_QString, SIP_NOT_NONE))
            {
                Py_DECREF(itm0);
                Py_DECREF(itm1);
                Py_DECREF(seq);
                return 0;
            }
        }

        return 1;
    }

    QList<QPair<QString, QString> > *ql = new QList<QPair<QString, QString> >;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *seq = PySequence_ITEM(sipPy, i);
        PyObject *itm0 = PySequence_ITEM(seq, 0);
        PyObject *itm1 = PySequence_ITEM(seq, 1);
        int state1, state2;

        QString *s1 = reinterpret_cast<QString *>(sipConvertToType(itm0, sipType_QString, sipTransferObj, SIP_NOT_NONE, &state1, sipIsErr));
        QString *s2 = reinterpret_cast<QString *>(sipConvertToType(itm1, sipType_QString, sipTransferObj, SIP_NOT_NONE, &state2, sipIsErr));
 
        Py_DECREF(itm0);
        Py_DECREF(itm1);
        Py_DECREF(seq);

        if (*sipIsErr)
        {
            sipReleaseType(s1, sipType_QString, state1);
            sipReleaseType(s2, sipType_QString, state2);

            delete ql;
            return 0;
        }

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

        sipReleaseType(s1, sipType_QString, state1);
        sipReleaseType(s2, sipType_QString, state2);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 10086 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 201 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    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;

        if ((pobj = sipBuildResult(NULL, "(NN)", s1, sipType_QString, sipTransferObj, s2, sipType_QString, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete s1;
            delete s2;

            return NULL;
        }

        PyList_SET_ITEM(l, i, pobj);
    }

    return l;
#line 10123 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0600QPair_0100QString_0100QString = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_1089,
        {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 315 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qset.sip"
#include <qset.h>
#line 10154 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 10158 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QSet<QAbstractState*> *>(ptr);
    Py_END_ALLOW_THREADS
}



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 349 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qset.sip"
    PyObject *it = PyObject_GetIter(sipPy), *itm;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (it == NULL)
            return 0;

        while ((itm = PyIter_Next(it)) != NULL)
        {
            int ok = sipCanConvertToType(itm, sipType_QAbstractState, 0);

            Py_DECREF(itm);

            if (!ok)
            {
                Py_DECREF(it);
                return 0;
            }
        }

        Py_DECREF(it);
        return 1;
    }

    if (it == NULL)
    {
        *sipIsErr = 1;
        return 0;
    }

    QSet<QAbstractState *> *qs = new QSet<QAbstractState *>;

    while ((itm = PyIter_Next(it)) != NULL)
    {
        QAbstractState *t = reinterpret_cast<QAbstractState *>(sipConvertToType(itm, sipType_QAbstractState, sipTransferObj, 0, 0, sipIsErr));

        Py_DECREF(itm);

        if (*sipIsErr)
        {
            delete qs;
            Py_DECREF(it);
            return 0;
        }

        qs->insert(t);
    }

    Py_DECREF(it);

    *sipCppPtr = qs;

    return sipGetState(sipTransferObj);
#line 10253 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 319 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qset.sip"
    // Create the set.
    PyObject *s;

    if ((s = PySet_New(NULL)) == NULL)
        return NULL;

    // Set the set elements.
    QSet<QAbstractState *>::const_iterator it = sipCpp->constBegin();
    QSet<QAbstractState *>::const_iterator end = sipCpp->constEnd();

    while (it != end)
    {
        PyObject *tobj;

        // The explicit (void *) cast allows QAbstractState to be const.
        if ((tobj = sipConvertFromType((void *)*it, sipType_QAbstractState, sipTransferObj)) == NULL)
        {
            Py_DECREF(s);
            return NULL;
        }

        PySet_Add(s, tobj);

        ++it;
    }

    return s;
#line 10290 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QSet_0101QAbstractState = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_7482,
        {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 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 10321 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstracttransition.sip"
#include <qabstracttransition.h>
#line 10325 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<QAbstractTransition*> *>(ptr);
    Py_END_ALLOW_THREADS
}



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 145 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_QAbstractTransition, 0));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<QAbstractTransition *> *ql = new QList<QAbstractTransition *>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        QAbstractTransition *t = reinterpret_cast<QAbstractTransition *>(sipConvertToType(itm, sipType_QAbstractTransition, sipTransferObj, 0, 0, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            delete ql;
            return 0;
        }

        ql->append(t);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 10410 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 119 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QAbstractTransition *t = sipCpp->at(i);
        PyObject *tobj;

        // The explicit (void *) cast allows QAbstractTransition to be const.
        if ((tobj = sipConvertFromType((void *)t, sipType_QAbstractTransition, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 10443 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0101QAbstractTransition = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_2158,
        {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 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 10474 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 102 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 10478 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<QUrl> *>(ptr);
    Py_END_ALLOW_THREADS
}



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 59 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_QUrl, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<QUrl> *ql = new QList<QUrl>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        QUrl *t = reinterpret_cast<QUrl *>(sipConvertToType(itm, sipType_QUrl, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_QUrl, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_QUrl, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 10568 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QUrl *t = new QUrl(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_QUrl, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 10602 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QUrl = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_32030,
        {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 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 10633 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 10637 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<QLocale> *>(ptr);
    Py_END_ALLOW_THREADS
}



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 59 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_QLocale, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<QLocale> *ql = new QList<QLocale>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        QLocale *t = reinterpret_cast<QLocale *>(sipConvertToType(itm, sipType_QLocale, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_QLocale, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_QLocale, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 10727 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QLocale *t = new QLocale(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_QLocale, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 10761 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QLocale = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_22381,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QLocale,
    array_QList_0100QLocale,
    copy_QList_0100QLocale,
    release_QList_0100QLocale,
    convertTo_QList_0100QLocale,
    convertFrom_QList_0100QLocale
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 10792 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10796 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<Qt::DayOfWeek> *>(ptr);
    Py_END_ALLOW_THREADS
}



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 59 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_Qt_DayOfWeek, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<Qt::DayOfWeek> *ql = new QList<Qt::DayOfWeek>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        Qt::DayOfWeek *t = reinterpret_cast<Qt::DayOfWeek *>(sipConvertToType(itm, sipType_Qt_DayOfWeek, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_Qt_DayOfWeek, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_Qt_DayOfWeek, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 10886 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


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

#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        Qt::DayOfWeek *t = new Qt::DayOfWeek(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_Qt_DayOfWeek, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 10920 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100Qt_DayOfWeek = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_9176,
        {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 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 10951 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 10955 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<QAbstractAnimation*> *>(ptr);
    Py_END_ALLOW_THREADS
}



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 145 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_QAbstractAnimation, 0));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<QAbstractAnimation *> *ql = new QList<QAbstractAnimation *>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        QAbstractAnimation *t = reinterpret_cast<QAbstractAnimation *>(sipConvertToType(itm, sipType_QAbstractAnimation, sipTransferObj, 0, 0, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            delete ql;
            return 0;
        }

        ql->append(t);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 11040 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 119 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QAbstractAnimation *t = sipCpp->at(i);
        PyObject *tobj;

        // The explicit (void *) cast allows QAbstractAnimation to be const.
        if ((tobj = sipConvertFromType((void *)t, sipType_QAbstractAnimation, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 11073 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0101QAbstractAnimation = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_2746,
        {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 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11104 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 11108 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<QAbstractState*> *>(ptr);
    Py_END_ALLOW_THREADS
}



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 145 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_QAbstractState, 0));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<QAbstractState *> *ql = new QList<QAbstractState *>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        QAbstractState *t = reinterpret_cast<QAbstractState *>(sipConvertToType(itm, sipType_QAbstractState, sipTransferObj, 0, 0, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            delete ql;
            return 0;
        }

        ql->append(t);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 11193 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 119 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QAbstractState *t = sipCpp->at(i);
        PyObject *tobj;

        // The explicit (void *) cast allows QAbstractState to be const.
        if ((tobj = sipConvertFromType((void *)t, sipType_QAbstractState, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 11226 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0101QAbstractState = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_6263,
        {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 139 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qhash.sip"
#include <qhash.h>
#line 11257 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11261 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QHash<int,QByteArray> *>(ptr);
    Py_END_ALLOW_THREADS
}



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 190 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qhash.sip"
    PyObject *kobj, *tobj;
    SIP_SSIZE_T i = 0;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PyDict_Check(sipPy))
            return 0;

        while (PyDict_Next(sipPy, &i, &kobj, &tobj))
            if (!sipCanConvertToType(tobj, sipType_QByteArray, SIP_NOT_NONE))
                return 0;

        return 1;
    }

    QHash<int, QByteArray> *qm = new QHash<int, QByteArray>;
 
    while (PyDict_Next(sipPy, &i, &kobj, &tobj))
    {
        int state, k = SIPLong_AsLong(kobj);
        QByteArray *t = reinterpret_cast<QByteArray *>(sipConvertToType(tobj, sipType_QByteArray, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_QByteArray, state);

            delete qm;
            return 0;
        }

        qm->insert(k, *t);

        sipReleaseType(t, sipType_QByteArray, state);
    }
 
    *sipCppPtr = qm;
 
    return sipGetState(sipTransferObj);
#line 11341 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 143 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qhash.sip"
    // Create the dictionary.
    PyObject *d = PyDict_New();

    if (!d)
        return NULL;

    // Set the dictionary elements.
    QHash<int, QByteArray>::const_iterator i = sipCpp->constBegin();

    while (i != sipCpp->constEnd())
    {
        QByteArray *t = new QByteArray(i.value());

        PyObject *kobj = SIPLong_FromLong(i.key());
        PyObject *tobj = sipConvertFromNewType(t, sipType_QByteArray, sipTransferObj);

        if (kobj == NULL || tobj == NULL || PyDict_SetItem(d, kobj, tobj) < 0)
        {
            Py_DECREF(d);

            if (kobj)
            {
                Py_DECREF(kobj);
            }

            if (tobj)
            {
                Py_DECREF(tobj);
            }
            else
            {
                delete t;
            }

            return NULL;
        }

        Py_DECREF(kobj);
        Py_DECREF(tobj);

        ++i;
    }

    return d;
#line 11395 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QHash_1800_0100QByteArray = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_7504,
        {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 139 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmap.sip"
#include <qmap.h>
#line 11426 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11430 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11433 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QMap<int,QVariant> *>(ptr);
    Py_END_ALLOW_THREADS
}



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 190 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmap.sip"
    PyObject *kobj, *tobj;
    SIP_SSIZE_T i = 0;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PyDict_Check(sipPy))
            return 0;

        while (PyDict_Next(sipPy, &i, &kobj, &tobj))
            if (!sipCanConvertToType(tobj, sipType_QVariant, SIP_NOT_NONE))
                return 0;

        return 1;
    }

    QMap<int, QVariant> *qm = new QMap<int, QVariant>;
 
    while (PyDict_Next(sipPy, &i, &kobj, &tobj))
    {
        int state, k = SIPLong_AsLong(kobj);
        QVariant *t = reinterpret_cast<QVariant *>(sipConvertToType(tobj, sipType_QVariant, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_QVariant, state);

            delete qm;
            return 0;
        }

        qm->insert(k, *t);

        sipReleaseType(t, sipType_QVariant, state);
    }
 
    *sipCppPtr = qm;
 
    return sipGetState(sipTransferObj);
#line 11513 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 143 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmap.sip"
    // Create the dictionary.
    PyObject *d = PyDict_New();

    if (!d)
        return NULL;

    // Set the dictionary elements.
    QMap<int, QVariant>::const_iterator i = sipCpp->constBegin();

    while (i != sipCpp->constEnd())
    {
        QVariant *t = new QVariant(i.value());

        PyObject *kobj = SIPLong_FromLong(i.key());
        PyObject *tobj = sipConvertFromNewType(t, sipType_QVariant, sipTransferObj);

        if (kobj == NULL || tobj == NULL || PyDict_SetItem(d, kobj, tobj) < 0)
        {
            Py_DECREF(d);

            if (kobj)
            {
                Py_DECREF(kobj);
            }

            if (tobj)
            {
                Py_DECREF(tobj);
            }
            else
            {
                delete t;
            }

            return NULL;
        }

        Py_DECREF(kobj);
        Py_DECREF(tobj);

        ++i;
    }

    return d;
#line 11567 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QMap_1800_0100QVariant = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_12671,
        {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 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11598 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11602 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<QByteArray> *>(ptr);
    Py_END_ALLOW_THREADS
}



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 59 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_QByteArray, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<QByteArray> *ql = new QList<QByteArray>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        QByteArray *t = reinterpret_cast<QByteArray *>(sipConvertToType(itm, sipType_QByteArray, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_QByteArray, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_QByteArray, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 11692 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QByteArray *t = new QByteArray(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_QByteArray, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 11726 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QByteArray = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_14875,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QByteArray,
    array_QList_0100QByteArray,
    copy_QList_0100QByteArray,
    release_QList_0100QByteArray,
    convertTo_QList_0100QByteArray,
    convertFrom_QList_0100QByteArray
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
#include <qvector.h>
#line 11757 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 275 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 11761 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QVector<QXmlStreamNotationDeclaration> *>(ptr);
    Py_END_ALLOW_THREADS
}



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 59 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PyList_Check(sipPy))
            return 0;

        for (SIP_SSIZE_T i = 0; i < PyList_GET_SIZE(sipPy); ++i)
            if (!sipCanConvertToType(PyList_GET_ITEM(sipPy, i), sipType_QXmlStreamNotationDeclaration, SIP_NOT_NONE))
                return 0;

        return 1;
    }

    QVector<QXmlStreamNotationDeclaration> *qv = new QVector<QXmlStreamNotationDeclaration>;
 
    for (SIP_SSIZE_T i = 0; i < PyList_GET_SIZE(sipPy); ++i)
    {
        int state;
        QXmlStreamNotationDeclaration *t = reinterpret_cast<QXmlStreamNotationDeclaration *>(sipConvertToType(PyList_GET_ITEM(sipPy, i), sipType_QXmlStreamNotationDeclaration, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_QXmlStreamNotationDeclaration, state);

            delete qv;
            return 0;
        }

        qv->append(*t);

        sipReleaseType(t, sipType_QXmlStreamNotationDeclaration, state);
    }
 
    *sipCppPtr = qv;
 
    return sipGetState(sipTransferObj);
#line 11838 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QXmlStreamNotationDeclaration *t = new QXmlStreamNotationDeclaration(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_QXmlStreamNotationDeclaration, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 11872 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QVector_0100QXmlStreamNotationDeclaration = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_83,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QVector_0100QXmlStreamNotationDeclaration,
    array_QVector_0100QXmlStreamNotationDeclaration,
    copy_QVector_0100QXmlStreamNotationDeclaration,
    release_QVector_0100QXmlStreamNotationDeclaration,
    convertTo_QVector_0100QXmlStreamNotationDeclaration,
    convertFrom_QVector_0100QXmlStreamNotationDeclaration
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
#include <qvector.h>
#line 11903 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 252 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 11907 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QVector<QXmlStreamNamespaceDeclaration> *>(ptr);
    Py_END_ALLOW_THREADS
}



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 59 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PyList_Check(sipPy))
            return 0;

        for (SIP_SSIZE_T i = 0; i < PyList_GET_SIZE(sipPy); ++i)
            if (!sipCanConvertToType(PyList_GET_ITEM(sipPy, i), sipType_QXmlStreamNamespaceDeclaration, SIP_NOT_NONE))
                return 0;

        return 1;
    }

    QVector<QXmlStreamNamespaceDeclaration> *qv = new QVector<QXmlStreamNamespaceDeclaration>;
 
    for (SIP_SSIZE_T i = 0; i < PyList_GET_SIZE(sipPy); ++i)
    {
        int state;
        QXmlStreamNamespaceDeclaration *t = reinterpret_cast<QXmlStreamNamespaceDeclaration *>(sipConvertToType(PyList_GET_ITEM(sipPy, i), sipType_QXmlStreamNamespaceDeclaration, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_QXmlStreamNamespaceDeclaration, state);

            delete qv;
            return 0;
        }

        qv->append(*t);

        sipReleaseType(t, sipType_QXmlStreamNamespaceDeclaration, state);
    }
 
    *sipCppPtr = qv;
 
    return sipGetState(sipTransferObj);
#line 11984 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QXmlStreamNamespaceDeclaration *t = new QXmlStreamNamespaceDeclaration(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_QXmlStreamNamespaceDeclaration, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 12018 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QVector_0100QXmlStreamNamespaceDeclaration = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_43,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QVector_0100QXmlStreamNamespaceDeclaration,
    array_QVector_0100QXmlStreamNamespaceDeclaration,
    copy_QVector_0100QXmlStreamNamespaceDeclaration,
    release_QVector_0100QXmlStreamNamespaceDeclaration,
    convertTo_QVector_0100QXmlStreamNamespaceDeclaration,
    convertFrom_QVector_0100QXmlStreamNamespaceDeclaration
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
#include <qvector.h>
#line 12049 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 298 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 12053 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QVector<QXmlStreamEntityDeclaration> *>(ptr);
    Py_END_ALLOW_THREADS
}



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 59 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PyList_Check(sipPy))
            return 0;

        for (SIP_SSIZE_T i = 0; i < PyList_GET_SIZE(sipPy); ++i)
            if (!sipCanConvertToType(PyList_GET_ITEM(sipPy, i), sipType_QXmlStreamEntityDeclaration, SIP_NOT_NONE))
                return 0;

        return 1;
    }

    QVector<QXmlStreamEntityDeclaration> *qv = new QVector<QXmlStreamEntityDeclaration>;
 
    for (SIP_SSIZE_T i = 0; i < PyList_GET_SIZE(sipPy); ++i)
    {
        int state;
        QXmlStreamEntityDeclaration *t = reinterpret_cast<QXmlStreamEntityDeclaration *>(sipConvertToType(PyList_GET_ITEM(sipPy, i), sipType_QXmlStreamEntityDeclaration, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_QXmlStreamEntityDeclaration, state);

            delete qv;
            return 0;
        }

        qv->append(*t);

        sipReleaseType(t, sipType_QXmlStreamEntityDeclaration, state);
    }
 
    *sipCppPtr = qv;
 
    return sipGetState(sipTransferObj);
#line 12130 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QXmlStreamEntityDeclaration *t = new QXmlStreamEntityDeclaration(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_QXmlStreamEntityDeclaration, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 12164 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QVector_0100QXmlStreamEntityDeclaration = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_237,
        {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 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmap.sip"
#include <qmap.h>
#line 12195 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 72 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12199 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12202 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12205 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12208 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QMap<QString,QVariant> *>(ptr);
    Py_END_ALLOW_THREADS
}



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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmap.sip"
    PyObject *t1obj, *t2obj;
    SIP_SSIZE_T i = 0;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PyDict_Check(sipPy))
            return 0;

        while (PyDict_Next(sipPy, &i, &t1obj, &t2obj))
        {
            if (!sipCanConvertToType(t1obj, sipType_QString, SIP_NOT_NONE))
                return 0;

            if (!sipCanConvertToType(t2obj, sipType_QVariant, SIP_NOT_NONE))
                return 0;
        } 

        return 1;
    }

    QMap<QString, QVariant> *qm = new QMap<QString, QVariant>;
 
    while (PyDict_Next(sipPy, &i, &t1obj, &t2obj))
    {
        int state1, state2;

        QString *t1 = reinterpret_cast<QString *>(sipConvertToType(t1obj, sipType_QString, sipTransferObj, SIP_NOT_NONE, &state1, sipIsErr));
        QVariant *t2 = reinterpret_cast<QVariant *>(sipConvertToType(t2obj, sipType_QVariant, sipTransferObj, SIP_NOT_NONE, &state2, sipIsErr));
 
        if (*sipIsErr)
        {
            sipReleaseType(t1, sipType_QString, state1);
            sipReleaseType(t2, sipType_QVariant, state2);

            delete qm;
            return 0;
        }

        qm->insert(*t1, *t2);

        sipReleaseType(t1, sipType_QString, state1);
        sipReleaseType(t2, sipType_QVariant, state2);
    }
 
    *sipCppPtr = qm;
 
    return sipGetState(sipTransferObj);
#line 12297 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmap.sip"
    // Create the dictionary.
    PyObject *d = PyDict_New();

    if (!d)
        return NULL;

    // Set the dictionary elements.
    QMap<QString, QVariant>::const_iterator i = sipCpp->constBegin();

    while (i != sipCpp->constEnd())
    {
        QString *t1 = new QString(i.key());
        QVariant *t2 = new QVariant(i.value());

        PyObject *t1obj = sipConvertFromNewType(t1, sipType_QString, sipTransferObj);
        PyObject *t2obj = sipConvertFromNewType(t2, sipType_QVariant, sipTransferObj);

        if (t1obj == NULL || t2obj == NULL || PyDict_SetItem(d, t1obj, t2obj) < 0)
        {
            Py_DECREF(d);

            if (t1obj)
            {
                Py_DECREF(t1obj);
            }
            else
            {
                delete t1;
            }

            if (t2obj)
            {
                Py_DECREF(t2obj);
            }
            else
            {
                delete t2;
            }

            return NULL;
        }

        Py_DECREF(t1obj);
        Py_DECREF(t2obj);

        ++i;
    }

    return d;
#line 12356 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QMap_0100QString_0100QVariant = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_6286,
        {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 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 12387 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12391 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12394 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<QVariant> *>(ptr);
    Py_END_ALLOW_THREADS
}



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 59 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_QVariant, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<QVariant> *ql = new QList<QVariant>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        QVariant *t = reinterpret_cast<QVariant *>(sipConvertToType(itm, sipType_QVariant, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_QVariant, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_QVariant, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 12484 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QVariant *t = new QVariant(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_QVariant, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 12518 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QVariant = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_19581,
        {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 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qhash.sip"
#include <qhash.h>
#line 12549 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 72 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12553 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12556 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12559 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12562 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QHash<QString,QVariant> *>(ptr);
    Py_END_ALLOW_THREADS
}



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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qhash.sip"
    PyObject *t1obj, *t2obj;
    SIP_SSIZE_T i = 0;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PyDict_Check(sipPy))
            return 0;

        while (PyDict_Next(sipPy, &i, &t1obj, &t2obj))
        {
            if (!sipCanConvertToType(t1obj, sipType_QString, SIP_NOT_NONE))
                return 0;

            if (!sipCanConvertToType(t2obj, sipType_QVariant, SIP_NOT_NONE))
                return 0;
        } 

        return 1;
    }

    QHash<QString, QVariant> *qm = new QHash<QString, QVariant>;
 
    while (PyDict_Next(sipPy, &i, &t1obj, &t2obj))
    {
        int state1, state2;

        QString *t1 = reinterpret_cast<QString *>(sipConvertToType(t1obj, sipType_QString, sipTransferObj, SIP_NOT_NONE, &state1, sipIsErr));
        QVariant *t2 = reinterpret_cast<QVariant *>(sipConvertToType(t2obj, sipType_QVariant, sipTransferObj, SIP_NOT_NONE, &state2, sipIsErr));
 
        if (*sipIsErr)
        {
            sipReleaseType(t1, sipType_QString, state1);
            sipReleaseType(t2, sipType_QVariant, state2);

            delete qm;
            return 0;
        }

        qm->insert(*t1, *t2);

        sipReleaseType(t1, sipType_QString, state1);
        sipReleaseType(t2, sipType_QVariant, state2);
    }
 
    *sipCppPtr = qm;
 
    return sipGetState(sipTransferObj);
#line 12651 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qhash.sip"
    // Create the dictionary.
    PyObject *d = PyDict_New();

    if (!d)
        return NULL;

    // Set the dictionary elements.
    QHash<QString, QVariant>::const_iterator i = sipCpp->constBegin();

    while (i != sipCpp->constEnd())
    {
        QString *t1 = new QString(i.key());
        QVariant *t2 = new QVariant(i.value());

        PyObject *t1obj = sipConvertFromNewType(t1, sipType_QString, sipTransferObj);
        PyObject *t2obj = sipConvertFromNewType(t2, sipType_QVariant, sipTransferObj);

        if (t1obj == NULL || t2obj == NULL || PyDict_SetItem(d, t1obj, t2obj) < 0)
        {
            Py_DECREF(d);

            if (t1obj)
            {
                Py_DECREF(t1obj);
            }
            else
            {
                delete t1;
            }

            if (t2obj)
            {
                Py_DECREF(t2obj);
            }
            else
            {
                delete t2;
            }

            return NULL;
        }

        Py_DECREF(t1obj);
        Py_DECREF(t2obj);

        ++i;
    }

    return d;
#line 12710 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QHash_0100QString_0100QVariant = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_5159,
        {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 247 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
#include <qvector.h>
#include <qpair.h>
#line 12742 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12746 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QVector<QPair<qreal,QVariant> > *>(ptr);
    Py_END_ALLOW_THREADS
}



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 280 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PyList_Check(sipPy))
            return 0;

        for (SIP_SSIZE_T i = 0; i < PyList_GET_SIZE(sipPy); ++i)
        {
            PyObject *tup = PyList_GET_ITEM(sipPy, i);

            if (PyTuple_Size(tup) != 2)
                return 0;

            if (!sipCanConvertToType(PyTuple_GET_ITEM(tup, 1), sipType_QVariant, SIP_NOT_NONE))
                return 0;
        }

        return 1;
    }

    QVector<QPair<qreal, QVariant> > *qv = new QVector<QPair<qreal, QVariant> >;
 
    for (SIP_SSIZE_T i = 0; i < PyList_GET_SIZE(sipPy); ++i)
    {
        PyObject *tup = PyList_GET_ITEM(sipPy, i);
        int state;
        QVariant *s;
        QPair<qreal, QVariant> p;

        p.first = PyFloat_AsDouble(PyTuple_GET_ITEM(tup, 0));

        s = reinterpret_cast<QVariant *>(sipConvertToType(PyTuple_GET_ITEM(tup, 1), sipType_QVariant, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));
 
        if (*sipIsErr)
        {
            sipReleaseType(s, sipType_QVariant, state);

            delete qv;
            return 0;
        }

        p.second = *s;

        qv->append(p);

        sipReleaseType(s, sipType_QVariant, state);
    }

    *sipCppPtr = qv;

    return sipGetState(sipTransferObj);
#line 12838 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 252 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        const QPair<qreal, QVariant> &p = sipCpp->at(i);
        QVariant *pt = new QVariant(p.second);
        PyObject *pobj;

        if ((pobj = sipBuildResult(NULL, "(dN)", p.first, pt, sipType_QVariant, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete pt;

            return NULL;
        }

        PyList_SET_ITEM(l, i, pobj);
    }

    return l;
#line 12873 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QVector_0600QPair_2400_0100QVariant = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_961,
        {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 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 12904 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 12908 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<QObject*> *>(ptr);
    Py_END_ALLOW_THREADS
}



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 145 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_QObject, 0));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<QObject *> *ql = new QList<QObject *>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        QObject *t = reinterpret_cast<QObject *>(sipConvertToType(itm, sipType_QObject, sipTransferObj, 0, 0, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            delete ql;
            return 0;
        }

        ql->append(t);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 12993 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 119 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QObject *t = sipCpp->at(i);
        PyObject *tobj;

        // The explicit (void *) cast allows QObject to be const.
        if ((tobj = sipConvertFromType((void *)t, sipType_QObject, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 13026 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0101QObject = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_19597,
        {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 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 13057 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 13061 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<QModelIndex> *>(ptr);
    Py_END_ALLOW_THREADS
}



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 59 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_QModelIndex, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<QModelIndex> *ql = new QList<QModelIndex>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        QModelIndex *t = reinterpret_cast<QModelIndex *>(sipConvertToType(itm, sipType_QModelIndex, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_QModelIndex, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_QModelIndex, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 13151 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QModelIndex *t = new QModelIndex(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_QModelIndex, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 13185 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QModelIndex = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_12690,
        {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 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 13216 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 13220 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<QFileInfo> *>(ptr);
    Py_END_ALLOW_THREADS
}



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 59 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_QFileInfo, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<QFileInfo> *ql = new QList<QFileInfo>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        QFileInfo *t = reinterpret_cast<QFileInfo *>(sipConvertToType(itm, sipType_QFileInfo, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_QFileInfo, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_QFileInfo, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 13310 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QFileInfo *t = new QFileInfo(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_QFileInfo, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 13344 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QFileInfo = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_16963,
        {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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpynullvariant.sip"
#include <qvariant.h>

typedef QVariant QPyNullVariant;
#line 13377 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13381 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QPyNullVariant_5_type, "QPyNullVariant.type() -> Type");

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

    {
        const QPyNullVariant *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPyNullVariant, &sipCpp))
        {
            QVariant::Type sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->type();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QVariant_Type);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPyNullVariant, sipName_type, doc_QPyNullVariant_5_type);

    return NULL;
}


PyDoc_STRVAR(doc_QPyNullVariant_5_userType, "QPyNullVariant.userType() -> int");

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

    {
        const QPyNullVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->userType();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPyNullVariant, sipName_userType, doc_QPyNullVariant_5_userType);

    return NULL;
}


PyDoc_STRVAR(doc_QPyNullVariant_5_typeName, "QPyNullVariant.typeName() -> str");

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

    {
        QPyNullVariant *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPyNullVariant, &sipCpp))
        {
            const char*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->typeName();
            Py_END_ALLOW_THREADS

            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_QPyNullVariant, sipName_typeName, doc_QPyNullVariant_5_typeName);

    return NULL;
}


PyDoc_STRVAR(doc_QPyNullVariant_5_isNull, "QPyNullVariant.isNull() -> bool");

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

    {
        const QPyNullVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPyNullVariant, sipName_isNull, doc_QPyNullVariant_5_isNull);

    return NULL;
}


extern "C" {static int slot_QPyNullVariant_5___bool__(PyObject *);}
static int slot_QPyNullVariant_5___bool__(PyObject *sipSelf)
{
    QPyNullVariant *sipCpp = reinterpret_cast<QPyNullVariant *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPyNullVariant));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 42 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpynullvariant.sip"
        // This makes QPyNullVariant behave like None when truth testing.
        sipRes = 0;
#line 13522 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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

    return NULL;
}


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

    delete reinterpret_cast<QPyNullVariant *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QPyNullVariant_5(sipSimpleWrapper *);}
static void dealloc_QPyNullVariant_5(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QPyNullVariant_5(sipGetAddress(sipSelf),0);
    }
}


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

    {
        PyObject * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "P0", &a0))
        {
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpynullvariant.sip"
        sipCpp = qpycore_qpynullvariant(a0);
#line 13577 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QPyNullVariant_5[] = {
    {(void *)slot_QPyNullVariant_5___bool__, bool_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QPyNullVariant_5[] = {
    {SIP_MLNAME_CAST(sipName_isNull), meth_QPyNullVariant_5_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QPyNullVariant_5_isNull)},
    {SIP_MLNAME_CAST(sipName_type), meth_QPyNullVariant_5_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QPyNullVariant_5_type)},
    {SIP_MLNAME_CAST(sipName_typeName), meth_QPyNullVariant_5_typeName, METH_VARARGS, SIP_MLDOC_CAST(doc_QPyNullVariant_5_typeName)},
    {SIP_MLNAME_CAST(sipName_userType), meth_QPyNullVariant_5_userType, METH_VARARGS, SIP_MLDOC_CAST(doc_QPyNullVariant_5_userType)}
};

PyDoc_STRVAR(doc_QPyNullVariant_5, "\1QPyNullVariant(object)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QPyNullVariant_5 = {
{
    {
        5,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QPyNullVariant,
        {0}
    },
    {
        sipNameNr_QPyNullVariant,
        {0, 0, 1},
        4, methods_QPyNullVariant_5,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QPyNullVariant_5,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QPyNullVariant_5,
    init_type_QPyNullVariant_5,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QPyNullVariant_5,
    0,
    0,
    0,
    release_QPyNullVariant_5,
    cast_QPyNullVariant_5,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 472 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 13660 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 13664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13667 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 13670 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 337 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 13673 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 53 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 13676 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 13679 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 13682 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDevice(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->device();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCodec(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCodec(a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->codec();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoFormatting(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoFormatting();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoFormattingIndent(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoFormattingIndent();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeAttribute(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeAttribute(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QXmlStreamAttribute* a0;
        QXmlStreamWriter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, sipType_QXmlStreamAttribute, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeAttribute(*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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeAttributes(*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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeCDATA(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeCharacters(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeComment(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeDTD(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeEmptyElement(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeEmptyElement(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeTextElement(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeTextElement(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeEndDocument();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeEndElement();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeEntityReference(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeNamespace(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeDefaultNamespace(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeProcessingInstruction(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeStartDocument();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeStartDocument(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1b", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeStartDocument(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeStartElement(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeStartElement(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeCurrentToken(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasError();
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QXmlStreamWriter *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QXmlStreamWriter();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        QIODevice* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QIODevice, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QXmlStreamWriter(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        QByteArray* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J0", sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QXmlStreamWriter(a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QByteArray,a0State);

            return sipCpp;
        }
    }

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        QString* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QString,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QXmlStreamWriter(a0);
            Py_END_ALLOW_THREADS

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


pyqt4ClassTypeDef sipTypeDef_QtCore_QXmlStreamWriter = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 337 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 14833 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 14837 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 14840 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 14843 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 323 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 14846 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 796 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 14849 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
#include <qvector.h>
#line 14852 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 298 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 14855 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
#include <qvector.h>
#line 14858 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 275 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 14861 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
#include <qvector.h>
#line 14864 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 252 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 14867 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 53 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 14870 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDevice(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->device();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addData(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addData(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clear();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->atEnd();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->readNext();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->tokenType();
            Py_END_ALLOW_THREADS

            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;

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

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNamespaceProcessing(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->namespaceProcessing();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isStartDocument();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEndDocument();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isStartElement();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEndElement();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isCharacters();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isWhitespace();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isCDATA();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isComment();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDTD();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEntityReference();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isProcessingInstruction();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isStandaloneDocument();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->documentVersion());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->documentEncoding());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->lineNumber();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->columnNumber();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->characterOffset();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QXmlStreamAttributes(sipCpp->attributes());
            Py_END_ALLOW_THREADS

            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() -> str\n"
    "QXmlStreamReader.readElementText(QXmlStreamReader.ReadElementTextBehaviour) -> str");

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

    {
        QXmlStreamReader *sipCpp;

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

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

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

    {
        QXmlStreamReader::ReadElementTextBehaviour a0;
        QXmlStreamReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QXmlStreamReader, &sipCpp, sipType_QXmlStreamReader_ReadElementTextBehaviour, &a0))
        {
            QString*sipRes;

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

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->name());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->namespaceUri());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->qualifiedName());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->prefix());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->processingInstructionTarget());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->processingInstructionData());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->text());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QXmlStreamNamespaceDeclarations(sipCpp->namespaceDeclarations());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addExtraNamespaceDeclaration(*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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addExtraNamespaceDeclarations(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QXmlStreamNotationDeclarations(sipCpp->notationDeclarations());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QXmlStreamEntityDeclarations(sipCpp->entityDeclarations());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->dtdName());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->dtdPublicId());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->dtdSystemId());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->raiseError(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->error();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasError();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEntityResolver(a0);
            Py_END_ALLOW_THREADS

            sipKeepReference(sipSelf, -11, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->entityResolver();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->readNextStartElement();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->skipCurrentElement();
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QXmlStreamReader *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QXmlStreamReader();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        QIODevice* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QIODevice, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QXmlStreamReader(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QByteArray* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QXmlStreamReader(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QXmlStreamReader(*a0);
            Py_END_ALLOW_THREADS
            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), meth_QXmlStreamReader_readElementText, METH_VARARGS, 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), 271},
    {sipName_Comment, static_cast<int>(QXmlStreamReader::Comment), 271},
    {sipName_CustomError, static_cast<int>(QXmlStreamReader::CustomError), 269},
    {sipName_DTD, static_cast<int>(QXmlStreamReader::DTD), 271},
    {sipName_EndDocument, static_cast<int>(QXmlStreamReader::EndDocument), 271},
    {sipName_EndElement, static_cast<int>(QXmlStreamReader::EndElement), 271},
    {sipName_EntityReference, static_cast<int>(QXmlStreamReader::EntityReference), 271},
    {sipName_ErrorOnUnexpectedElement, static_cast<int>(QXmlStreamReader::ErrorOnUnexpectedElement), 270},
    {sipName_IncludeChildElements, static_cast<int>(QXmlStreamReader::IncludeChildElements), 270},
    {sipName_Invalid, static_cast<int>(QXmlStreamReader::Invalid), 271},
    {sipName_NoError, static_cast<int>(QXmlStreamReader::NoError), 269},
    {sipName_NoToken, static_cast<int>(QXmlStreamReader::NoToken), 271},
    {sipName_NotWellFormedError, static_cast<int>(QXmlStreamReader::NotWellFormedError), 269},
    {sipName_PrematureEndOfDocumentError, static_cast<int>(QXmlStreamReader::PrematureEndOfDocumentError), 269},
    {sipName_ProcessingInstruction, static_cast<int>(QXmlStreamReader::ProcessingInstruction), 271},
    {sipName_SkipChildElements, static_cast<int>(QXmlStreamReader::SkipChildElements), 270},
    {sipName_StartDocument, static_cast<int>(QXmlStreamReader::StartDocument), 271},
    {sipName_StartElement, static_cast<int>(QXmlStreamReader::StartElement), 271},
    {sipName_UnexpectedElementError, static_cast<int>(QXmlStreamReader::UnexpectedElementError), 269},
};

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


pyqt4ClassTypeDef sipTypeDef_QtCore_QXmlStreamReader = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 323 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 16663 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 16667 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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&);

    return sipVH_QtCore_0(sipGILState, 0, 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;

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQXmlStreamEntityResolver *>(sipCppV);
    else
        delete reinterpret_cast<QXmlStreamEntityResolver *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQXmlStreamEntityResolver();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QXmlStreamEntityResolver* a0;

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

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


pyqt4ClassTypeDef sipTypeDef_QtCore_QXmlStreamEntityResolver = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 298 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 16919 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 796 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 16923 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->name());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->notationName());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->systemId());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->publicId());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->value());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QXmlStreamEntityDeclaration::operator!=(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QXmlStreamEntityDeclaration::operator==(*a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QXmlStreamEntityDeclaration *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QXmlStreamEntityDeclaration();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QXmlStreamEntityDeclaration* a0;

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

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


pyqt4ClassTypeDef sipTypeDef_QtCore_QXmlStreamEntityDeclaration = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 275 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 17302 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 796 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 17306 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->name());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->systemId());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->publicId());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QXmlStreamNotationDeclaration::operator!=(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QXmlStreamNotationDeclaration::operator==(*a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QXmlStreamNotationDeclaration *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QXmlStreamNotationDeclaration();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QXmlStreamNotationDeclaration* a0;

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

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


pyqt4ClassTypeDef sipTypeDef_QtCore_QXmlStreamNotationDeclaration = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 252 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 17625 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 17629 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 796 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 17632 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->prefix());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->namespaceUri());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QXmlStreamNamespaceDeclaration::operator!=(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QXmlStreamNamespaceDeclaration::operator==(*a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QXmlStreamNamespaceDeclaration *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QXmlStreamNamespaceDeclaration();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QXmlStreamNamespaceDeclaration* a0;

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

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QXmlStreamNamespaceDeclaration(*a0,*a1);
            Py_END_ALLOW_THREADS
            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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QXmlStreamNamespaceDeclaration = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 53 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 17940 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 17944 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 17947 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 796 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 17950 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

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

            return sipConvertFromNewType(sipRes,sipType_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->value(*a0));
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->append(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->append(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QXmlStreamAttribute* a0;
        QXmlStreamAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp, sipType_QXmlStreamAttribute, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->append(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasAttribute(*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;
        const QXmlStreamAttributes *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasAttribute(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QXmlStreamAttribute(sipCpp->at(a0));
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clear();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

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

            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;

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

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QXmlStreamAttributes *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->count();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->data();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->fill(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->first();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->indexOf(*a0,a1);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insert(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->last();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->lastIndexOf(*a0,a1);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->prepend(*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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->remove(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
        QXmlStreamAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->remove(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->replace(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->size();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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 241 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
// It looks like you can't assign QBool to int.
sipRes = bool(sipCpp->contains(*a0));
#line 18676 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 185 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
int len;

len = sipCpp->count();

if ((a0 = (int)sipConvertFromSequenceIndex(a0, len)) < 0)
    sipIsErr = 1;
else
    sipCpp->remove(a0);
#line 18715 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return -1;

            return 0;
        }
    }

    {
        PyObject * a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1T", &PySlice_Type, &a0))
        {
            int sipIsErr = 0;

#line 197 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 18748 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 138 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
int len;

len = sipCpp->count();

if ((a0 = (int)sipConvertFromSequenceIndex(a0, len)) < 0)
    sipIsErr = 1;
else
    (*sipCpp)[a0] = *a1;
#line 18791 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 150 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 18840 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 126 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 18881 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 217 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 18919 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QXmlStreamAttributes::operator==(*a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QXmlStreamAttributes::operator+=(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    {
        const QXmlStreamAttribute* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QXmlStreamAttribute, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QXmlStreamAttributes::operator+=(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QXmlStreamAttributes::operator!=(*a0);
            Py_END_ALLOW_THREADS

            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 19063 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QXmlStreamAttributes *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QXmlStreamAttributes();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QXmlStreamAttributes* a0;

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

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


pyqt4ClassTypeDef sipTypeDef_QtCore_QXmlStreamAttributes = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 19256 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 19260 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 796 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 19263 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->namespaceUri());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->name());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->qualifiedName());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->prefix());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->value());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDefault();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QXmlStreamAttribute::operator!=(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QXmlStreamAttribute::operator==(*a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QXmlStreamAttribute *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QXmlStreamAttribute();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QXmlStreamAttribute(*a0,*a1);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QXmlStreamAttribute(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return sipCpp;
        }
    }

    {
        const QXmlStreamAttribute* a0;

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

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


pyqt4ClassTypeDef sipTypeDef_QtCore_QXmlStreamAttribute = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qwaitcondition.sip"
#include <qwaitcondition.h>
#line 19713 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmutex.sip"
#include <qmutex.h>
#line 19717 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qreadwritelock.sip"
#include <qreadwritelock.h>
#line 19720 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->wakeOne();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->wakeAll();
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QWaitCondition *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QWaitCondition();
            Py_END_ALLOW_THREADS

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


pyqt4ClassTypeDef sipTypeDef_QtCore_QWaitCondition = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 199 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
#include <qvector.h>
#line 19956 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"



extern "C" {static void assign_QVector_2400(void *, SIP_SSIZE_T, const void *);}
static void assign_QVector_2400(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QVector<qreal> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QVector<qreal> *>(sipSrc);
}


extern "C" {static void *array_QVector_2400(SIP_SSIZE_T);}
static void *array_QVector_2400(SIP_SSIZE_T sipNrElem)
{
    return new QVector<qreal>[sipNrElem];
}


extern "C" {static void *copy_QVector_2400(const void *, SIP_SSIZE_T);}
static void *copy_QVector_2400(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QVector<qreal>(reinterpret_cast<const QVector<qreal> *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QVector_2400(void *, int);}
static void release_QVector_2400(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QVector<qreal> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QVector_2400(PyObject *, void **, int *, PyObject *);}
static int convertTo_QVector_2400(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QVector<qreal> **sipCppPtr = reinterpret_cast<QVector<qreal> **>(sipCppPtrV);

#line 228 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
        return PyList_Check(sipPy);

    QVector<qreal> *ql = new QVector<qreal>;
 
    for (SIP_SSIZE_T i = 0; i < PyList_GET_SIZE(sipPy); ++i)
        ql->append(PyFloat_AsDouble(PyList_GET_ITEM(sipPy, i)));
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 20010 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QVector_2400(void *, PyObject *);}
static PyObject *convertFrom_QVector_2400(void *sipCppV, PyObject *)
{
   QVector<qreal> *sipCpp = reinterpret_cast<QVector<qreal> *>(sipCppV);

#line 203 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        PyObject *pobj;

        if ((pobj = PyFloat_FromDouble(sipCpp->value(i))) == NULL)
        {
            Py_DECREF(l);

            return NULL;
        }

        PyList_SET_ITEM(l, i, pobj);
    }

    return l;
#line 20042 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QVector_2400 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_22501,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QVector_2400,
    array_QVector_2400,
    copy_QVector_2400,
    release_QVector_2400,
    convertTo_QVector_2400,
    convertFrom_QVector_2400
};

#line 150 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
#include <qvector.h>
#line 20073 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"



extern "C" {static void assign_QVector_1900(void *, SIP_SSIZE_T, const void *);}
static void assign_QVector_1900(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QVector<uint> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QVector<uint> *>(sipSrc);
}


extern "C" {static void *array_QVector_1900(SIP_SSIZE_T);}
static void *array_QVector_1900(SIP_SSIZE_T sipNrElem)
{
    return new QVector<uint>[sipNrElem];
}


extern "C" {static void *copy_QVector_1900(const void *, SIP_SSIZE_T);}
static void *copy_QVector_1900(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QVector<uint>(reinterpret_cast<const QVector<uint> *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QVector_1900(void *, int);}
static void release_QVector_1900(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QVector<uint> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QVector_1900(PyObject *, void **, int *, PyObject *);}
static int convertTo_QVector_1900(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QVector<uint> **sipCppPtr = reinterpret_cast<QVector<uint> **>(sipCppPtrV);

#line 181 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
        return PyList_Check(sipPy);

    QVector<unsigned> *qv = new QVector<unsigned>;
 
    for (SIP_SSIZE_T i = 0; i < PyList_GET_SIZE(sipPy); ++i)
        qv->append(PyLong_AsUnsignedLong(PyList_GET_ITEM(sipPy, i)));
 
    *sipCppPtr = qv;
 
    return sipGetState(sipTransferObj);
#line 20127 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QVector_1900(void *, PyObject *);}
static PyObject *convertFrom_QVector_1900(void *sipCppV, PyObject *)
{
   QVector<uint> *sipCpp = reinterpret_cast<QVector<uint> *>(sipCppV);

#line 154 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        PyObject *pobj;

        // Convert to a Python long to make sure it doesn't get interpreted as
        // a signed value.
        if ((pobj = PyLong_FromUnsignedLong(sipCpp->value(i))) == NULL)
        {
            Py_DECREF(l);

            return NULL;
        }

        PyList_SET_ITEM(l, i, pobj);
    }

    return l;
#line 20161 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QVector_1900 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_25559,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QVector_1900,
    array_QVector_1900,
    copy_QVector_1900,
    release_QVector_1900,
    convertTo_QVector_1900,
    convertFrom_QVector_1900
};

#line 101 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
#include <qvector.h>
#line 20192 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QVector<int> *>(ptr);
    Py_END_ALLOW_THREADS
}



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 132 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
        return PyList_Check(sipPy);

    QVector<int> *qv = new QVector<int>;
 
    for (SIP_SSIZE_T i = 0; i < PyList_GET_SIZE(sipPy); ++i)
        qv->append(SIPLong_AsLong(PyList_GET_ITEM(sipPy, i)));
 
    *sipCppPtr = qv;
 
    return sipGetState(sipTransferObj);
#line 20246 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 105 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        PyObject *pobj;

        // Convert to a Python long to make sure it doesn't get interpreted as
        // a signed value.
        if ((pobj = SIPLong_FromLong(sipCpp->value(i))) == NULL)
        {
            Py_DECREF(l);

            return NULL;
        }

        PyList_SET_ITEM(l, i, pobj);
    }

    return l;
#line 20280 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QVector_1800 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_28715,
        {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 414 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 20311 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 20315 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


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


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


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


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



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

#line 444 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PyList_Check(sipPy))
            return 0;

        for (SIP_SSIZE_T i = 0; i < PyList_GET_SIZE(sipPy); ++i)
            if (!sipCanConvertToEnum(PyList_GET_ITEM(sipPy, i), sipType_QVariant_Type))
                return 0;

        return 1;
    }

    QList<QVariant::Type> *ql = new QList<QVariant::Type>;

    for (SIP_SSIZE_T i = 0; i < PyList_GET_SIZE(sipPy); ++i)
    {
        long l = SIPLong_AsLong(PyList_GET_ITEM(sipPy, i));
        ql->append(static_cast<QVariant::Type>(l));
    }

    *sipCppPtr = ql;

    return sipGetState(sipTransferObj);
#line 20380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0100QVariant_Type(void *, PyObject *);}
static PyObject *convertFrom_QList_0100QVariant_Type(void *sipCppV, PyObject *)
{
   QList<QVariant::Type> *sipCpp = reinterpret_cast<QList<QVariant::Type> *>(sipCppV);

#line 418 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QVariant::Type e = sipCpp->at(i);
        PyObject *eobj;

        if ((eobj = sipConvertFromEnum(e, sipType_QVariant_Type)) == NULL)
        {
            Py_DECREF(l);

            return NULL;
        }

        PyList_SET_ITEM(l, i, eobj);
    }

    return l;
#line 20413 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QVariant_Type = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_7570,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QVariant_Type,
    array_QList_0100QVariant_Type,
    copy_QList_0100QVariant_Type,
    release_QList_0100QVariant_Type,
    convertTo_QList_0100QVariant_Type,
    convertFrom_QList_0100QVariant_Type
};

#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 20444 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"



extern "C" {static void assign_QVariant_5(void *, SIP_SSIZE_T, const void *);}
static void assign_QVariant_5(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_5(SIP_SSIZE_T);}
static void *array_QVariant_5(SIP_SSIZE_T sipNrElem)
{
    return new QVariant[sipNrElem];
}


extern "C" {static void *copy_QVariant_5(const void *, SIP_SSIZE_T);}
static void *copy_QVariant_5(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QVariant(reinterpret_cast<const QVariant *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QVariant_5(void *, int);}
static void release_QVariant_5(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QVariant *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QVariant_5(PyObject *, void **, int *, PyObject *);}
static int convertTo_QVariant_5(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QVariant **sipCppPtr = reinterpret_cast<QVariant **>(sipCppPtrV);

#line 273 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
    if (!sipIsErr)
        // We can always convert to a QVariant.
        return 1;

    // If it is a null QVariant then just return it.
    if (Py_TYPE(sipPy) == sipTypeAsPyTypeObject(sipType_QPyNullVariant))
    {
        *sipCppPtr = reinterpret_cast<QVariant *>(
                sipConvertToType(sipPy, sipType_QPyNullVariant, sipTransferObj,
                        SIP_NO_CONVERTORS, 0, sipIsErr));

        return 0;
    }

    QVariant var = qpycore_PyObject_AsQVariant(sipPy, sipIsErr);

    if (*sipIsErr)
        return 0;

    *sipCppPtr = new QVariant(var);

    return sipGetState(sipTransferObj);
#line 20508 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QVariant_5(void *, PyObject *);}
static PyObject *convertFrom_QVariant_5(void *sipCppV, PyObject *)
{
   QVariant *sipCpp = reinterpret_cast<QVariant *>(sipCppV);

#line 298 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
    return qpycore_PyObject_FromQVariant(*sipCpp);
#line 20519 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


PyDoc_STRVAR(doc_QVariant_5_nameToType, "QVariant.nameToType(str) -> Type");

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

    {
        const char* a0;
        PyObject *a0Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "AA", &a0Keep, &a0))
        {
            QVariant::Type sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QVariant::nameToType(a0);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return sipConvertFromEnum(sipRes,sipType_QVariant_Type);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QVariant_5_typeToName, "QVariant.typeToName(Type) -> str");

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

    {
        QVariant::Type a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = QVariant::typeToName(a0);
            Py_END_ALLOW_THREADS

            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_typeToName, doc_QVariant_5_typeToName);

    return NULL;
}


static PyMethodDef methods_QVariant_5[] = {
    {SIP_MLNAME_CAST(sipName_nameToType), meth_QVariant_5_nameToType, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariant_5_nameToType)},
    {SIP_MLNAME_CAST(sipName_typeToName), meth_QVariant_5_typeToName, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariant_5_typeToName)}
};

static sipEnumMemberDef enummembers_QVariant_5[] = {
    {sipName_BitArray, static_cast<int>(QVariant::BitArray), 250},
    {sipName_Bitmap, static_cast<int>(QVariant::Bitmap), 250},
    {sipName_Bool, static_cast<int>(QVariant::Bool), 250},
    {sipName_Brush, static_cast<int>(QVariant::Brush), 250},
    {sipName_ByteArray, static_cast<int>(QVariant::ByteArray), 250},
    {sipName_Char, static_cast<int>(QVariant::Char), 250},
    {sipName_Color, static_cast<int>(QVariant::Color), 250},
    {sipName_Cursor, static_cast<int>(QVariant::Cursor), 250},
    {sipName_Date, static_cast<int>(QVariant::Date), 250},
    {sipName_DateTime, static_cast<int>(QVariant::DateTime), 250},
    {sipName_Double, static_cast<int>(QVariant::Double), 250},
    {sipName_EasingCurve, static_cast<int>(QVariant::EasingCurve), 250},
    {sipName_Font, static_cast<int>(QVariant::Font), 250},
    {sipName_Hash, static_cast<int>(QVariant::Hash), 250},
    {sipName_Icon, static_cast<int>(QVariant::Icon), 250},
    {sipName_Image, static_cast<int>(QVariant::Image), 250},
    {sipName_Int, static_cast<int>(QVariant::Int), 250},
    {sipName_Invalid, static_cast<int>(QVariant::Invalid), 250},
    {sipName_KeySequence, static_cast<int>(QVariant::KeySequence), 250},
    {sipName_Line, static_cast<int>(QVariant::Line), 250},
    {sipName_LineF, static_cast<int>(QVariant::LineF), 250},
    {sipName_List, static_cast<int>(QVariant::List), 250},
    {sipName_Locale, static_cast<int>(QVariant::Locale), 250},
    {sipName_LongLong, static_cast<int>(QVariant::LongLong), 250},
    {sipName_Map, static_cast<int>(QVariant::Map), 250},
    {sipName_Matrix, static_cast<int>(QVariant::Matrix), 250},
    {sipName_Matrix4x4, static_cast<int>(QVariant::Matrix4x4), 250},
    {sipName_Palette, static_cast<int>(QVariant::Palette), 250},
    {sipName_Pen, static_cast<int>(QVariant::Pen), 250},
    {sipName_Pixmap, static_cast<int>(QVariant::Pixmap), 250},
    {sipName_Point, static_cast<int>(QVariant::Point), 250},
    {sipName_PointF, static_cast<int>(QVariant::PointF), 250},
    {sipName_Polygon, static_cast<int>(QVariant::Polygon), 250},
    {sipName_Quaternion, static_cast<int>(QVariant::Quaternion), 250},
    {sipName_Rect, static_cast<int>(QVariant::Rect), 250},
    {sipName_RectF, static_cast<int>(QVariant::RectF), 250},
    {sipName_RegExp, static_cast<int>(QVariant::RegExp), 250},
    {sipName_Region, static_cast<int>(QVariant::Region), 250},
    {sipName_Size, static_cast<int>(QVariant::Size), 250},
    {sipName_SizeF, static_cast<int>(QVariant::SizeF), 250},
    {sipName_SizePolicy, static_cast<int>(QVariant::SizePolicy), 250},
    {sipName_String, static_cast<int>(QVariant::String), 250},
    {sipName_StringList, static_cast<int>(QVariant::StringList), 250},
    {sipName_TextFormat, static_cast<int>(QVariant::TextFormat), 250},
    {sipName_TextLength, static_cast<int>(QVariant::TextLength), 250},
    {sipName_Time, static_cast<int>(QVariant::Time), 250},
    {sipName_Transform, static_cast<int>(QVariant::Transform), 250},
    {sipName_UInt, static_cast<int>(QVariant::UInt), 250},
    {sipName_ULongLong, static_cast<int>(QVariant::ULongLong), 250},
    {sipName_Url, static_cast<int>(QVariant::Url), 250},
    {sipName_UserType, static_cast<int>(QVariant::UserType), 250},
    {sipName_Vector2D, static_cast<int>(QVariant::Vector2D), 250},
    {sipName_Vector3D, static_cast<int>(QVariant::Vector3D), 250},
    {sipName_Vector4D, static_cast<int>(QVariant::Vector4D), 250},
};


sipMappedTypeDef sipTypeDef_QtCore_QVariant_5 = {
    {
        5,
        0,
        0,
        SIP_TYPE_ALLOW_NONE|SIP_TYPE_MAPPED,
        sipNameNr_QVariant,
        {0}
    },
    {
        sipNameNr_QVariant,
        {0, 0, 1},
        2, methods_QVariant_5,
        54, enummembers_QVariant_5,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QVariant_5,
    array_QVariant_5,
    copy_QVariant_5,
    release_QVariant_5,
    convertTo_QVariant_5,
    convertFrom_QVariant_5
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 20679 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 20683 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qeasingcurve.sip"
#include <qeasingcurve.h>
#line 20686 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 20689 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 20692 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 20695 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 102 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 20698 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 163 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 20701 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 20704 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 108 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qline.sip"
#include <qline.h>
#line 20707 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qline.sip"
#include <qline.h>
#line 20710 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 107 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 20713 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 20716 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 114 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 20719 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 20722 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qhash.sip"
#include <qhash.h>
#line 20725 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 72 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 20728 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 20731 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmap.sip"
#include <qmap.h>
#line 20734 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 20737 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 401 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 20740 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 245 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 20743 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 20746 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 67 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 20749 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 20752 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbitarray.sip"
#include <qbitarray.h>
#line 20755 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 20758 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


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

    {
        const QList<QVariant>* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QList_0100QVariant,&a0, &a0State))
        {
            QVariant*sipRes = 0;

#line 165 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
        // We don't implement this as a Python ctor to allow an empty Python list to be
        // handled as a Python object.
        sipRes = new QVariant(*a0);
#line 20778 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast<QList<QVariant> *>(a0),sipType_QList_0100QVariant,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_fromList, NULL);

    return NULL;
}


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

    {
        const QMap<QString,QVariant>* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QMap_0100QString_0100QVariant,&a0, &a0State))
        {
            QVariant*sipRes = 0;

#line 172 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
        // We don't implement this as a Python ctor to allow an empty Python dictionary
        // to be handled as a Python object.
        sipRes = new QVariant(*a0);
#line 20809 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast<QMap<QString,QVariant> *>(a0),sipType_QMap_0100QString_0100QVariant,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_fromMap, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVariant, &sipCpp))
        {
            QVariant::Type sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->type();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QVariant_Type);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_type, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->userType();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_userType, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVariant, &sipCpp))
        {
            const char*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->typeName();
            Py_END_ALLOW_THREADS

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

    return NULL;
}


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

    {
        QVariant::Type a0;
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->canConvert(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_canConvert, NULL);

    return NULL;
}


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

    {
        QVariant::Type a0;
        QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->convert(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_convert, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_isValid, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_isNull, NULL);

    return NULL;
}


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

    {
        QVariant *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVariant, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clear();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_clear, NULL);

    return NULL;
}


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

    {
        QVariant *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVariant, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->detach();
            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_detach, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDetached();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_isDetached, NULL);

    return NULL;
}


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

    {
        bool a0;
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toInt(&a0);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(ib)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toInt, NULL);

    return NULL;
}


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

    {
        bool a0;
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toUInt(&a0);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(ub)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toUInt, NULL);

    return NULL;
}


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

    {
        bool a0;
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toLongLong(&a0);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(nb)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toLongLong, NULL);

    return NULL;
}


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

    {
        bool a0;
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toULongLong(&a0);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(ob)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toULongLong, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toBool();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toBool, NULL);

    return NULL;
}


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

    {
        bool a0;
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toDouble(&a0);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(db)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toDouble, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->toByteArray());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toByteArray, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QBitArray(sipCpp->toBitArray());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toBitArray, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toString, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->toStringList());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toStringList, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QChar(sipCpp->toChar());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toChar, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDate(sipCpp->toDate());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toDate, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTime(sipCpp->toTime());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toTime, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTime(sipCpp->toDateTime());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toDateTime, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVariant, &sipCpp))
        {
            QList<QVariant>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QVariant>(sipCpp->toList());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toList, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVariant, &sipCpp))
        {
            QMap<QString,QVariant>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QMap<QString,QVariant>(sipCpp->toMap());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toMap, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVariant, &sipCpp))
        {
            QHash<QString,QVariant>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QHash<QString,QVariant>(sipCpp->toHash());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toHash, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint(sipCpp->toPoint());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toPoint, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPointF(sipCpp->toPointF());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toPointF, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize(sipCpp->toSize());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toSize, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF(sipCpp->toSizeF());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toSizeF, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLine(sipCpp->toLine());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toLine, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLineF(sipCpp->toLineF());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toLineF, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->toRect());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toRect, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRectF(sipCpp->toRectF());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toRectF, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QUrl(sipCpp->toUrl());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toUrl, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLocale(sipCpp->toLocale());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toLocale, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRegExp(sipCpp->toRegExp());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toRegExp, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

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

#line 229 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
        sipRes = qpycore_PyObject_FromQVariant(*sipCpp);
#line 21874 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toPyObject, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QVariant_4_load(PyObject *, PyObject *);}
static PyObject *meth_QVariant_4_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, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QVariant_4_save(PyObject *, PyObject *);}
static PyObject *meth_QVariant_4_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, NULL);

    return NULL;
}


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

    {
        QVariant::Type a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = QVariant::typeToName(a0);
            Py_END_ALLOW_THREADS

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

    return NULL;
}


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

    {
        const char* a0;
        PyObject *a0Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "AA", &a0Keep, &a0))
        {
            QVariant::Type sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QVariant::nameToType(a0);
            Py_END_ALLOW_THREADS
            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, NULL);

    return NULL;
}


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

    {
        QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->data();
            Py_END_ALLOW_THREADS

            return sipConvertFromVoidPtr(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_data, NULL);

    return NULL;
}


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

    {
        bool a0;
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toFloat(&a0);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(fb)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toFloat, NULL);

    return NULL;
}


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

    {
        bool a0;
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toReal(&a0);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(db)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toReal, NULL);

    return NULL;
}


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

    {
        const QVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QEasingCurve(sipCpp->toEasingCurve());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_toEasingCurve, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QVariant_4_swap(PyObject *, PyObject *);}
static PyObject *meth_QVariant_4_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->swap(*a0);
            Py_END_ALLOW_THREADS
            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, NULL);

    return NULL;
}


extern "C" {static PyObject *slot_QVariant_4___ne__(PyObject *,PyObject *);}
static PyObject *slot_QVariant_4___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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QVariant::operator!=(*a0);
            Py_END_ALLOW_THREADS
            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_4___eq__(PyObject *,PyObject *);}
static PyObject *slot_QVariant_4___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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QVariant::operator==(*a0);
            Py_END_ALLOW_THREADS
            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_4(void *, const sipTypeDef *);}
static void *cast_QVariant_4(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QVariant)
        return ptr;

    return NULL;
}


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

    delete reinterpret_cast<QVariant *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QVariant_4(void *, SIP_SSIZE_T, const void *);}
static void assign_QVariant_4(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_4(SIP_SSIZE_T);}
static void *array_QVariant_4(SIP_SSIZE_T sipNrElem)
{
    return new QVariant[sipNrElem];
}


extern "C" {static void *copy_QVariant_4(const void *, SIP_SSIZE_T);}
static void *copy_QVariant_4(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QVariant(reinterpret_cast<const QVariant *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QVariant_4(sipSimpleWrapper *);}
static void dealloc_QVariant_4(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QVariant_4(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        QVariant::Type a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "XE", sipType_QVariant_Type, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QVariant(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        int a0;
        const void* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "iv", &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QVariant(a0,a1);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QVariant* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QVariant,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QVariant(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return sipCpp;
        }
    }

    {
        PyObject * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "P0", &a0))
        {
#line 153 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 22339 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QVariant_4(PyObject *, void **, int *, PyObject *);}
static int convertTo_QVariant_4(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QVariant **sipCppPtr = reinterpret_cast<QVariant **>(sipCppPtrV);

#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 22377 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


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


static PyMethodDef methods_QVariant_4[] = {
    {SIP_MLNAME_CAST(sipName_canConvert), meth_QVariant_4_canConvert, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QVariant_4_clear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_convert), meth_QVariant_4_convert, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_data), meth_QVariant_4_data, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_detach), meth_QVariant_4_detach, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fromList), meth_QVariant_4_fromList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fromMap), meth_QVariant_4_fromMap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDetached), meth_QVariant_4_isDetached, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QVariant_4_isNull, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QVariant_4_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_load), meth_QVariant_4_load, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nameToType), meth_QVariant_4_nameToType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_save), meth_QVariant_4_save, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swap), meth_QVariant_4_swap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toBitArray), meth_QVariant_4_toBitArray, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toBool), meth_QVariant_4_toBool, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toByteArray), meth_QVariant_4_toByteArray, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toChar), meth_QVariant_4_toChar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toDate), meth_QVariant_4_toDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toDateTime), meth_QVariant_4_toDateTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toDouble), (PyCFunction)meth_QVariant_4_toDouble, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_toEasingCurve), meth_QVariant_4_toEasingCurve, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toFloat), (PyCFunction)meth_QVariant_4_toFloat, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_toHash), meth_QVariant_4_toHash, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toInt), (PyCFunction)meth_QVariant_4_toInt, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_toLine), meth_QVariant_4_toLine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toLineF), meth_QVariant_4_toLineF, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toList), meth_QVariant_4_toList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toLocale), meth_QVariant_4_toLocale, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toLongLong), (PyCFunction)meth_QVariant_4_toLongLong, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_toMap), meth_QVariant_4_toMap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toPoint), meth_QVariant_4_toPoint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toPointF), meth_QVariant_4_toPointF, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toPyObject), meth_QVariant_4_toPyObject, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toReal), (PyCFunction)meth_QVariant_4_toReal, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_toRect), meth_QVariant_4_toRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toRectF), meth_QVariant_4_toRectF, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toRegExp), meth_QVariant_4_toRegExp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toSize), meth_QVariant_4_toSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toSizeF), meth_QVariant_4_toSizeF, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toString), meth_QVariant_4_toString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toStringList), meth_QVariant_4_toStringList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toTime), meth_QVariant_4_toTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toUInt), (PyCFunction)meth_QVariant_4_toUInt, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_toULongLong), (PyCFunction)meth_QVariant_4_toULongLong, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_toUrl), meth_QVariant_4_toUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_QVariant_4_type, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_typeName), meth_QVariant_4_typeName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_typeToName), meth_QVariant_4_typeToName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_userType), meth_QVariant_4_userType, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_QVariant_4[] = {
    {sipName_BitArray, static_cast<int>(QVariant::BitArray), 250},
    {sipName_Bitmap, static_cast<int>(QVariant::Bitmap), 250},
    {sipName_Bool, static_cast<int>(QVariant::Bool), 250},
    {sipName_Brush, static_cast<int>(QVariant::Brush), 250},
    {sipName_ByteArray, static_cast<int>(QVariant::ByteArray), 250},
    {sipName_Char, static_cast<int>(QVariant::Char), 250},
    {sipName_Color, static_cast<int>(QVariant::Color), 250},
    {sipName_Cursor, static_cast<int>(QVariant::Cursor), 250},
    {sipName_Date, static_cast<int>(QVariant::Date), 250},
    {sipName_DateTime, static_cast<int>(QVariant::DateTime), 250},
    {sipName_Double, static_cast<int>(QVariant::Double), 250},
    {sipName_EasingCurve, static_cast<int>(QVariant::EasingCurve), 250},
    {sipName_Font, static_cast<int>(QVariant::Font), 250},
    {sipName_Hash, static_cast<int>(QVariant::Hash), 250},
    {sipName_Icon, static_cast<int>(QVariant::Icon), 250},
    {sipName_Image, static_cast<int>(QVariant::Image), 250},
    {sipName_Int, static_cast<int>(QVariant::Int), 250},
    {sipName_Invalid, static_cast<int>(QVariant::Invalid), 250},
    {sipName_KeySequence, static_cast<int>(QVariant::KeySequence), 250},
    {sipName_Line, static_cast<int>(QVariant::Line), 250},
    {sipName_LineF, static_cast<int>(QVariant::LineF), 250},
    {sipName_List, static_cast<int>(QVariant::List), 250},
    {sipName_Locale, static_cast<int>(QVariant::Locale), 250},
    {sipName_LongLong, static_cast<int>(QVariant::LongLong), 250},
    {sipName_Map, static_cast<int>(QVariant::Map), 250},
    {sipName_Matrix, static_cast<int>(QVariant::Matrix), 250},
    {sipName_Matrix4x4, static_cast<int>(QVariant::Matrix4x4), 250},
    {sipName_Palette, static_cast<int>(QVariant::Palette), 250},
    {sipName_Pen, static_cast<int>(QVariant::Pen), 250},
    {sipName_Pixmap, static_cast<int>(QVariant::Pixmap), 250},
    {sipName_Point, static_cast<int>(QVariant::Point), 250},
    {sipName_PointF, static_cast<int>(QVariant::PointF), 250},
    {sipName_Polygon, static_cast<int>(QVariant::Polygon), 250},
    {sipName_Quaternion, static_cast<int>(QVariant::Quaternion), 250},
    {sipName_Rect, static_cast<int>(QVariant::Rect), 250},
    {sipName_RectF, static_cast<int>(QVariant::RectF), 250},
    {sipName_RegExp, static_cast<int>(QVariant::RegExp), 250},
    {sipName_Region, static_cast<int>(QVariant::Region), 250},
    {sipName_Size, static_cast<int>(QVariant::Size), 250},
    {sipName_SizeF, static_cast<int>(QVariant::SizeF), 250},
    {sipName_SizePolicy, static_cast<int>(QVariant::SizePolicy), 250},
    {sipName_String, static_cast<int>(QVariant::String), 250},
    {sipName_StringList, static_cast<int>(QVariant::StringList), 250},
    {sipName_TextFormat, static_cast<int>(QVariant::TextFormat), 250},
    {sipName_TextLength, static_cast<int>(QVariant::TextLength), 250},
    {sipName_Time, static_cast<int>(QVariant::Time), 250},
    {sipName_Transform, static_cast<int>(QVariant::Transform), 250},
    {sipName_UInt, static_cast<int>(QVariant::UInt), 250},
    {sipName_ULongLong, static_cast<int>(QVariant::ULongLong), 250},
    {sipName_Url, static_cast<int>(QVariant::Url), 250},
    {sipName_UserType, static_cast<int>(QVariant::UserType), 250},
    {sipName_Vector2D, static_cast<int>(QVariant::Vector2D), 250},
    {sipName_Vector3D, static_cast<int>(QVariant::Vector3D), 250},
    {sipName_Vector4D, static_cast<int>(QVariant::Vector4D), 250},
};


pyqt4ClassTypeDef sipTypeDef_QtCore_QVariant_4 = {
{
    {
        4,
        &sipTypeDef_QtCore_QVariant_5.mtd_base,
        0,
        SIP_TYPE_ALLOW_NONE|SIP_TYPE_CLASS,
        sipNameNr_QVariant,
        {0}
    },
    {
        sipNameNr_QVariant,
        {0, 0, 1},
        50, methods_QVariant_4,
        54, enummembers_QVariant_4,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QVariant_4,
    init_type_QVariant_4,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QVariant_4,
    assign_QVariant_4,
    array_QVariant_4,
    copy_QVariant_4,
    release_QVariant_4,
    cast_QVariant_4,
    convertTo_QVariant_4,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 107 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/quuid.sip"
#include <quuid.h>
#line 22555 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 22559 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 22562 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

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

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QUuid(QUuid::createUuid());
            Py_END_ALLOW_THREADS

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->variant();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->version();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->toByteArray());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->toRfc4122());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QUuid(QUuid::fromRfc4122(*a0));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = !sipCpp->QUuid::operator<(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = !sipCpp->QUuid::operator>(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QUuid::operator>(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QUuid::operator<(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QUuid::operator!=(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QUuid::operator==(*a0);
            Py_END_ALLOW_THREADS

            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 136 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/quuid.sip"
        PyObject *uni = qpycore_PyObject_FromQString(sipCpp->toString());
        
        if (uni)
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromFormat("PyQt4.QtCore.QUuid(%R)", uni);
        #else
            sipRes = PyString_FromFormat("PyQt4.QtCore.QUuid(");
            PyString_ConcatAndDel(&sipRes, PyObject_Repr(uni));
            PyString_ConcatAndDel(&sipRes, PyString_FromString(")"));
        #endif
        
            Py_DECREF(uni);
        }
#line 23029 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QUuid *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QUuid();
            Py_END_ALLOW_THREADS

            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, "uttcccccccc", &a0, &a1, &a2, &a3, &a4, &a5, &a6, &a7, &a8, &a9, &a10))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QUuid(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QUuid(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QUuid(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipCpp;
        }
    }

    {
        const QUuid* a0;

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

            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},
    {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_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), 247},
    {sipName_EmbeddedPOSIX, static_cast<int>(QUuid::EmbeddedPOSIX), 248},
    {sipName_Microsoft, static_cast<int>(QUuid::Microsoft), 247},
    {sipName_NCS, static_cast<int>(QUuid::NCS), 247},
    {sipName_Name, static_cast<int>(QUuid::Name), 248},
    {sipName_Random, static_cast<int>(QUuid::Random), 248},
    {sipName_Reserved, static_cast<int>(QUuid::Reserved), 247},
    {sipName_Time, static_cast<int>(QUuid::Time), 248},
    {sipName_VarUnknown, static_cast<int>(QUuid::VarUnknown), 247},
    {sipName_VerUnknown, static_cast<int>(QUuid::VerUnknown), 248},
};

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


pyqt4ClassTypeDef sipTypeDef_QtCore_QUuid = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QUuid,
        {0}
    },
    {
        sipNameNr_QUuid,
        {0, 0, 1},
        8, methods_QUuid,
        10, enummembers_QUuid,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QUuid,
    sipNameNr_PyQt4_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
};

#line 102 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 23279 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 102 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 23283 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QUrl::FormattingOptions::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 23305 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QUrl::FormattingOptions::Int() != a0->operator QUrl::FormattingOptions::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 23339 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QUrl::FormattingOptions::Int() == a0->operator QUrl::FormattingOptions::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 23379 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QUrl::FormattingOptions(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QUrl::FormattingOptions((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QUrl::FormattingOptions((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QUrl_FormattingOptions,a0State);
            sipReleaseType(a1,sipType_QUrl_FormattingOptions,a1State);

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

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

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

#line 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QUrl::FormattingOptions(*a0 ^ a1);
#line 23488 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            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,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;

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

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

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

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

#line 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QUrl::FormattingOptions(*a0 | a1);
#line 23540 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            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,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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QUrl::FormattingOptions::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QUrl::FormattingOptions::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QUrl::FormattingOptions::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QUrl::FormattingOptions *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *array_QUrl_FormattingOptions(SIP_SSIZE_T);}
static void *array_QUrl_FormattingOptions(SIP_SSIZE_T sipNrElem)
{
    return new QUrl::FormattingOptions[sipNrElem];
}


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


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 void *init_type_QUrl_FormattingOptions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QUrl_FormattingOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QUrl::FormattingOptions *sipCpp = 0;

    {
        const QUrl::FormattingOptions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QUrl_FormattingOptions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QUrl::FormattingOptions(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QUrl::FormattingOptions *>(a0),sipType_QUrl_FormattingOptions,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

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

            return sipCpp;
        }
    }

    return NULL;
}


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

#line 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QUrl::FormattingOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QUrl_FormattingOption)) ||
            sipCanConvertToType(sipPy, sipType_QUrl_FormattingOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QUrl_FormattingOption)))
{
    *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 23835 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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}
};

PyDoc_STRVAR(doc_QUrl_FormattingOptions, "\1QUrl.FormattingOptions(QUrl.FormattingOptions)\n"
    "QUrl.FormattingOptions(int)\n"
    "QUrl.FormattingOptions()");


pyqt4ClassTypeDef sipTypeDef_QtCore_QUrl_FormattingOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QUrl__FormattingOptions,
        {0}
    },
    {
        sipNameNr_FormattingOptions,
        {242, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QUrl_FormattingOptions,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QUrl_FormattingOptions,
    init_type_QUrl_FormattingOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QUrl_FormattingOptions,
    assign_QUrl_FormattingOptions,
    array_QUrl_FormattingOptions,
    copy_QUrl_FormattingOptions,
    release_QUrl_FormattingOptions,
    cast_QUrl_FormattingOptions,
    convertTo_QUrl_FormattingOptions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 102 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 23916 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 23920 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 23923 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 23926 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 196 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 23930 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 23933 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 102 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 23936 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 196 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 23940 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 72 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 23943 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 106 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qurl.sip"
#include <QHash>
#line 23946 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QUrl_setUrl, "QUrl.setUrl(str)\n"
    "QUrl.setUrl(str, QUrl.ParsingMode)");

extern "C" {static PyObject *meth_QUrl_setUrl(PyObject *, PyObject *);}
static PyObject *meth_QUrl_setUrl(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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUrl(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QUrl::ParsingMode a1;
        QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1E", &sipSelf, sipType_QUrl, &sipCpp, sipType_QString,&a0, &a0State, sipType_QUrl_ParsingMode, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUrl(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_setUrl, doc_QUrl_setUrl);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_setEncodedUrl, "QUrl.setEncodedUrl(QByteArray)\n"
    "QUrl.setEncodedUrl(QByteArray, QUrl.ParsingMode)");

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

    {
        const QByteArray* a0;
        int a0State = 0;
        QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEncodedUrl(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QByteArray* a0;
        int a0State = 0;
        QUrl::ParsingMode a1;
        QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1E", &sipSelf, sipType_QUrl, &sipCpp, sipType_QByteArray, &a0, &a0State, sipType_QUrl_ParsingMode, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEncodedUrl(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_setEncodedUrl, doc_QUrl_setEncodedUrl);

    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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clear();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setScheme(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

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

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

extern "C" {static PyObject *meth_QUrl_setAuthority(PyObject *, PyObject *);}
static PyObject *meth_QUrl_setAuthority(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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAuthority(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_setAuthority, doc_QUrl_setAuthority);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_authority, "QUrl.authority() -> str");

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

    {
        const QUrl *sipCpp;

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

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

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

extern "C" {static PyObject *meth_QUrl_setUserInfo(PyObject *, PyObject *);}
static PyObject *meth_QUrl_setUserInfo(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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUserInfo(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_setUserInfo, doc_QUrl_setUserInfo);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_userInfo, "QUrl.userInfo() -> str");

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

    {
        const QUrl *sipCpp;

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

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

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

extern "C" {static PyObject *meth_QUrl_setUserName(PyObject *, PyObject *);}
static PyObject *meth_QUrl_setUserName(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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUserName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_setUserName, doc_QUrl_setUserName);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_userName, "QUrl.userName() -> str");

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

    {
        const QUrl *sipCpp;

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

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

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

extern "C" {static PyObject *meth_QUrl_setPassword(PyObject *, PyObject *);}
static PyObject *meth_QUrl_setPassword(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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPassword(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_setPassword, doc_QUrl_setPassword);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_password, "QUrl.password() -> str");

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

    {
        const QUrl *sipCpp;

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

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

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

extern "C" {static PyObject *meth_QUrl_setHost(PyObject *, PyObject *);}
static PyObject *meth_QUrl_setHost(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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHost(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_setHost, doc_QUrl_setHost);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_host, "QUrl.host() -> str");

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

    {
        const QUrl *sipCpp;

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

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

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPort(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_QUrl, sipName_setPort, doc_QUrl_setPort);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_port, "QUrl.port() -> int\n"
    "QUrl.port(int) -> int");

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

    {
        const QUrl *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->port();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        int a0;
        const QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QUrl, &sipCpp, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->port(a0);
            Py_END_ALLOW_THREADS

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

extern "C" {static PyObject *meth_QUrl_setPath(PyObject *, PyObject *);}
static PyObject *meth_QUrl_setPath(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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPath(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_setPath, doc_QUrl_setPath);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_path, "QUrl.path() -> str");

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

    {
        const QUrl *sipCpp;

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

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

            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_setEncodedQuery, "QUrl.setEncodedQuery(QByteArray)");

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

    {
        const QByteArray* a0;
        int a0State = 0;
        QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEncodedQuery(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_setEncodedQuery, doc_QUrl_setEncodedQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_encodedQuery, "QUrl.encodedQuery() -> QByteArray");

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

    {
        const QUrl *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->encodedQuery());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_encodedQuery, doc_QUrl_encodedQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_setQueryDelimiters, "QUrl.setQueryDelimiters(str, str)");

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

    {
        char a0;
        char a1;
        QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BaAaA", &sipSelf, sipType_QUrl, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setQueryDelimiters(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_QUrl, sipName_setQueryDelimiters, doc_QUrl_setQueryDelimiters);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_queryValueDelimiter, "QUrl.queryValueDelimiter() -> str");

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

    {
        const QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUrl, &sipCpp))
        {
            char sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->queryValueDelimiter();
            Py_END_ALLOW_THREADS

            return PyUnicode_DecodeASCII(&sipRes, 1, NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_queryValueDelimiter, doc_QUrl_queryValueDelimiter);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_queryPairDelimiter, "QUrl.queryPairDelimiter() -> str");

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

    {
        const QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUrl, &sipCpp))
        {
            char sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->queryPairDelimiter();
            Py_END_ALLOW_THREADS

            return PyUnicode_DecodeASCII(&sipRes, 1, NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_queryPairDelimiter, doc_QUrl_queryPairDelimiter);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_setQueryItems, "QUrl.setQueryItems(list-of-tuple-of-QString-QString)");

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

    {
        const QList<QPair<QString,QString> >* a0;
        int a0State = 0;
        QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QList_0600QPair_0100QString_0100QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setQueryItems(*a0);
            Py_END_ALLOW_THREADS
            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_QUrl, sipName_setQueryItems, doc_QUrl_setQueryItems);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_addQueryItem, "QUrl.addQueryItem(str, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addQueryItem(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_addQueryItem, doc_QUrl_addQueryItem);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_queryItems, "QUrl.queryItems() -> list-of-tuple-of-QString-QString");

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

    {
        const QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUrl, &sipCpp))
        {
            QList<QPair<QString,QString> >*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QPair<QString,QString> >(sipCpp->queryItems());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_queryItems, doc_QUrl_queryItems);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_hasQueryItem, "QUrl.hasQueryItem(str) -> bool");

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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasQueryItem(*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_QUrl, sipName_hasQueryItem, doc_QUrl_hasQueryItem);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_queryItemValue, "QUrl.queryItemValue(str) -> str");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QString*sipRes;

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_queryItemValue, doc_QUrl_queryItemValue);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_allQueryItemValues, "QUrl.allQueryItemValues(str) -> list-of-str");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QStringList*sipRes;

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_allQueryItemValues, doc_QUrl_allQueryItemValues);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_removeQueryItem, "QUrl.removeQueryItem(str)");

extern "C" {static PyObject *meth_QUrl_removeQueryItem(PyObject *, PyObject *);}
static PyObject *meth_QUrl_removeQueryItem(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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeQueryItem(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_removeQueryItem, doc_QUrl_removeQueryItem);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_removeAllQueryItems, "QUrl.removeAllQueryItems(str)");

extern "C" {static PyObject *meth_QUrl_removeAllQueryItems(PyObject *, PyObject *);}
static PyObject *meth_QUrl_removeAllQueryItems(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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeAllQueryItems(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_removeAllQueryItems, doc_QUrl_removeAllQueryItems);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_setFragment, "QUrl.setFragment(str)");

extern "C" {static PyObject *meth_QUrl_setFragment(PyObject *, PyObject *);}
static PyObject *meth_QUrl_setFragment(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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFragment(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_setFragment, doc_QUrl_setFragment);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_fragment, "QUrl.fragment() -> str");

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

    {
        const QUrl *sipCpp;

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

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

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QUrl(sipCpp->resolved(*a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isRelative();
            Py_END_ALLOW_THREADS

            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;

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

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QUrl(QUrl::fromLocalFile(*a0));
            Py_END_ALLOW_THREADS
            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;

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

            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.None) -> 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::None;
        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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toString(*a0));
            Py_END_ALLOW_THREADS
            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.None) -> 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::None;
        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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->toEncoded(*a0));
            Py_END_ALLOW_THREADS
            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\n"
    "QUrl.fromEncoded(QByteArray, QUrl.ParsingMode) -> QUrl");

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

    {
        const QByteArray* a0;
        int a0State = 0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QUrl(QUrl::fromEncoded(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

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

    {
        const QByteArray* a0;
        int a0State = 0;
        QUrl::ParsingMode a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1E", sipType_QByteArray, &a0, &a0State, sipType_QUrl_ParsingMode, &a1))
        {
            QUrl*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QUrl(QUrl::fromEncoded(*a0,a1));
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->detach();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDetached();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QUrl::fromPercentEncoding(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(QUrl::toPercentEncoding(*a0,*a1,*a2));
            Py_END_ALLOW_THREADS
            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_fromPunycode, "QUrl.fromPunycode(QByteArray) -> str");

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

    {
        const QByteArray* a0;
        int a0State = 0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QUrl::fromPunycode(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_fromPunycode, doc_QUrl_fromPunycode);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_toPunycode, "QUrl.toPunycode(str) -> QByteArray");

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

    {
        const QString* a0;
        int a0State = 0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(QUrl::toPunycode(*a0));
            Py_END_ALLOW_THREADS
            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_toPunycode, doc_QUrl_toPunycode);

    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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasQuery();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasFragment();
            Py_END_ALLOW_THREADS

            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;

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QUrl::fromAce(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(QUrl::toAce(*a0));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(QUrl::idnWhitelist());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            QUrl::setIdnWhitelist(*a0);
            Py_END_ALLOW_THREADS
            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_setEncodedUserName, "QUrl.setEncodedUserName(QByteArray)");

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

    {
        const QByteArray* a0;
        int a0State = 0;
        QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEncodedUserName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_setEncodedUserName, doc_QUrl_setEncodedUserName);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_encodedUserName, "QUrl.encodedUserName() -> QByteArray");

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

    {
        const QUrl *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->encodedUserName());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_encodedUserName, doc_QUrl_encodedUserName);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_setEncodedPassword, "QUrl.setEncodedPassword(QByteArray)");

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

    {
        const QByteArray* a0;
        int a0State = 0;
        QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEncodedPassword(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_setEncodedPassword, doc_QUrl_setEncodedPassword);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_encodedPassword, "QUrl.encodedPassword() -> QByteArray");

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

    {
        const QUrl *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->encodedPassword());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_encodedPassword, doc_QUrl_encodedPassword);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_setEncodedHost, "QUrl.setEncodedHost(QByteArray)");

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

    {
        const QByteArray* a0;
        int a0State = 0;
        QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEncodedHost(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_setEncodedHost, doc_QUrl_setEncodedHost);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_encodedHost, "QUrl.encodedHost() -> QByteArray");

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

    {
        const QUrl *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->encodedHost());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_encodedHost, doc_QUrl_encodedHost);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_setEncodedPath, "QUrl.setEncodedPath(QByteArray)");

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

    {
        const QByteArray* a0;
        int a0State = 0;
        QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEncodedPath(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_setEncodedPath, doc_QUrl_setEncodedPath);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_encodedPath, "QUrl.encodedPath() -> QByteArray");

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

    {
        const QUrl *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->encodedPath());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_encodedPath, doc_QUrl_encodedPath);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_setEncodedQueryItems, "QUrl.setEncodedQueryItems(list-of-tuple-of-QByteArray-QByteArray)");

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

    {
        const QList<QPair<QByteArray,QByteArray> >* a0;
        int a0State = 0;
        QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QList_0600QPair_0100QByteArray_0100QByteArray,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEncodedQueryItems(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList<QPair<QByteArray,QByteArray> > *>(a0),sipType_QList_0600QPair_0100QByteArray_0100QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_setEncodedQueryItems, doc_QUrl_setEncodedQueryItems);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_addEncodedQueryItem, "QUrl.addEncodedQueryItem(QByteArray, QByteArray)");

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

    {
        const QByteArray* a0;
        int a0State = 0;
        const QByteArray* a1;
        int a1State = 0;
        QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QByteArray, &a0, &a0State, sipType_QByteArray, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addEncodedQueryItem(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,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_QUrl, sipName_addEncodedQueryItem, doc_QUrl_addEncodedQueryItem);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_encodedQueryItems, "QUrl.encodedQueryItems() -> list-of-tuple-of-QByteArray-QByteArray");

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

    {
        const QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUrl, &sipCpp))
        {
            QList<QPair<QByteArray,QByteArray> >*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QPair<QByteArray,QByteArray> >(sipCpp->encodedQueryItems());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_encodedQueryItems, doc_QUrl_encodedQueryItems);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_hasEncodedQueryItem, "QUrl.hasEncodedQueryItem(QByteArray) -> bool");

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

    {
        const QByteArray* a0;
        int a0State = 0;
        const QUrl *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasEncodedQueryItem(*a0);
            Py_END_ALLOW_THREADS
            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_QUrl, sipName_hasEncodedQueryItem, doc_QUrl_hasEncodedQueryItem);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_encodedQueryItemValue, "QUrl.encodedQueryItemValue(QByteArray) -> QByteArray");

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

    {
        const QByteArray* a0;
        int a0State = 0;
        const QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            QByteArray*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->encodedQueryItemValue(*a0));
            Py_END_ALLOW_THREADS
            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_QUrl, sipName_encodedQueryItemValue, doc_QUrl_encodedQueryItemValue);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_allEncodedQueryItemValues, "QUrl.allEncodedQueryItemValues(QByteArray) -> list-of-QByteArray");

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

    {
        const QByteArray* a0;
        int a0State = 0;
        const QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            QList<QByteArray>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QByteArray>(sipCpp->allEncodedQueryItemValues(*a0));
            Py_END_ALLOW_THREADS
            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_QUrl, sipName_allEncodedQueryItemValues, doc_QUrl_allEncodedQueryItemValues);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_removeEncodedQueryItem, "QUrl.removeEncodedQueryItem(QByteArray)");

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

    {
        const QByteArray* a0;
        int a0State = 0;
        QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeEncodedQueryItem(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_removeEncodedQueryItem, doc_QUrl_removeEncodedQueryItem);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_removeAllEncodedQueryItems, "QUrl.removeAllEncodedQueryItems(QByteArray)");

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

    {
        const QByteArray* a0;
        int a0State = 0;
        QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeAllEncodedQueryItems(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_removeAllEncodedQueryItems, doc_QUrl_removeAllEncodedQueryItems);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_setEncodedFragment, "QUrl.setEncodedFragment(QByteArray)");

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

    {
        const QByteArray* a0;
        int a0State = 0;
        QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEncodedFragment(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_setEncodedFragment, doc_QUrl_setEncodedFragment);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_encodedFragment, "QUrl.encodedFragment() -> QByteArray");

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

    {
        const QUrl *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->encodedFragment());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_encodedFragment, doc_QUrl_encodedFragment);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_fromUserInput, "QUrl.fromUserInput(str) -> QUrl");

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

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            QUrl*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QUrl(QUrl::fromUserInput(*a0));
            Py_END_ALLOW_THREADS
            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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->swap(*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_QUrl, sipName_swap, doc_QUrl_swap);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_topLevelDomain, "QUrl.topLevelDomain() -> str");

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

    {
        const QUrl *sipCpp;

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

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

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isLocalFile();
            Py_END_ALLOW_THREADS

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


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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = !sipCpp->QUrl::operator<(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QUrl::operator!=(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QUrl::operator==(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QUrl::operator<(*a0);
            Py_END_ALLOW_THREADS

            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 150 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qurl.sip"
        PyObject *uni = qpycore_PyObject_FromQString(sipCpp->toString());
        
        if (uni)
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromFormat("PyQt4.QtCore.QUrl(%R)", uni);
        #else
            sipRes = PyString_FromFormat("PyQt4.QtCore.QUrl(");
            PyString_ConcatAndDel(&sipRes, PyObject_Repr(uni));
            PyString_ConcatAndDel(&sipRes, PyString_FromString(")"));
        #endif
        
            Py_DECREF(uni);
        }
#line 26598 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 133 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qurl.sip"
        if (sipIsAPIEnabled("QUrl", 2, 0))
        {
        #if QT_VERSION >= 0x040700
            sipRes = qHash(*sipCpp);
        #else
            sipRes = qHash(sipCpp->toString());
        #endif
        }
        else
        {
            // Mimic Python's default behavour.
            sipRes = _Py_HashPointer(sipSelf);
        }
#line 26635 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QUrl *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QUrl();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QUrl(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QUrl::ParsingMode a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1E", sipType_QString,&a0, &a0State, sipType_QUrl_ParsingMode, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QUrl(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
        const QUrl* a0;

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

            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_addEncodedQueryItem), meth_QUrl_addEncodedQueryItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_addEncodedQueryItem)},
    {SIP_MLNAME_CAST(sipName_addQueryItem), meth_QUrl_addQueryItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_addQueryItem)},
    {SIP_MLNAME_CAST(sipName_allEncodedQueryItemValues), meth_QUrl_allEncodedQueryItemValues, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_allEncodedQueryItemValues)},
    {SIP_MLNAME_CAST(sipName_allQueryItemValues), meth_QUrl_allQueryItemValues, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_allQueryItemValues)},
    {SIP_MLNAME_CAST(sipName_authority), meth_QUrl_authority, METH_VARARGS, 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_encodedFragment), meth_QUrl_encodedFragment, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_encodedFragment)},
    {SIP_MLNAME_CAST(sipName_encodedHost), meth_QUrl_encodedHost, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_encodedHost)},
    {SIP_MLNAME_CAST(sipName_encodedPassword), meth_QUrl_encodedPassword, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_encodedPassword)},
    {SIP_MLNAME_CAST(sipName_encodedPath), meth_QUrl_encodedPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_encodedPath)},
    {SIP_MLNAME_CAST(sipName_encodedQuery), meth_QUrl_encodedQuery, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_encodedQuery)},
    {SIP_MLNAME_CAST(sipName_encodedQueryItemValue), meth_QUrl_encodedQueryItemValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_encodedQueryItemValue)},
    {SIP_MLNAME_CAST(sipName_encodedQueryItems), meth_QUrl_encodedQueryItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_encodedQueryItems)},
    {SIP_MLNAME_CAST(sipName_encodedUserName), meth_QUrl_encodedUserName, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_encodedUserName)},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QUrl_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_errorString)},
    {SIP_MLNAME_CAST(sipName_fragment), meth_QUrl_fragment, METH_VARARGS, 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), meth_QUrl_fromEncoded, METH_VARARGS, 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_fromPunycode), meth_QUrl_fromPunycode, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_fromPunycode)},
    {SIP_MLNAME_CAST(sipName_fromUserInput), meth_QUrl_fromUserInput, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_fromUserInput)},
    {SIP_MLNAME_CAST(sipName_hasEncodedQueryItem), meth_QUrl_hasEncodedQueryItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_hasEncodedQueryItem)},
    {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_hasQueryItem), meth_QUrl_hasQueryItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_hasQueryItem)},
    {SIP_MLNAME_CAST(sipName_host), meth_QUrl_host, METH_VARARGS, 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_password), meth_QUrl_password, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_password)},
    {SIP_MLNAME_CAST(sipName_path), meth_QUrl_path, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_path)},
    {SIP_MLNAME_CAST(sipName_port), meth_QUrl_port, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_port)},
    {SIP_MLNAME_CAST(sipName_queryItemValue), meth_QUrl_queryItemValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_queryItemValue)},
    {SIP_MLNAME_CAST(sipName_queryItems), meth_QUrl_queryItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_queryItems)},
    {SIP_MLNAME_CAST(sipName_queryPairDelimiter), meth_QUrl_queryPairDelimiter, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_queryPairDelimiter)},
    {SIP_MLNAME_CAST(sipName_queryValueDelimiter), meth_QUrl_queryValueDelimiter, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_queryValueDelimiter)},
    {SIP_MLNAME_CAST(sipName_removeAllEncodedQueryItems), meth_QUrl_removeAllEncodedQueryItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_removeAllEncodedQueryItems)},
    {SIP_MLNAME_CAST(sipName_removeAllQueryItems), meth_QUrl_removeAllQueryItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_removeAllQueryItems)},
    {SIP_MLNAME_CAST(sipName_removeEncodedQueryItem), meth_QUrl_removeEncodedQueryItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_removeEncodedQueryItem)},
    {SIP_MLNAME_CAST(sipName_removeQueryItem), meth_QUrl_removeQueryItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_removeQueryItem)},
    {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), meth_QUrl_setAuthority, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_setAuthority)},
    {SIP_MLNAME_CAST(sipName_setEncodedFragment), meth_QUrl_setEncodedFragment, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_setEncodedFragment)},
    {SIP_MLNAME_CAST(sipName_setEncodedHost), meth_QUrl_setEncodedHost, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_setEncodedHost)},
    {SIP_MLNAME_CAST(sipName_setEncodedPassword), meth_QUrl_setEncodedPassword, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_setEncodedPassword)},
    {SIP_MLNAME_CAST(sipName_setEncodedPath), meth_QUrl_setEncodedPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_setEncodedPath)},
    {SIP_MLNAME_CAST(sipName_setEncodedQuery), meth_QUrl_setEncodedQuery, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_setEncodedQuery)},
    {SIP_MLNAME_CAST(sipName_setEncodedQueryItems), meth_QUrl_setEncodedQueryItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_setEncodedQueryItems)},
    {SIP_MLNAME_CAST(sipName_setEncodedUrl), meth_QUrl_setEncodedUrl, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_setEncodedUrl)},
    {SIP_MLNAME_CAST(sipName_setEncodedUserName), meth_QUrl_setEncodedUserName, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_setEncodedUserName)},
    {SIP_MLNAME_CAST(sipName_setFragment), meth_QUrl_setFragment, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_setFragment)},
    {SIP_MLNAME_CAST(sipName_setHost), meth_QUrl_setHost, METH_VARARGS, 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), meth_QUrl_setPassword, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_setPassword)},
    {SIP_MLNAME_CAST(sipName_setPath), meth_QUrl_setPath, METH_VARARGS, 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_setQueryDelimiters), meth_QUrl_setQueryDelimiters, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_setQueryDelimiters)},
    {SIP_MLNAME_CAST(sipName_setQueryItems), meth_QUrl_setQueryItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_setQueryItems)},
    {SIP_MLNAME_CAST(sipName_setScheme), meth_QUrl_setScheme, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_setScheme)},
    {SIP_MLNAME_CAST(sipName_setUrl), meth_QUrl_setUrl, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_setUrl)},
    {SIP_MLNAME_CAST(sipName_setUserInfo), meth_QUrl_setUserInfo, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_setUserInfo)},
    {SIP_MLNAME_CAST(sipName_setUserName), meth_QUrl_setUserName, METH_VARARGS, 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_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_toPunycode), meth_QUrl_toPunycode, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_toPunycode)},
    {SIP_MLNAME_CAST(sipName_toString), (PyCFunction)meth_QUrl_toString, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_toString)},
    {SIP_MLNAME_CAST(sipName_topLevelDomain), meth_QUrl_topLevelDomain, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_topLevelDomain)},
    {SIP_MLNAME_CAST(sipName_userInfo), meth_QUrl_userInfo, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_userInfo)},
    {SIP_MLNAME_CAST(sipName_userName), meth_QUrl_userName, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_userName)}
};

static sipEnumMemberDef enummembers_QUrl[] = {
    {sipName_None, static_cast<int>(QUrl::None), 243},
    {sipName_RemoveAuthority, static_cast<int>(QUrl::RemoveAuthority), 243},
    {sipName_RemoveFragment, static_cast<int>(QUrl::RemoveFragment), 243},
    {sipName_RemovePassword, static_cast<int>(QUrl::RemovePassword), 243},
    {sipName_RemovePath, static_cast<int>(QUrl::RemovePath), 243},
    {sipName_RemovePort, static_cast<int>(QUrl::RemovePort), 243},
    {sipName_RemoveQuery, static_cast<int>(QUrl::RemoveQuery), 243},
    {sipName_RemoveScheme, static_cast<int>(QUrl::RemoveScheme), 243},
    {sipName_RemoveUserInfo, static_cast<int>(QUrl::RemoveUserInfo), 243},
    {sipName_StrictMode, static_cast<int>(QUrl::StrictMode), 245},
    {sipName_StripTrailingSlash, static_cast<int>(QUrl::StripTrailingSlash), 243},
    {sipName_TolerantMode, static_cast<int>(QUrl::TolerantMode), 245},
};

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


pyqt4ClassTypeDef sipTypeDef_QtCore_QUrl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QUrl,
        {0}
    },
    {
        sipNameNr_QUrl,
        {0, 0, 1},
        79, methods_QUrl,
        12, enummembers_QUrl,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QUrl,
    sipNameNr_PyQt4_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
};

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtranslator.sip"
#include <qtranslator.h>
#line 26934 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 26938 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 26941 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 26944 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26947 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26950 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26953 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 26956 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 26959 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 26962 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26965 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 26968 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 26971 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 26974 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 26977 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    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*) 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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QTranslator, _clname)) ? this : QTranslator::qt_metacast(_clname);
}

void sipQTranslator::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

void sipQTranslator::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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 *);

    return sipVH_QtCore_7(sipGILState, 0, sipPySelf, sipMeth);
}

QString sipQTranslator::translate(const char*a0,const char*a1,const char*a2) 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);

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

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

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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQTranslator::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

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


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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 27286 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQTranslator *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QTranslator, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 27331 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QTranslator, sipName_customEvent, doc_QTranslator_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTranslator_connectNotify, "QTranslator.connectNotify(SIGNAL())");

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

    {
        char* a0;
        sipQTranslator *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QTranslator, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QTranslator, sipName_connectNotify, doc_QTranslator_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTranslator_disconnectNotify, "QTranslator.disconnectNotify(SIGNAL())");

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

    {
        char* a0;
        sipQTranslator *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QTranslator, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_translate, "QTranslator.translate(str, str, str disambiguation=None) -> str\n"
    "QTranslator.translate(str, str, str, int) -> 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;
        const QTranslator *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BAAAA|AA", &sipSelf, sipType_QTranslator, &sipCpp, &a0Keep, &a0, &a1Keep, &a1, &a2Keep, &a2))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->QTranslator::translate(a0,a1,a2) : sipCpp->translate(a0,a1,a2)));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            Py_DECREF(a1Keep);
            Py_XDECREF(a2Keep);

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

    {
        const char* a0;
        PyObject *a0Keep;
        const char* a1;
        PyObject *a1Keep;
        const char* a2;
        PyObject *a2Keep;
        int a3;
        const QTranslator *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BAAAAAAi", &sipSelf, sipType_QTranslator, &sipCpp, &a0Keep, &a0, &a1Keep, &a1, &a2Keep, &a2, &a3))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->translate(a0,a1,a2,a3));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            Py_DECREF(a1Keep);
            Py_DECREF(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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QTranslator::isEmpty() : sipCpp->isEmpty());
            Py_END_ALLOW_THREADS

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

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

    {
        const uchar* a0;
        SIP_SSIZE_T a1;
        QTranslator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bk", &sipSelf, sipType_QTranslator, &sipCpp, &a0, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->load(a0,(int)a1);
            Py_END_ALLOW_THREADS

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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQTranslator(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QTranslator[] = {{141, 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_load), (PyCFunction)meth_QTranslator_load, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTranslator_load)},
    {SIP_MLNAME_CAST(sipName_loadFromData), meth_QTranslator_loadFromData, METH_VARARGS, 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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QTranslator = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QTranslator,
        {0}
    },
    {
        sipNameNr_QTranslator,
        {0, 0, 1},
        12, 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
};

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtimer.sip"
#include <qtimer.h>
#line 27898 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 27902 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27905 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27908 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27911 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 27914 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 27917 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 27920 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27923 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 27926 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 27929 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 27932 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 27935 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 27938 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QTimer, _clname)) ? this : QTimer::qt_metacast(_clname);
}

void sipQTimer::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

void sipQTimer::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQTimer::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

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

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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 28215 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQTimer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QTimer, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 28260 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QTimer, sipName_customEvent, doc_QTimer_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimer_connectNotify, "QTimer.connectNotify(SIGNAL())");

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

    {
        char* a0;
        sipQTimer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QTimer, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QTimer, sipName_connectNotify, doc_QTimer_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTimer_disconnectNotify, "QTimer.disconnectNotify(SIGNAL())");

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

    {
        char* a0;
        sipQTimer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QTimer, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isActive();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->timerId();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInterval(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->interval();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isSingleShot();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSingleShot(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_QTimer, sipName_setSingleShot, doc_QTimer_setSingleShot);

    return NULL;
}


PyDoc_STRVAR(doc_QTimer_singleShot, "QTimer.singleShot(int, QObject, SLOT())\n"
    "QTimer.singleShot(int, callable)");

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

    {
        int a0;
        QObject* a1;
        const char* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "iqS", &a0, "()", &a1, &a2, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            QTimer::singleShot(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        QObject* a1;
        const char* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "ig", &a0, "()", &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            QTimer::singleShot(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->start(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimer, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->start();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->stop();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_QTimer, sipName_timerEvent, doc_QTimer_timerEvent);

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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQTimer(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QTimer[] = {{141, 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_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_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_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)}
};


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

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


pyqt4ClassTypeDef sipTypeDef_QtCore_QTimer = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QTimer,
        {0}
    },
    {
        sipNameNr_QTimer,
        {0, 0, 1},
        17, 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,
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtimeline.sip"
#include <qtimeline.h>
#line 28909 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 28913 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qeasingcurve.sip"
#include <qeasingcurve.h>
#line 28916 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 28919 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 28922 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 28925 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 28928 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 28931 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 28934 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 28937 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 28940 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 28943 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 28946 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 28949 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 28952 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QTimeLine, _clname)) ? this : QTimeLine::qt_metacast(_clname);
}

void sipQTimeLine::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

void sipQTimeLine::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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);

    return sipVH_QtCore_10(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQTimeLine::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

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

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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 29245 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQTimeLine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QTimeLine, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 29290 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QTimeLine, sipName_customEvent, doc_QTimeLine_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_connectNotify, "QTimeLine.connectNotify(SIGNAL())");

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

    {
        char* a0;
        sipQTimeLine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QTimeLine, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QTimeLine, sipName_connectNotify, doc_QTimeLine_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_disconnectNotify, "QTimeLine.disconnectNotify(SIGNAL())");

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

    {
        char* a0;
        sipQTimeLine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QTimeLine, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->state();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->loopCount();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLoopCount(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->direction();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDirection(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->duration();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDuration(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->startFrame();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStartFrame(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->endFrame();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEndFrame(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFrameRange(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->updateInterval();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUpdateInterval(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->curveShape();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurveShape(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->currentTime();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->currentFrame();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->currentValue();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->frameForTime(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QTimeLine::valueForTime(a0) : sipCpp->valueForTime(a0));
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resume();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentTime(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPaused(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->start();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->stop();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->toggleDirection();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QEasingCurve(sipCpp->easingCurve());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEasingCurve(*a0);
            Py_END_ALLOW_THREADS
            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);

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQTimeLine(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QTimeLine[] = {{141, 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_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), 237},
    {sipName_CosineCurve, static_cast<int>(QTimeLine::CosineCurve), 236},
    {sipName_EaseInCurve, static_cast<int>(QTimeLine::EaseInCurve), 236},
    {sipName_EaseInOutCurve, static_cast<int>(QTimeLine::EaseInOutCurve), 236},
    {sipName_EaseOutCurve, static_cast<int>(QTimeLine::EaseOutCurve), 236},
    {sipName_Forward, static_cast<int>(QTimeLine::Forward), 237},
    {sipName_LinearCurve, static_cast<int>(QTimeLine::LinearCurve), 236},
    {sipName_NotRunning, static_cast<int>(QTimeLine::NotRunning), 238},
    {sipName_Paused, static_cast<int>(QTimeLine::Paused), 238},
    {sipName_Running, static_cast<int>(QTimeLine::Running), 238},
    {sipName_SineCurve, static_cast<int>(QTimeLine::SineCurve), 236},
};


/* Define this type's signals. */
static const pyqt4QtSignal 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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QTimeLine = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QTimeLine,
        {0}
    },
    {
        sipNameNr_QTimeLine,
        {0, 0, 1},
        37, 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,
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthreadpool.sip"
#include <qthreadpool.h>
#line 30528 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 30532 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qrunnable.sip"
#include <qrunnable.h>
#line 30535 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30538 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30541 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30544 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 30547 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 30550 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 30553 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30556 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 30559 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 30562 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 30565 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 30568 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 30571 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QThreadPool, _clname)) ? this : QThreadPool::qt_metacast(_clname);
}

void sipQThreadPool::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

void sipQThreadPool::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQThreadPool::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

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


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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 30848 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQThreadPool *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QThreadPool, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 30893 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QThreadPool, sipName_customEvent, doc_QThreadPool_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QThreadPool_connectNotify, "QThreadPool.connectNotify(SIGNAL())");

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

    {
        char* a0;
        sipQThreadPool *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QThreadPool, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QThreadPool, sipName_connectNotify, doc_QThreadPool_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QThreadPool_disconnectNotify, "QThreadPool.disconnectNotify(SIGNAL())");

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

    {
        char* a0;
        sipQThreadPool *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QThreadPool, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = QThreadPool::globalInstance();
            Py_END_ALLOW_THREADS

            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 37 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 31145 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 48 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 31183 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->expiryTimeout();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setExpiryTimeout(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->maxThreadCount();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaxThreadCount(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->activeThreadCount();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->reserveThread();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->releaseThread();
            Py_END_ALLOW_THREADS

            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()\n"
    "QThreadPool.waitForDone(int) -> bool");

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

    {
        QThreadPool *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QThreadPool, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->waitForDone();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        QThreadPool *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &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;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQThreadPool(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QThreadPool[] = {{141, 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_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_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), meth_QThreadPool_waitForDone, METH_VARARGS, SIP_MLDOC_CAST(doc_QThreadPool_waitForDone)}
};

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


pyqt4ClassTypeDef sipTypeDef_QtCore_QThreadPool = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QThreadPool,
        {0}
    },
    {
        sipNameNr_QThreadPool,
        {0, 0, 1},
        19, 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
};

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 31601 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 31605 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31608 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31611 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31614 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 31617 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 31620 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 31623 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31626 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 31629 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 31632 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 31635 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 31638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;
    void sipProtectVirt_run(bool);
    int sipProtect_exec();
    static void sipProtect_setTerminationEnabled(bool);
    static void sipProtect_sleep(unsigned long);
    static void sipProtect_msleep(unsigned long);
    static void sipProtect_usleep(unsigned long);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QThread, _clname)) ? this : QThread::qt_metacast(_clname);
}

void sipQThread::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

void sipQThread::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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 *);

    sipVH_QtCore_11(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQThread::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

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

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

void sipQThread::sipProtect_sleep(unsigned long a0)
{
    QThread::sleep(a0);
}

void sipQThread::sipProtect_msleep(unsigned long a0)
{
    QThread::msleep(a0);
}

void sipQThread::sipProtect_usleep(unsigned long a0)
{
    QThread::usleep(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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 31973 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQThread *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QThread, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 32018 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_customEvent, doc_QThread_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_connectNotify, "QThread.connectNotify(SIGNAL())");

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

    {
        char* a0;
        sipQThread *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QThread, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_connectNotify, doc_QThread_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_disconnectNotify, "QThread.disconnectNotify(SIGNAL())");

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

    {
        char* a0;
        sipQThread *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QThread, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = QThread::currentThread();
            Py_END_ALLOW_THREADS

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

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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QThread::currentThreadId();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QThread::idealThreadCount();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isFinished();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isRunning();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPriority(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->priority();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStackSize(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->stackSize();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->terminate();
            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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->quit();
            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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_run(sipSelfWasArg);
            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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipQThread::sipProtect_setTerminationEnabled(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_setTerminationEnabled, doc_QThread_setTerminationEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_sleep, "QThread.sleep(int)");

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

    {
        unsigned long a0;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "m", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipQThread::sipProtect_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 *, PyObject *);}
static PyObject *meth_QThread_msleep(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        unsigned long a0;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "m", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipQThread::sipProtect_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 *, PyObject *);}
static PyObject *meth_QThread_usleep(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        unsigned long a0;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "m", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipQThread::sipProtect_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;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQThread(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QThread[] = {{141, 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_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_isRunning), meth_QThread_isRunning, METH_VARARGS, SIP_MLDOC_CAST(doc_QThread_isRunning)},
    {SIP_MLNAME_CAST(sipName_msleep), (PyCFunction)meth_QThread_msleep, METH_VARARGS|METH_KEYWORDS, 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_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_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), (PyCFunction)meth_QThread_sleep, METH_VARARGS|METH_KEYWORDS, 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), (PyCFunction)meth_QThread_usleep, METH_VARARGS|METH_KEYWORDS, 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), 232},
    {sipName_HighestPriority, static_cast<int>(QThread::HighestPriority), 232},
    {sipName_IdlePriority, static_cast<int>(QThread::IdlePriority), 232},
    {sipName_InheritPriority, static_cast<int>(QThread::InheritPriority), 232},
    {sipName_LowPriority, static_cast<int>(QThread::LowPriority), 232},
    {sipName_LowestPriority, static_cast<int>(QThread::LowestPriority), 232},
    {sipName_NormalPriority, static_cast<int>(QThread::NormalPriority), 232},
    {sipName_TimeCriticalPriority, static_cast<int>(QThread::TimeCriticalPriority), 232},
};


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

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


pyqt4ClassTypeDef sipTypeDef_QtCore_QThread = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QThread,
        {0}
    },
    {
        sipNameNr_QThread,
        {0, 0, 1},
        30, 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,
};




/* 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)
{
}


pyqt4ClassTypeDef sipTypeDef_QtCore_QTextStreamManipulator = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 33114 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 33118 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QTextStream::NumberFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 33140 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QTextStream::NumberFlags::Int() != a0->operator QTextStream::NumberFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 33174 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QTextStream::NumberFlags::Int() == a0->operator QTextStream::NumberFlags::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 33214 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTextStream::NumberFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTextStream::NumberFlags((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTextStream::NumberFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            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 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QTextStream::NumberFlags(*a0 ^ a1);
#line 33323 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTextStream::NumberFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS
            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 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QTextStream::NumberFlags(*a0 | a1);
#line 33375 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QTextStream::NumberFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QTextStream::NumberFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QTextStream::NumberFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QTextStream::NumberFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QTextStream::NumberFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QTextStream::NumberFlags *>(a0),sipType_QTextStream_NumberFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

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

            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 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 33670 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_QTextStream_NumberFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QTextStream__NumberFlags,
        {0}
    },
    {
        sipNameNr_NumberFlags,
        {224, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTextStream_NumberFlags,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 33751 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 33755 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 33758 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 33761 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 33764 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 33767 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 67 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 33770 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 33773 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 33776 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


class sipQTextStream : public QTextStream
{
public:
    sipQTextStream();
    sipQTextStream(QIODevice*);
    sipQTextStream(QString*,QIODevice::OpenMode);
    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(QString*a0,QIODevice::OpenMode a1): QTextStream(a0,a1), 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCodec(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCodec(a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->codec();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoDetectUnicode(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoDetectUnicode();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setGenerateByteOrderMark(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->generateByteOrderMark();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDevice(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->device();
            Py_END_ALLOW_THREADS

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


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

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        QString* a0;
        QIODevice::OpenMode a1def = QIODevice::ReadWrite;
        QIODevice::OpenMode* a1 = &a1def;
        int a1State = 0;
        QTextStream *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8|J1", &sipSelf, sipType_QTextStream, &sipCpp, sipType_QString,&a0, sipType_QIODevice_OpenMode, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setString(a0,*a1);
            Py_END_ALLOW_THREADS
            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_QTextStream, sipName_setString, NULL);

    return NULL;
}


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

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        const QTextStream *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->string();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_string, NULL);

    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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->atEnd();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->reset();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->seek(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->skipWhiteSpace();
            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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFieldAlignment(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->fieldAlignment();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPadChar(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QChar(sipCpp->padChar());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFieldWidth(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->fieldWidth();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNumberFlags(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTextStream::NumberFlags(sipCpp->numberFlags());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIntegerBase(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->integerBase();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRealNumberNotation(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->realNumberNotation();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRealNumberPrecision(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->realNumberPrecision();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->status();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStatus(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resetStatus();
            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->pos();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLocale(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLocale(sipCpp->locale());
            Py_END_ALLOW_THREADS

            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;

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

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

    {
        QTextStream* a0;
        bool a1;

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

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

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

    {
        QTextStream* a0;
        int a1;

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

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

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

    {
        QTextStream* a0;
        qlonglong a1;

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

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

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

    {
        QTextStream* a0;
        qulonglong a1;

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

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

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS
            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;

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

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    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;

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        QTextStream* a0;
        QChar* a1;

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

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

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

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        QTextStream* a0;
        QString* a1;

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

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

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

    {
        QTextStream* a0;
        QByteArray* a1;

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

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

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    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)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQTextStream *>(sipCppV);
    else
        delete reinterpret_cast<QTextStream *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQTextStream();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QIODevice* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QIODevice, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQTextStream(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        QString* 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_QString,&a0, sipType_QIODevice_OpenMode, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQTextStream(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QIODevice_OpenMode,a1State);

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQTextStream(a0,*a1);
            Py_END_ALLOW_THREADS
            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_setString), (PyCFunction)meth_QTextStream_setString, METH_VARARGS|METH_KEYWORDS, NULL},
    {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)},
    {SIP_MLNAME_CAST(sipName_string), meth_QTextStream_string, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_QTextStream[] = {
    {sipName_AlignAccountingStyle, static_cast<int>(QTextStream::AlignAccountingStyle), 225},
    {sipName_AlignCenter, static_cast<int>(QTextStream::AlignCenter), 225},
    {sipName_AlignLeft, static_cast<int>(QTextStream::AlignLeft), 225},
    {sipName_AlignRight, static_cast<int>(QTextStream::AlignRight), 225},
    {sipName_FixedNotation, static_cast<int>(QTextStream::FixedNotation), 228},
    {sipName_ForcePoint, static_cast<int>(QTextStream::ForcePoint), 226},
    {sipName_ForceSign, static_cast<int>(QTextStream::ForceSign), 226},
    {sipName_Ok, static_cast<int>(QTextStream::Ok), 229},
    {sipName_ReadCorruptData, static_cast<int>(QTextStream::ReadCorruptData), 229},
    {sipName_ReadPastEnd, static_cast<int>(QTextStream::ReadPastEnd), 229},
    {sipName_ScientificNotation, static_cast<int>(QTextStream::ScientificNotation), 228},
    {sipName_ShowBase, static_cast<int>(QTextStream::ShowBase), 226},
    {sipName_SmartNotation, static_cast<int>(QTextStream::SmartNotation), 228},
    {sipName_UppercaseBase, static_cast<int>(QTextStream::UppercaseBase), 226},
    {sipName_UppercaseDigits, static_cast<int>(QTextStream::UppercaseDigits), 226},
    {sipName_WriteFailed, static_cast<int>(QTextStream::WriteFailed), 229},
};

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


pyqt4ClassTypeDef sipTypeDef_QtCore_QTextStream = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QTextStream,
        {0}
    },
    {
        sipNameNr_QTextStream,
        {0, 0, 1},
        38, methods_QTextStream,
        16, enummembers_QTextStream,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTextStream,
    sipNameNr_PyQt4_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
};

#line 147 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 35419 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 35423 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 35426 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 35429 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 35432 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toUnicode(a0,(int)a1));
            Py_END_ALLOW_THREADS

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

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        QString* a0;
        const char* a1;
        SIP_SSIZE_T a2;
        QTextDecoder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8k", &sipSelf, sipType_QTextDecoder, &sipCpp, sipType_QString,&a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->toUnicode(a0,a1,(int)a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QByteArray* a0;
        int a0State = 0;
        QTextDecoder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTextDecoder, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toUnicode(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QTextDecoder *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QTextDecoder(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QTextDecoder(a0,*a1);
            Py_END_ALLOW_THREADS
            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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QTextDecoder = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 129 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 35638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 35642 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 35645 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 35648 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 35651 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->fromUnicode(*a0));
            Py_END_ALLOW_THREADS
            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QTextEncoder *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QTextEncoder(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QTextEncoder(a0,*a1);
            Py_END_ALLOW_THREADS
            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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QTextEncoder = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 86 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 35823 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 35827 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QTextCodec::ConverterState *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QTextCodec::ConverterState(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QTextCodec_ConversionFlags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}

PyDoc_STRVAR(doc_QTextCodec_ConverterState, "\1QTextCodec.ConverterState(QTextCodec.ConversionFlags flags=QTextCodec.DefaultConversion)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QTextCodec_ConverterState = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QTextCodec__ConverterState,
        {0}
    },
    {
        sipNameNr_ConverterState,
        {218, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTextCodec_ConverterState,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 35950 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 35954 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QTextCodec::ConversionFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 35976 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QTextCodec::ConversionFlags::Int() != a0->operator QTextCodec::ConversionFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 36010 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QTextCodec::ConversionFlags::Int() == a0->operator QTextCodec::ConversionFlags::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 36050 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTextCodec::ConversionFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTextCodec::ConversionFlags((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTextCodec::ConversionFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            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 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QTextCodec::ConversionFlags(*a0 ^ a1);
#line 36159 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTextCodec::ConversionFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS
            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 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QTextCodec::ConversionFlags(*a0 | a1);
#line 36211 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QTextCodec::ConversionFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QTextCodec::ConversionFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QTextCodec::ConversionFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QTextCodec::ConversionFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QTextCodec::ConversionFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QTextCodec::ConversionFlags *>(a0),sipType_QTextCodec_ConversionFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QTextCodec::ConversionFlags(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

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

            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 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 36506 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_QTextCodec_ConversionFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QTextCodec__ConversionFlags,
        {0}
    },
    {
        sipNameNr_ConversionFlags,
        {218, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTextCodec_ConversionFlags,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 36587 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 36591 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 86 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 36596 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 36599 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 36602 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 129 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 36605 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 36608 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 147 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 36611 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 623 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 36614 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QTextCodec::codecForName(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QTextCodec::codecForName(a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QTextCodec::codecForMib(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QTextCodec::codecForHtml(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QTextCodec::codecForHtml(*a0,a1);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QTextCodec::codecForUtfText(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QTextCodec::codecForUtfText(*a0,a1);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QByteArray>(QTextCodec::availableCodecs());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<int>(QTextCodec::availableMibs());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QTextCodec::codecForLocale();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            QTextCodec::setCodecForLocale(a0);
            Py_END_ALLOW_THREADS

            sipKeepReference(NULL, -6, 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() -> QTextDecoder\n"
    "QTextCodec.makeDecoder(QTextCodec.ConversionFlags) -> QTextDecoder");

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

    {
        const QTextCodec *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->makeDecoder();
            Py_END_ALLOW_THREADS

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

    {
        QTextCodec::ConversionFlags* a0;
        int a0State = 0;
        const QTextCodec *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTextCodec, &sipCpp, sipType_QTextCodec_ConversionFlags, &a0, &a0State))
        {
            QTextDecoder*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->makeDecoder(*a0);
            Py_END_ALLOW_THREADS
            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() -> QTextEncoder\n"
    "QTextCodec.makeEncoder(QTextCodec.ConversionFlags) -> QTextEncoder");

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

    {
        const QTextCodec *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->makeEncoder();
            Py_END_ALLOW_THREADS

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

    {
        QTextCodec::ConversionFlags* a0;
        int a0State = 0;
        const QTextCodec *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTextCodec, &sipCpp, sipType_QTextCodec_ConversionFlags, &a0, &a0State))
        {
            QTextEncoder*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->makeEncoder(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->canEncode(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toUnicode(*a0));
            Py_END_ALLOW_THREADS
            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;

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

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toUnicode(a0,(int)a1,a2));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->fromUnicode(*a0));
            Py_END_ALLOW_THREADS
            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;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->name());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QByteArray>((sipSelfWasArg ? sipCpp->QTextCodec::aliases() : sipCpp->aliases()));
            Py_END_ALLOW_THREADS

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->mibEnum();
            Py_END_ALLOW_THREADS

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


PyDoc_STRVAR(doc_QTextCodec_codecForTr, "QTextCodec.codecForTr() -> QTextCodec");

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = QTextCodec::codecForTr();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextCodec, sipName_codecForTr, doc_QTextCodec_codecForTr);

    return NULL;
}


PyDoc_STRVAR(doc_QTextCodec_setCodecForTr, "QTextCodec.setCodecForTr(QTextCodec)");

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

    {
        QTextCodec* a0;
        PyObject *a0Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "@J8", &a0Keep, sipType_QTextCodec, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            QTextCodec::setCodecForTr(a0);
            Py_END_ALLOW_THREADS

            sipKeepReference(NULL, -7, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextCodec, sipName_setCodecForTr, doc_QTextCodec_setCodecForTr);

    return NULL;
}


PyDoc_STRVAR(doc_QTextCodec_codecForCStrings, "QTextCodec.codecForCStrings() -> QTextCodec");

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = QTextCodec::codecForCStrings();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextCodec, sipName_codecForCStrings, doc_QTextCodec_codecForCStrings);

    return NULL;
}


PyDoc_STRVAR(doc_QTextCodec_setCodecForCStrings, "QTextCodec.setCodecForCStrings(QTextCodec)");

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

    {
        QTextCodec* a0;
        PyObject *a0Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "@J8", &a0Keep, sipType_QTextCodec, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            QTextCodec::setCodecForCStrings(a0);
            Py_END_ALLOW_THREADS

            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_setCodecForCStrings, doc_QTextCodec_setCodecForCStrings);

    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_codecForCStrings), meth_QTextCodec_codecForCStrings, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextCodec_codecForCStrings)},
    {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_codecForTr), meth_QTextCodec_codecForTr, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextCodec_codecForTr)},
    {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), meth_QTextCodec_makeDecoder, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextCodec_makeDecoder)},
    {SIP_MLNAME_CAST(sipName_makeEncoder), meth_QTextCodec_makeEncoder, METH_VARARGS, 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_setCodecForCStrings), meth_QTextCodec_setCodecForCStrings, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextCodec_setCodecForCStrings)},
    {SIP_MLNAME_CAST(sipName_setCodecForLocale), meth_QTextCodec_setCodecForLocale, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextCodec_setCodecForLocale)},
    {SIP_MLNAME_CAST(sipName_setCodecForTr), meth_QTextCodec_setCodecForTr, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextCodec_setCodecForTr)},
    {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), 219},
    {sipName_DefaultConversion, static_cast<int>(QTextCodec::DefaultConversion), 219},
    {sipName_IgnoreHeader, static_cast<int>(QTextCodec::IgnoreHeader), 219},
};


pyqt4ClassTypeDef sipTypeDef_QtCore_QTextCodec = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_QTextCodec,
        {0}
    },
    {
        sipNameNr_QTextCodec,
        {0, 0, 1},
        20, methods_QTextCodec,
        3, enummembers_QTextCodec,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_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
};

#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextboundaryfinder.sip"
#include <qtextboundaryfinder.h>
#line 37462 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextboundaryfinder.sip"
#include <qtextboundaryfinder.h>
#line 37466 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QTextBoundaryFinder::BoundaryReasons::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 37488 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QTextBoundaryFinder::BoundaryReasons::Int() != a0->operator QTextBoundaryFinder::BoundaryReasons::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 37522 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QTextBoundaryFinder::BoundaryReasons::Int() == a0->operator QTextBoundaryFinder::BoundaryReasons::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 37562 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTextBoundaryFinder::BoundaryReasons(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTextBoundaryFinder::BoundaryReasons((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTextBoundaryFinder::BoundaryReasons((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            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 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QTextBoundaryFinder::BoundaryReasons(*a0 ^ a1);
#line 37671 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTextBoundaryFinder::BoundaryReasons((*a0 | *a1));
            Py_END_ALLOW_THREADS
            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 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QTextBoundaryFinder::BoundaryReasons(*a0 | a1);
#line 37723 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QTextBoundaryFinder::BoundaryReasons::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QTextBoundaryFinder::BoundaryReasons::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QTextBoundaryFinder::BoundaryReasons::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QTextBoundaryFinder::BoundaryReasons *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QTextBoundaryFinder::BoundaryReasons(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QTextBoundaryFinder::BoundaryReasons *>(a0),sipType_QTextBoundaryFinder_BoundaryReasons,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QTextBoundaryFinder::BoundaryReasons(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

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

            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 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 38018 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_QTextBoundaryFinder_BoundaryReasons = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QTextBoundaryFinder__BoundaryReasons,
        {0}
    },
    {
        sipNameNr_BoundaryReasons,
        {214, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTextBoundaryFinder_BoundaryReasons,
    sipNameNr_PyQt4_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
};

#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextboundaryfinder.sip"
#include <qtextboundaryfinder.h>
#line 38099 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 38103 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextboundaryfinder.sip"
#include <qtextboundaryfinder.h>
#line 38106 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->type();
            Py_END_ALLOW_THREADS

            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;

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

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->toStart();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->toEnd();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->position();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPosition(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toNextBoundary();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toPreviousBoundary();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isAtBoundary();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTextBoundaryFinder::BoundaryReasons(sipCpp->boundaryReasons());
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QTextBoundaryFinder *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QTextBoundaryFinder();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QTextBoundaryFinder* a0;

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

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QTextBoundaryFinder(a0,*a1);
            Py_END_ALLOW_THREADS
            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_EndWord, static_cast<int>(QTextBoundaryFinder::EndWord), 215},
    {sipName_Grapheme, static_cast<int>(QTextBoundaryFinder::Grapheme), 217},
    {sipName_Line, static_cast<int>(QTextBoundaryFinder::Line), 217},
    {sipName_NotAtBoundary, static_cast<int>(QTextBoundaryFinder::NotAtBoundary), 215},
    {sipName_Sentence, static_cast<int>(QTextBoundaryFinder::Sentence), 217},
    {sipName_StartWord, static_cast<int>(QTextBoundaryFinder::StartWord), 215},
    {sipName_Word, static_cast<int>(QTextBoundaryFinder::Word), 217},
};

PyDoc_STRVAR(doc_QTextBoundaryFinder, "\1QTextBoundaryFinder()\n"
    "QTextBoundaryFinder(QTextBoundaryFinder)\n"
    "QTextBoundaryFinder(QTextBoundaryFinder.BoundaryType, str)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QTextBoundaryFinder = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QTextBoundaryFinder,
        {0}
    },
    {
        sipNameNr_QTextBoundaryFinder,
        {0, 0, 1},
        11, methods_QTextBoundaryFinder,
        7, enummembers_QTextBoundaryFinder,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTextBoundaryFinder,
    sipNameNr_PyQt4_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
};

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtemporaryfile.sip"
#include <qtemporaryfile.h>
#line 38614 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 38618 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 38621 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractfileengine.sip"
#include <qabstractfileengine.h>
#line 38624 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 79 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfile.sip"
#include <qfile.h>
#line 38627 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 38630 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 79 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfile.sip"
#include <qfile.h>
#line 38633 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 38636 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38639 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38642 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38645 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 38648 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 38651 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 38654 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 38657 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 38660 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 38663 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 38666 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() 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);
    bool sipProtectVirt_open(bool,QIODevice::OpenMode);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    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 writeData(const char*,PY_LONG_LONG);
    qint64 readLineData(char*,qint64);
    qint64 readData(char*,qint64);
    bool atEnd() const;
    bool seek(qint64);
    qint64 pos() const;
    qint64 size() const;
    void close();
    bool isSequential() const;
    bool open(QIODevice::OpenMode);
    QAbstractFileEngine* fileEngine() const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[24];
};

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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QTemporaryFile, _clname)) ? this : QTemporaryFile::qt_metacast(_clname);
}

void sipQTemporaryFile::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

void sipQTemporaryFile::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtCore_23(sipGILState, 0, 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_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtCore_23(sipGILState, 0, 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 *);

    return sipVH_QtCore_7(sipGILState, 0, 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_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_22(sipGILState, 0, 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_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_22(sipGILState, 0, 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 *);

    return sipVH_QtCore_7(sipGILState, 0, sipPySelf, sipMeth);
}

qint64 sipQTemporaryFile::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 QTemporaryFile::writeData(a0,a1);

    extern PY_LONG_LONG sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*,PY_LONG_LONG);

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

qint64 sipQTemporaryFile::readLineData(char*a0,qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QTemporaryFile::readLineData(a0,a1);

    extern PY_LONG_LONG sipVH_QtCore_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,PY_LONG_LONG);

    return sipVH_QtCore_21(sipGILState, 0, 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_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,PY_LONG_LONG);

    return sipVH_QtCore_21(sipGILState, 0, 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 *);

    return sipVH_QtCore_7(sipGILState, 0, 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_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, PY_LONG_LONG);

    return sipVH_QtCore_32(sipGILState, 0, 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_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_22(sipGILState, 0, sipPySelf, sipMeth);
}

qint64 sipQTemporaryFile::size() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QTemporaryFile::size();

    extern PY_LONG_LONG sipVH_QtCore_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_22(sipGILState, 0, 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 *);

    sipVH_QtCore_11(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQTemporaryFile::isSequential() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QTemporaryFile::isSequential();

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

    return sipVH_QtCore_7(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQTemporaryFile::open(QIODevice::OpenMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QTemporaryFile::open(a0);

    extern bool sipVH_QtCore_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QIODevice::OpenMode);

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

QAbstractFileEngine* sipQTemporaryFile::fileEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QTemporaryFile::fileEngine();

    extern QAbstractFileEngine* sipVH_QtCore_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_16(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQTemporaryFile::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

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

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 ? QFile::readData(a0,a1) : readData(a0,a1));
}

qint64 sipQTemporaryFile::sipProtectVirt_readLineData(bool sipSelfWasArg,char*a0,qint64 a1)
{
    return (sipSelfWasArg ? QFile::readLineData(a0,a1) : readLineData(a0,a1));
}

qint64 sipQTemporaryFile::sipProtectVirt_writeData(bool sipSelfWasArg,const char*a0,PY_LONG_LONG a1)
{
    return (sipSelfWasArg ? QFile::writeData(a0,a1) : writeData(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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 39272 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQTemporaryFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QTemporaryFile, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 39317 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QTemporaryFile, sipName_customEvent, doc_QTemporaryFile_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryFile_connectNotify, "QTemporaryFile.connectNotify(SIGNAL())");

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

    {
        char* a0;
        sipQTemporaryFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QTemporaryFile, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QTemporaryFile, sipName_connectNotify, doc_QTemporaryFile_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryFile_disconnectNotify, "QTemporaryFile.disconnectNotify(SIGNAL())");

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

    {
        char* a0;
        sipQTemporaryFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QTemporaryFile, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setOpenMode(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setErrorString(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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 200 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfile.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->QFile::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 39623 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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_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 238 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfile.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->QFile::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 39691 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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_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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoRemove();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoRemove(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_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;

    {
        const QTemporaryFile *sipCpp;

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

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

            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;

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

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFileTemplate(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTemporaryFile, sipName_setFileTemplate, doc_QTemporaryFile_setFileTemplate);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryFile_createLocalFile, "QTemporaryFile.createLocalFile(str) -> QTemporaryFile\n"
    "QTemporaryFile.createLocalFile(QFile) -> QTemporaryFile");

extern "C" {static PyObject *meth_QTemporaryFile_createLocalFile(PyObject *, PyObject *);}
static PyObject *meth_QTemporaryFile_createLocalFile(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::createLocalFile(*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::createLocalFile(*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_createLocalFile, doc_QTemporaryFile_createLocalFile);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryFile_fileEngine, "QTemporaryFile.fileEngine() -> QAbstractFileEngine");

extern "C" {static PyObject *meth_QTemporaryFile_fileEngine(PyObject *, PyObject *);}
static PyObject *meth_QTemporaryFile_fileEngine(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))
        {
            QAbstractFileEngine*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QTemporaryFile::fileEngine() : sipCpp->fileEngine());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTemporaryFile, sipName_fileEngine, doc_QTemporaryFile_fileEngine);

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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQTemporaryFile();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQTemporaryFile(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQTemporaryFile(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQTemporaryFile(*a0,a1);
            Py_END_ALLOW_THREADS
            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[] = {{65, 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_createLocalFile), meth_QTemporaryFile_createLocalFile, METH_VARARGS, SIP_MLDOC_CAST(doc_QTemporaryFile_createLocalFile)},
    {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_fileEngine), meth_QTemporaryFile_fileEngine, METH_VARARGS, SIP_MLDOC_CAST(doc_QTemporaryFile_fileEngine)},
    {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_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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QTemporaryFile = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|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
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsystemsemaphore.sip"
#include <qsystemsemaphore.h>
#line 40220 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 40224 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setKey(*a0,a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

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

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->acquire();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->release(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->error();
            Py_END_ALLOW_THREADS

            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;

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QSystemSemaphore *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QSystemSemaphore(*a0,a1,a2);
            Py_END_ALLOW_THREADS
            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), 212},
    {sipName_Create, static_cast<int>(QSystemSemaphore::Create), 211},
    {sipName_KeyError, static_cast<int>(QSystemSemaphore::KeyError), 212},
    {sipName_NoError, static_cast<int>(QSystemSemaphore::NoError), 212},
    {sipName_NotFound, static_cast<int>(QSystemSemaphore::NotFound), 212},
    {sipName_Open, static_cast<int>(QSystemSemaphore::Open), 211},
    {sipName_OutOfResources, static_cast<int>(QSystemSemaphore::OutOfResources), 212},
    {sipName_PermissionDenied, static_cast<int>(QSystemSemaphore::PermissionDenied), 212},
    {sipName_UnknownError, static_cast<int>(QSystemSemaphore::UnknownError), 212},
};

PyDoc_STRVAR(doc_QSystemSemaphore, "\1QSystemSemaphore(str, int initialValue=0, QSystemSemaphore.AccessMode mode=QSystemSemaphore.Open)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QSystemSemaphore = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringmatcher.sip"
#include <qstringmatcher.h>
#line 40561 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 40565 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40568 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QStringMatcher, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPattern(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringMatcher, sipName_setPattern, NULL);

    return NULL;
}


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

    {
        Qt::CaseSensitivity a0;
        QStringMatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QStringMatcher, &sipCpp, sipType_Qt_CaseSensitivity, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCaseSensitivity(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_QStringMatcher, sipName_setCaseSensitivity, NULL);

    return NULL;
}


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

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|i", &sipSelf, sipType_QStringMatcher, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->indexIn(*a0,a1);
            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_QStringMatcher, sipName_indexIn, NULL);

    return NULL;
}


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

    {
        const QStringMatcher *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringMatcher, sipName_pattern, NULL);

    return NULL;
}


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

    {
        const QStringMatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStringMatcher, &sipCpp))
        {
            Qt::CaseSensitivity sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->caseSensitivity();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_CaseSensitivity);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringMatcher, sipName_caseSensitivity, NULL);

    return NULL;
}


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

    return NULL;
}


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

    delete reinterpret_cast<QStringMatcher *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QStringMatcher_0(void *, SIP_SSIZE_T, const void *);}
static void assign_QStringMatcher_0(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStringMatcher *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStringMatcher *>(sipSrc);
}


extern "C" {static void *array_QStringMatcher_0(SIP_SSIZE_T);}
static void *array_QStringMatcher_0(SIP_SSIZE_T sipNrElem)
{
    return new QStringMatcher[sipNrElem];
}


extern "C" {static void *copy_QStringMatcher_0(const void *, SIP_SSIZE_T);}
static void *copy_QStringMatcher_0(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStringMatcher(reinterpret_cast<const QStringMatcher *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStringMatcher_0(sipSimpleWrapper *);}
static void dealloc_QStringMatcher_0(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStringMatcher_0(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|E", sipType_QString,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QStringMatcher(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
        const QStringMatcher* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QStringMatcher_0[] = {
    {SIP_MLNAME_CAST(sipName_caseSensitivity), meth_QStringMatcher_0_caseSensitivity, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_indexIn), (PyCFunction)meth_QStringMatcher_0_indexIn, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_pattern), meth_QStringMatcher_0_pattern, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCaseSensitivity), meth_QStringMatcher_0_setCaseSensitivity, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPattern), meth_QStringMatcher_0_setPattern, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_QtCore_QStringMatcher_0 = {
{
    {
        0,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QStringMatcher,
        {0}
    },
    {
        sipNameNr_QStringMatcher,
        {0, 0, 1},
        5, methods_QStringMatcher_0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QStringMatcher_0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStringMatcher_0,
    assign_QStringMatcher_0,
    array_QStringMatcher_0,
    copy_QStringMatcher_0,
    release_QStringMatcher_0,
    cast_QStringMatcher_0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 51 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 40889 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 40893 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 40896 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 40899 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40902 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


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

    {
        QStringList *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStringList, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sort();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringList, sipName_sort, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QStringList, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QString*sipRes;

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringList, sipName_join, NULL);

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QStringList *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QStringList, &sipCpp, sipType_QString,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1))
        {
            QStringList*sipRes;

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

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

    {
        const QRegExp* a0;
        const QStringList *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QStringList, &sipCpp, sipType_QRegExp, &a0))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->filter(*a0));
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringList, sipName_filter, NULL);

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QStringList *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QStringList, &sipCpp, sipType_QString,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contains(*a0,a1);
            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_QStringList, sipName_contains, NULL);

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        Qt::CaseSensitivity a2 = Qt::CaseSensitive;
        QStringList *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1J1|E", &sipSelf, sipType_QStringList, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_Qt_CaseSensitivity, &a2))
        {
            QStringList*sipRes;

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

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

    {
        const QRegExp* a0;
        const QString* a1;
        int a1State = 0;
        QStringList *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J1", &sipSelf, sipType_QStringList, &sipCpp, sipType_QRegExp, &a0, sipType_QString,&a1, &a1State))
        {
            QStringList*sipRes;

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringList, sipName_replaceInStrings, NULL);

    return NULL;
}


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

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|i", &sipSelf, sipType_QStringList, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            int sipRes;

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

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QRegExp* a0;
        int a1 = 0;
        const QStringList *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|i", &sipSelf, sipType_QStringList, &sipCpp, sipType_QRegExp, &a0, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->indexOf(*a0,a1);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringList, sipName_indexOf, NULL);

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        int a1 = -1;
        const QStringList *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|i", &sipSelf, sipType_QStringList, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            int sipRes;

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

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QRegExp* a0;
        int a1 = -1;
        const QStringList *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|i", &sipSelf, sipType_QStringList, &sipCpp, sipType_QRegExp, &a0, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->lastIndexOf(*a0,a1);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringList, sipName_lastIndexOf, NULL);

    return NULL;
}


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

    {
        QStringList *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->removeDuplicates();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringList, sipName_removeDuplicates, NULL);

    return NULL;
}


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

    {
        QStringList *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStringList, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clear();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringList, sipName_clear, NULL);

    return NULL;
}


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

    {
        const QStringList *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringList, sipName_isEmpty, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QStringList, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->append(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringList, sipName_append, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QStringList, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->prepend(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringList, sipName_prepend, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QStringList, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insert(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringList, sipName_insert, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QStringList, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->replace(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringList, sipName_replace, NULL);

    return NULL;
}


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

    {
        int a0;
        QStringList *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QStringList, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeAt(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_QStringList, sipName_removeAt, NULL);

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->removeAll(*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_QStringList, sipName_removeAll, NULL);

    return NULL;
}


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

    {
        int a0;
        QStringList *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QStringList, &sipCpp, &a0))
        {
            QString*sipRes;

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringList, sipName_takeAt, NULL);

    return NULL;
}


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

    {
        QStringList *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringList, sipName_takeFirst, NULL);

    return NULL;
}


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

    {
        QStringList *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringList, sipName_takeLast, NULL);

    return NULL;
}


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

    {
        int a0;
        int a1;
        QStringList *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QStringList, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->move(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_QStringList, sipName_move, NULL);

    return NULL;
}


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

    {
        int a0;
        int a1;
        QStringList *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QStringList, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->swap(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_QStringList, sipName_swap, NULL);

    return NULL;
}


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

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

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

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

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QStringList *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->count();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringList, sipName_count, NULL);

    return NULL;
}


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

    {
        QStringList *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->first();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringList, sipName_first, NULL);

    return NULL;
}


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

    {
        QStringList *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->last();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringList, sipName_last, NULL);

    return NULL;
}


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

    {
        int a0;
        int a1 = -1;
        const QStringList *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|i", &sipSelf, sipType_QStringList, &sipCpp, &a0, &a1))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->mid(a0,a1));
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringList, sipName_mid, NULL);

    return NULL;
}


extern "C" {static PyObject *slot_QStringList_0___iadd__(PyObject *,PyObject *);}
static PyObject *slot_QStringList_0___iadd__(PyObject *sipSelf,PyObject *sipArg)
{
    QStringList *sipCpp = reinterpret_cast<QStringList *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStringList));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QStringList::operator+=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QStringList::operator+=(*a0);
            Py_END_ALLOW_THREADS
            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;
}


extern "C" {static SIP_SSIZE_T slot_QStringList_0___len__(PyObject *);}
static SIP_SSIZE_T slot_QStringList_0___len__(PyObject *sipSelf)
{
    QStringList *sipCpp = reinterpret_cast<QStringList *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStringList));

    if (!sipCpp)
        return 0;


    {
        {
            SIP_SSIZE_T sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (SIP_SSIZE_T)sipCpp->count();
#line 41814 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStringList_0___ne__(PyObject *,PyObject *);}
static PyObject *slot_QStringList_0___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QStringList *sipCpp = reinterpret_cast<QStringList *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStringList));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStringList,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QStringList::operator!=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,ne_slot,sipType_QStringList,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QStringList_0___eq__(PyObject *,PyObject *);}
static PyObject *slot_QStringList_0___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QStringList *sipCpp = reinterpret_cast<QStringList *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStringList));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStringList,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QStringList::operator==(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,eq_slot,sipType_QStringList,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QStringList_0___imul__(PyObject *,int);}
static PyObject *slot_QStringList_0___imul__(PyObject *sipSelf,int a0)
{
    QStringList *sipCpp = reinterpret_cast<QStringList *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStringList));

    if (!sipCpp)
        return 0;


    {
        {
#line 237 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
        QStringList orig(*sipCpp);
        
        sipCpp->clear();
        
        while (a0-- > 0)
            *sipCpp += orig;
#line 41914 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStringList_0___mul__(PyObject *,int);}
static PyObject *slot_QStringList_0___mul__(PyObject *sipSelf,int a0)
{
    QStringList *sipCpp = reinterpret_cast<QStringList *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStringList));

    if (!sipCpp)
        return 0;


    {
        {
            QStringList*sipRes = 0;

#line 229 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
        sipRes = new QStringList();
        
        while (a0-- > 0)
            *sipRes += *sipCpp;
#line 41943 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

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

    return 0;
}


extern "C" {static PyObject *slot_QStringList_0___add__(PyObject *,PyObject *);}
static PyObject *slot_QStringList_0___add__(PyObject *sipSelf,PyObject *sipArg)
{
    QStringList *sipCpp = reinterpret_cast<QStringList *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStringList));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStringList,&a0, &a0State))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->QStringList::operator+(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

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

    /* Raise an exception if the argument couldn't be parsed. */
    sipBadOperatorArg(sipSelf,sipArg,concat_slot);

    return NULL;
}


extern "C" {static int slot_QStringList_0___contains__(PyObject *,PyObject *);}
static int slot_QStringList_0___contains__(PyObject *sipSelf,PyObject *sipArg)
{
    QStringList *sipCpp = reinterpret_cast<QStringList *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStringList));

    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 222 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
        // It looks like you can't assign QBool to int.
        sipRes = bool(sipCpp->contains(*a0));
#line 42008 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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_QStringList, sipName___contains__, NULL);

    return -1;
}


extern "C" {static PyObject *slot_QStringList_0___getitem__(PyObject *,PyObject *);}
static PyObject *slot_QStringList_0___getitem__(PyObject *sipSelf,PyObject *sipArg)
{
    QStringList *sipCpp = reinterpret_cast<QStringList *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStringList));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            QString*sipRes = 0;
            int sipIsErr = 0;

#line 188 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
        SIP_SSIZE_T idx = sipConvertFromSequenceIndex(a0, sipCpp->count());
        
        if (idx < 0)
            sipIsErr = 1;
        else
            sipRes = new QString(sipCpp->operator[]((int)idx));
#line 42047 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 198 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.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 42085 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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_QStringList, sipName___getitem__, NULL);

    return 0;
}


extern "C" {static int slot_QStringList_0___delitem__(PyObject *,PyObject *);}
static int slot_QStringList_0___delitem__(PyObject *sipSelf,PyObject *sipArg)
{
    QStringList *sipCpp = reinterpret_cast<QStringList *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStringList));

    if (!sipCpp)
        return -1;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            int sipIsErr = 0;

#line 156 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
        int len;
        
        len = sipCpp->count();
        
        if ((a0 = (int)sipConvertFromSequenceIndex(a0, len)) < 0)
            sipIsErr = 1;
        else
            sipCpp->removeAt(a0);
#line 42127 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return -1;

            return 0;
        }
    }

    {
        PyObject * a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1T", &PySlice_Type, &a0))
        {
            int sipIsErr = 0;

#line 168 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.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 42160 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return -1;

            return 0;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringList, sipName___delitem__, NULL);

    return -1;
}


extern "C" {static int slot_QStringList_0___setitem__(PyObject *,PyObject *);}
static int slot_QStringList_0___setitem__(PyObject *sipSelf,PyObject *sipArgs)
{
    QStringList *sipCpp = reinterpret_cast<QStringList *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStringList));

    if (!sipCpp)
        return -1;

    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QString* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "iJ1", &a0, sipType_QString,&a1, &a1State))
        {
            int sipIsErr = 0;

#line 109 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
        int len;
        
        len = sipCpp->count();
        
        if ((a0 = (int)sipConvertFromSequenceIndex(a0, len)) < 0)
            sipIsErr = 1;
        else
            (*sipCpp)[a0] = *a1;
#line 42204 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            if (sipIsErr)
                return -1;

            return 0;
        }
    }

    {
        PyObject * a0;
        const QStringList* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "TJ1", &PySlice_Type, &a0, sipType_QStringList,&a1, &a1State))
        {
            int sipIsErr = 0;

#line 121 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.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
            {
                QStringList::const_iterator it = a1->begin();
        
                for (i = 0; i < slicelength; ++i)
                {
                    (*sipCpp)[start] = *it;
                    start += step;
                    ++it;
                }
            }
        }
#line 42255 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);

            if (sipIsErr)
                return -1;

            return 0;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringList, sipName___setitem__, NULL);

    return -1;
}


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

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

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QStringList, &a0, &a0State, sipType_QString,&a1, &a1State))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QStringList,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

    {
        QStringList* a0;
        int a0State = 0;
        const QStringList* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QStringList, &a0, &a0State, sipType_QStringList,&a1, &a1State))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QStringList,a0State);
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,lshift_slot,NULL,sipArg0,sipArg1);
}


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

    return NULL;
}


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

    delete reinterpret_cast<QStringList *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QStringList_0(void *, SIP_SSIZE_T, const void *);}
static void assign_QStringList_0(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_0(SIP_SSIZE_T);}
static void *array_QStringList_0(SIP_SSIZE_T sipNrElem)
{
    return new QStringList[sipNrElem];
}


extern "C" {static void *copy_QStringList_0(const void *, SIP_SSIZE_T);}
static void *copy_QStringList_0(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStringList(reinterpret_cast<const QStringList *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStringList_0(sipSimpleWrapper *);}
static void dealloc_QStringList_0(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStringList_0(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QStringList(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QStringList(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QStringList_0(PyObject *, void **, int *, PyObject *);}
static int convertTo_QStringList_0(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QStringList **sipCppPtr = reinterpret_cast<QStringList **>(sipCppPtrV);

#line 55 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
// Allow a Python sequence of QStrings whenever a QStringList is expected.

if (sipIsErr == NULL)
{
    if (sipCanConvertToType(sipPy, sipType_QStringList, SIP_NO_CONVERTORS))
        return 1;

    return qpycore_PySequence_Check_QStringList(sipPy);
}

if (sipCanConvertToType(sipPy, sipType_QStringList, SIP_NO_CONVERTORS))
{
    *sipCppPtr = reinterpret_cast<QStringList *>(sipConvertToType(sipPy, sipType_QStringList, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

    return 0;
}

*sipCppPtr = new QStringList(qpycore_PySequence_AsQStringList(sipPy));

return sipGetState(sipTransferObj);
#line 42456 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QStringList_0[] = {
    {(void *)slot_QStringList_0___iadd__, iconcat_slot},
    {(void *)slot_QStringList_0___len__, len_slot},
    {(void *)slot_QStringList_0___ne__, ne_slot},
    {(void *)slot_QStringList_0___eq__, eq_slot},
    {(void *)slot_QStringList_0___imul__, irepeat_slot},
    {(void *)slot_QStringList_0___mul__, repeat_slot},
    {(void *)slot_QStringList_0___add__, concat_slot},
    {(void *)slot_QStringList_0___contains__, contains_slot},
    {(void *)slot_QStringList_0___getitem__, getitem_slot},
    {(void *)slot_QStringList_0___delitem__, delitem_slot},
    {(void *)slot_QStringList_0___setitem__, setitem_slot},
    {(void *)slot_QStringList_0___lshift__, lshift_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QStringList_0[] = {
    {SIP_MLNAME_CAST(sipName_append), meth_QStringList_0_append, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QStringList_0_clear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contains), (PyCFunction)meth_QStringList_0_contains, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_count), meth_QStringList_0_count, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_filter), (PyCFunction)meth_QStringList_0_filter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_first), meth_QStringList_0_first, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_indexOf), (PyCFunction)meth_QStringList_0_indexOf, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_insert), meth_QStringList_0_insert, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QStringList_0_isEmpty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_join), meth_QStringList_0_join, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_last), meth_QStringList_0_last, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_lastIndexOf), (PyCFunction)meth_QStringList_0_lastIndexOf, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mid), (PyCFunction)meth_QStringList_0_mid, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_move), meth_QStringList_0_move, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prepend), meth_QStringList_0_prepend, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeAll), meth_QStringList_0_removeAll, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeAt), meth_QStringList_0_removeAt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeDuplicates), meth_QStringList_0_removeDuplicates, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_replace), meth_QStringList_0_replace, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_replaceInStrings), (PyCFunction)meth_QStringList_0_replaceInStrings, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sort), meth_QStringList_0_sort, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swap), meth_QStringList_0_swap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_takeAt), meth_QStringList_0_takeAt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_takeFirst), meth_QStringList_0_takeFirst, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_takeLast), meth_QStringList_0_takeLast, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_QtCore_QStringList_0 = {
{
    {
        0,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QStringList,
        {0}
    },
    {
        sipNameNr_QStringList,
        {0, 0, 1},
        25, methods_QStringList_0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QStringList_0,
    init_type_QStringList_0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStringList_0,
    assign_QStringList_0,
    array_QStringList_0,
    copy_QStringList_0,
    release_QStringList_0,
    cast_QStringList_0,
    convertTo_QStringList_0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 42562 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"



extern "C" {static void assign_QStringList_1(void *, SIP_SSIZE_T, const void *);}
static void assign_QStringList_1(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_1(SIP_SSIZE_T);}
static void *array_QStringList_1(SIP_SSIZE_T sipNrElem)
{
    return new QStringList[sipNrElem];
}


extern "C" {static void *copy_QStringList_1(const void *, SIP_SSIZE_T);}
static void *copy_QStringList_1(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_1(void *, int);}
static void release_QStringList_1(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QStringList *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QStringList_1(PyObject *, void **, int *, PyObject *);}
static int convertTo_QStringList_1(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QStringList **sipCppPtr = reinterpret_cast<QStringList **>(sipCppPtrV);

#line 35 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
if (sipIsErr == NULL)
    return qpycore_PySequence_Check_QStringList(sipPy);

*sipCppPtr = new QStringList(qpycore_PySequence_AsQStringList(sipPy));

return sipGetState(sipTransferObj);
#line 42610 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QStringList_1(void *, PyObject *);}
static PyObject *convertFrom_QStringList_1(void *sipCppV, PyObject *)
{
   QStringList *sipCpp = reinterpret_cast<QStringList *>(sipCppV);

#line 44 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
    return qpycore_PyObject_FromQStringList(*sipCpp);
#line 42621 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QStringList_1 = {
    {
        1,
        &sipTypeDef_QtCore_QStringList_0.super.ctd_base,
        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_1,
    array_QStringList_1,
    copy_QStringList_1,
    release_QStringList_1,
    convertTo_QStringList_1,
    convertFrom_QStringList_1
};

#line 814 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 42652 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 42656 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 796 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 42659 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 706 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 42662 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42665 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 150 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
#include <qvector.h>
#line 42668 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 42671 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 67 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 42674 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


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

    {
        const QStringRef *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->string();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(const_cast<QString *>(sipRes),sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringRef, sipName_string, NULL);

    return NULL;
}


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

    {
        const QStringRef *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->position();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringRef, sipName_position, NULL);

    return NULL;
}


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

    {
        const QStringRef *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->size();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringRef, sipName_size, NULL);

    return NULL;
}


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

    {
        const QStringRef *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->count();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QStringRef *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QStringRef, &sipCpp, sipType_QString,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1))
        {
            int sipRes;

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

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QStringRef* a0;
        int a0State = 0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QStringRef *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QStringRef, &sipCpp, sipType_QStringRef,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->count(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringRef, sipName_count, NULL);

    return NULL;
}


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

    {
        const QStringRef *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->length();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringRef, sipName_length, NULL);

    return NULL;
}


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

    {
        const QStringRef *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStringRef, &sipCpp))
        {
            const QChar*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->unicode();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(const_cast<QChar *>(sipRes),sipType_QChar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringRef, sipName_unicode, NULL);

    return NULL;
}


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

    {
        const QStringRef *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStringRef, &sipCpp))
        {
            const QChar*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->data();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(const_cast<QChar *>(sipRes),sipType_QChar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringRef, sipName_data, NULL);

    return NULL;
}


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

    {
        const QStringRef *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStringRef, &sipCpp))
        {
            const QChar*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->constData();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(const_cast<QChar *>(sipRes),sipType_QChar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringRef, sipName_constData, NULL);

    return NULL;
}


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

    {
        QStringRef *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStringRef, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clear();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringRef, sipName_clear, NULL);

    return NULL;
}


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

    {
        const QStringRef *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringRef, sipName_toString, NULL);

    return NULL;
}


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

    {
        const QStringRef *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringRef, sipName_isEmpty, NULL);

    return NULL;
}


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

    {
        const QStringRef *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringRef, sipName_isNull, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ0", &sipSelf, sipType_QStringRef, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QStringRef*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringRef(sipCpp->appendTo(a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QString,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringRef, sipName_appendTo, NULL);

    return NULL;
}


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

    {
        int a0;
        const QStringRef *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QStringRef, &sipCpp, &a0))
        {
            QChar*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QChar(sipCpp->at(a0));
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringRef, sipName_at, NULL);

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QStringRef *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QStringRef, &sipCpp, sipType_QString,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1))
        {
            int sipRes;

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

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QStringRef* a0;
        int a0State = 0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QStringRef *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QStringRef, &sipCpp, sipType_QStringRef,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->compare(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        QLatin1String* a0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QStringRef *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|E", &sipSelf, sipType_QStringRef, &sipCpp, sipType_QLatin1String, &a0, sipType_Qt_CaseSensitivity, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->compare(*a0,a1);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QStringRef* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        Qt::CaseSensitivity a2 = Qt::CaseSensitive;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J1J1|E", sipType_QStringRef,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_Qt_CaseSensitivity, &a2))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QStringRef::compare(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QStringRef* a0;
        int a0State = 0;
        const QStringRef* a1;
        int a1State = 0;
        Qt::CaseSensitivity a2 = Qt::CaseSensitive;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J1J1|E", sipType_QStringRef,&a0, &a0State, sipType_QStringRef,&a1, &a1State, sipType_Qt_CaseSensitivity, &a2))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QStringRef::compare(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);
            sipReleaseType(const_cast<QStringRef *>(a1),sipType_QStringRef,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QStringRef* a0;
        int a0State = 0;
        QLatin1String* a1;
        Qt::CaseSensitivity a2 = Qt::CaseSensitive;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J1J9|E", sipType_QStringRef,&a0, &a0State, sipType_QLatin1String, &a1, sipType_Qt_CaseSensitivity, &a2))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QStringRef::compare(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringRef, sipName_compare, NULL);

    return NULL;
}


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

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

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

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

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QStringRef* a0;
        int a0State = 0;
        const QStringRef *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QStringRef, &sipCpp, sipType_QStringRef,&a0, &a0State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->localeAwareCompare(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

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

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QStringRef,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QStringRef::localeAwareCompare(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QStringRef* a0;
        int a0State = 0;
        const QStringRef* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QStringRef,&a0, &a0State, sipType_QStringRef,&a1, &a1State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QStringRef::localeAwareCompare(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);
            sipReleaseType(const_cast<QStringRef *>(a1),sipType_QStringRef,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringRef, sipName_localeAwareCompare, NULL);

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        int a1 = 0;
        Qt::CaseSensitivity a2 = Qt::CaseSensitive;
        const QStringRef *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|iE", &sipSelf, sipType_QStringRef, &sipCpp, sipType_QString,&a0, &a0State, &a1, sipType_Qt_CaseSensitivity, &a2))
        {
            int sipRes;

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

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        QLatin1String* a0;
        int a1 = 0;
        Qt::CaseSensitivity a2 = Qt::CaseSensitive;
        const QStringRef *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|iE", &sipSelf, sipType_QStringRef, &sipCpp, sipType_QLatin1String, &a0, &a1, sipType_Qt_CaseSensitivity, &a2))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->indexOf(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QStringRef* a0;
        int a0State = 0;
        int a1 = 0;
        Qt::CaseSensitivity a2 = Qt::CaseSensitive;
        const QStringRef *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|iE", &sipSelf, sipType_QStringRef, &sipCpp, sipType_QStringRef,&a0, &a0State, &a1, sipType_Qt_CaseSensitivity, &a2))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->indexOf(*a0,a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringRef, sipName_indexOf, NULL);

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        int a1 = -1;
        Qt::CaseSensitivity a2 = Qt::CaseSensitive;
        const QStringRef *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|iE", &sipSelf, sipType_QStringRef, &sipCpp, sipType_QString,&a0, &a0State, &a1, sipType_Qt_CaseSensitivity, &a2))
        {
            int sipRes;

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

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        QLatin1String* a0;
        int a1 = -1;
        Qt::CaseSensitivity a2 = Qt::CaseSensitive;
        const QStringRef *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|iE", &sipSelf, sipType_QStringRef, &sipCpp, sipType_QLatin1String, &a0, &a1, sipType_Qt_CaseSensitivity, &a2))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->lastIndexOf(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QStringRef* a0;
        int a0State = 0;
        int a1 = -1;
        Qt::CaseSensitivity a2 = Qt::CaseSensitive;
        const QStringRef *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|iE", &sipSelf, sipType_QStringRef, &sipCpp, sipType_QStringRef,&a0, &a0State, &a1, sipType_Qt_CaseSensitivity, &a2))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->lastIndexOf(*a0,a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringRef, sipName_lastIndexOf, NULL);

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QStringRef *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QStringRef, &sipCpp, sipType_QString,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

    {
        QLatin1String* a0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QStringRef *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|E", &sipSelf, sipType_QStringRef, &sipCpp, sipType_QLatin1String, &a0, sipType_Qt_CaseSensitivity, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->startsWith(*a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QStringRef* a0;
        int a0State = 0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QStringRef *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QStringRef, &sipCpp, sipType_QStringRef,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->startsWith(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringRef, sipName_startsWith, NULL);

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QStringRef *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QStringRef, &sipCpp, sipType_QString,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

    {
        QLatin1String* a0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QStringRef *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|E", &sipSelf, sipType_QStringRef, &sipCpp, sipType_QLatin1String, &a0, sipType_Qt_CaseSensitivity, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->endsWith(*a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QStringRef* a0;
        int a0State = 0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QStringRef *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QStringRef, &sipCpp, sipType_QStringRef,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->endsWith(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringRef, sipName_endsWith, NULL);

    return NULL;
}


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

    {
        const QStringRef *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->toAscii());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringRef, sipName_toAscii, NULL);

    return NULL;
}


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

    {
        const QStringRef *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->toLatin1());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringRef, sipName_toLatin1, NULL);

    return NULL;
}


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

    {
        const QStringRef *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->toUtf8());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringRef, sipName_toUtf8, NULL);

    return NULL;
}


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

    {
        const QStringRef *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->toLocal8Bit());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringRef, sipName_toLocal8Bit, NULL);

    return NULL;
}


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

    {
        const QStringRef *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStringRef, &sipCpp))
        {
            QVector<uint>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVector<uint>(sipCpp->toUcs4());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringRef, sipName_toUcs4, NULL);

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QStringRef *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QStringRef, &sipCpp, sipType_QString,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

    {
        QLatin1String* a0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QStringRef *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|E", &sipSelf, sipType_QStringRef, &sipCpp, sipType_QLatin1String, &a0, sipType_Qt_CaseSensitivity, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contains(*a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QStringRef* a0;
        int a0State = 0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QStringRef *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QStringRef, &sipCpp, sipType_QStringRef,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contains(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringRef, sipName_contains, NULL);

    return NULL;
}


extern "C" {static PyObject *slot_QStringRef_0___eq__(PyObject *,PyObject *);}
static PyObject *slot_QStringRef_0___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QStringRef *sipCpp = reinterpret_cast<QStringRef *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStringRef));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStringRef* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStringRef,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator==((*sipCpp), *a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QLatin1String* a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator==((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,eq_slot,sipType_QStringRef,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QStringRef_0___ne__(PyObject *,PyObject *);}
static PyObject *slot_QStringRef_0___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QStringRef *sipCpp = reinterpret_cast<QStringRef *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStringRef));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStringRef* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStringRef,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator!=((*sipCpp), *a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QLatin1String* a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator!=((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,ne_slot,sipType_QStringRef,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QStringRef_0___lt__(PyObject *,PyObject *);}
static PyObject *slot_QStringRef_0___lt__(PyObject *sipSelf,PyObject *sipArg)
{
    QStringRef *sipCpp = reinterpret_cast<QStringRef *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStringRef));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStringRef* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStringRef,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator<((*sipCpp), *a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,lt_slot,sipType_QStringRef,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QStringRef_0___le__(PyObject *,PyObject *);}
static PyObject *slot_QStringRef_0___le__(PyObject *sipSelf,PyObject *sipArg)
{
    QStringRef *sipCpp = reinterpret_cast<QStringRef *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStringRef));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStringRef* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStringRef,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator<=((*sipCpp), *a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,le_slot,sipType_QStringRef,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QStringRef_0___gt__(PyObject *,PyObject *);}
static PyObject *slot_QStringRef_0___gt__(PyObject *sipSelf,PyObject *sipArg)
{
    QStringRef *sipCpp = reinterpret_cast<QStringRef *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStringRef));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStringRef* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStringRef,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator>((*sipCpp), *a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,gt_slot,sipType_QStringRef,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QStringRef_0___ge__(PyObject *,PyObject *);}
static PyObject *slot_QStringRef_0___ge__(PyObject *sipSelf,PyObject *sipArg)
{
    QStringRef *sipCpp = reinterpret_cast<QStringRef *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStringRef));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStringRef* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStringRef,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator>=((*sipCpp), *a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,ge_slot,sipType_QStringRef,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QStringRef_0___str__(PyObject *);}
static PyObject *slot_QStringRef_0___str__(PyObject *sipSelf)
{
    QStringRef *sipCpp = reinterpret_cast<QStringRef *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStringRef));

    if (!sipCpp)
        return 0;


    {
        {
            PyObject * sipRes = 0;

#line 869 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
        sipRes = qpycore_PyObject_FromQString(sipCpp->toString());
#line 44207 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static SIP_SSIZE_T slot_QStringRef_0___len__(PyObject *);}
static SIP_SSIZE_T slot_QStringRef_0___len__(PyObject *sipSelf)
{
    QStringRef *sipCpp = reinterpret_cast<QStringRef *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStringRef));

    if (!sipCpp)
        return 0;


    {
        {
            SIP_SSIZE_T sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (SIP_SSIZE_T)sipCpp->count();
#line 44232 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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

    return NULL;
}


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

    delete reinterpret_cast<QStringRef *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QStringRef_0(void *, SIP_SSIZE_T, const void *);}
static void assign_QStringRef_0(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_0(SIP_SSIZE_T);}
static void *array_QStringRef_0(SIP_SSIZE_T sipNrElem)
{
    return new QStringRef[sipNrElem];
}


extern "C" {static void *copy_QStringRef_0(const void *, SIP_SSIZE_T);}
static void *copy_QStringRef_0(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStringRef(reinterpret_cast<const QStringRef *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStringRef_0(sipSimpleWrapper *);}
static void dealloc_QStringRef_0(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStringRef_0(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        int a1;
        int a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J0ii", sipType_QString,&a0, &a0State, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QStringRef(a0,a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J0", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QStringRef(a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
        const QStringRef* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QStringRef,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QStringRef(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QStringRef_0[] = {
    {(void *)slot_QStringRef_0___eq__, eq_slot},
    {(void *)slot_QStringRef_0___ne__, ne_slot},
    {(void *)slot_QStringRef_0___lt__, lt_slot},
    {(void *)slot_QStringRef_0___le__, le_slot},
    {(void *)slot_QStringRef_0___gt__, gt_slot},
    {(void *)slot_QStringRef_0___ge__, ge_slot},
    {(void *)slot_QStringRef_0___str__, str_slot},
    {(void *)slot_QStringRef_0___len__, len_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QStringRef_0[] = {
    {SIP_MLNAME_CAST(sipName_appendTo), meth_QStringRef_0_appendTo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_at), meth_QStringRef_0_at, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QStringRef_0_clear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_compare), (PyCFunction)meth_QStringRef_0_compare, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_constData), meth_QStringRef_0_constData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contains), (PyCFunction)meth_QStringRef_0_contains, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_count), (PyCFunction)meth_QStringRef_0_count, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_data), meth_QStringRef_0_data, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endsWith), (PyCFunction)meth_QStringRef_0_endsWith, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_indexOf), (PyCFunction)meth_QStringRef_0_indexOf, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QStringRef_0_isEmpty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QStringRef_0_isNull, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_lastIndexOf), (PyCFunction)meth_QStringRef_0_lastIndexOf, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_length), meth_QStringRef_0_length, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_localeAwareCompare), meth_QStringRef_0_localeAwareCompare, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_position), meth_QStringRef_0_position, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_size), meth_QStringRef_0_size, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_startsWith), (PyCFunction)meth_QStringRef_0_startsWith, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_string), meth_QStringRef_0_string, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toAscii), meth_QStringRef_0_toAscii, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toLatin1), meth_QStringRef_0_toLatin1, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toLocal8Bit), meth_QStringRef_0_toLocal8Bit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toString), meth_QStringRef_0_toString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toUcs4), meth_QStringRef_0_toUcs4, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toUtf8), meth_QStringRef_0_toUtf8, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unicode), meth_QStringRef_0_unicode, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_QtCore_QStringRef_0 = {
{
    {
        0,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QStringRef,
        {0}
    },
    {
        sipNameNr_QStringRef,
        {0, 0, 1},
        26, methods_QStringRef_0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QStringRef_0,
    init_type_QStringRef_0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStringRef_0,
    assign_QStringRef_0,
    array_QStringRef_0,
    copy_QStringRef_0,
    release_QStringRef_0,
    cast_QStringRef_0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 796 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 44462 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"



extern "C" {static void assign_QStringRef_1(void *, SIP_SSIZE_T, const void *);}
static void assign_QStringRef_1(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_1(SIP_SSIZE_T);}
static void *array_QStringRef_1(SIP_SSIZE_T sipNrElem)
{
    return new QStringRef[sipNrElem];
}


extern "C" {static void *copy_QStringRef_1(const void *, SIP_SSIZE_T);}
static void *copy_QStringRef_1(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_1(void *, int);}
static void release_QStringRef_1(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QStringRef *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QStringRef_1(PyObject *, void **, int *, PyObject *);}
static int convertTo_QStringRef_1(PyObject *,void **,int *,PyObject *)
{
#line 800 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
    // Qt only ever returns a QStringRef so this conversion isn't needed.
    return 0;
#line 44504 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QStringRef_1(void *, PyObject *);}
static PyObject *convertFrom_QStringRef_1(void *sipCppV, PyObject *)
{
   QStringRef *sipCpp = reinterpret_cast<QStringRef *>(sipCppV);

#line 805 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
    return qpycore_PyObject_FromQString(sipCpp->toString());
#line 44515 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QStringRef_1 = {
    {
        1,
        &sipTypeDef_QtCore_QStringRef_0.super.ctd_base,
        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_1,
    array_QStringRef_1,
    copy_QStringRef_1,
    release_QStringRef_1,
    convertTo_QStringRef_1,
    convertFrom_QStringRef_1
};

#line 706 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 44546 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 44550 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 796 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 44553 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


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

    {
        const QLatin1String *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLatin1String, &sipCpp))
        {
            const char*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->latin1();
            Py_END_ALLOW_THREADS

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

            return SIPBytes_FromString(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLatin1String, sipName_latin1, NULL);

    return NULL;
}


extern "C" {static PyObject *slot_QLatin1String_0___le__(PyObject *,PyObject *);}
static PyObject *slot_QLatin1String_0___le__(PyObject *sipSelf,PyObject *sipArg)
{
    QLatin1String *sipCpp = reinterpret_cast<QLatin1String *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLatin1String));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QLatin1String* a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator<=((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,le_slot,sipType_QLatin1String,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QLatin1String_0___ge__(PyObject *,PyObject *);}
static PyObject *slot_QLatin1String_0___ge__(PyObject *sipSelf,PyObject *sipArg)
{
    QLatin1String *sipCpp = reinterpret_cast<QLatin1String *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLatin1String));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QLatin1String* a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator>=((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,ge_slot,sipType_QLatin1String,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QLatin1String_0___lt__(PyObject *,PyObject *);}
static PyObject *slot_QLatin1String_0___lt__(PyObject *sipSelf,PyObject *sipArg)
{
    QLatin1String *sipCpp = reinterpret_cast<QLatin1String *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLatin1String));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QLatin1String* a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator<((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,lt_slot,sipType_QLatin1String,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QLatin1String_0___gt__(PyObject *,PyObject *);}
static PyObject *slot_QLatin1String_0___gt__(PyObject *sipSelf,PyObject *sipArg)
{
    QLatin1String *sipCpp = reinterpret_cast<QLatin1String *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLatin1String));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QLatin1String* a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator>((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,gt_slot,sipType_QLatin1String,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QLatin1String_0___ne__(PyObject *,PyObject *);}
static PyObject *slot_QLatin1String_0___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QLatin1String *sipCpp = reinterpret_cast<QLatin1String *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLatin1String));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QLatin1String::operator!=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QLatin1String* a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator!=((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QStringRef* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStringRef,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator!=((*sipCpp), *a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,ne_slot,sipType_QLatin1String,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QLatin1String_0___eq__(PyObject *,PyObject *);}
static PyObject *slot_QLatin1String_0___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QLatin1String *sipCpp = reinterpret_cast<QLatin1String *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLatin1String));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QLatin1String* a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator==((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QStringRef* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStringRef,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator==((*sipCpp), *a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,eq_slot,sipType_QLatin1String,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QLatin1String_0___repr__(PyObject *);}
static PyObject *slot_QLatin1String_0___repr__(PyObject *sipSelf)
{
    QLatin1String *sipCpp = reinterpret_cast<QLatin1String *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLatin1String));

    if (!sipCpp)
        return 0;


    {
        {
            PyObject * sipRes = 0;

#line 717 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
        PyObject *str = SIPBytes_FromString(sipCpp->latin1());
        
        if (str)
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromFormat("PyQt4.QtCore.QLatin1String(%R)", str);
        #else
            sipRes = PyString_FromString("PyQt4.QtCore.QLatin1String(");
            PyString_ConcatAndDel(&sipRes, PyObject_Repr(str));
            PyString_ConcatAndDel(&sipRes, PyString_FromString(")"));
        #endif
        
            Py_DECREF(str);
        }
#line 44957 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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

    return NULL;
}


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

    delete reinterpret_cast<QLatin1String *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static PyObject *pickle_QLatin1String(void *);}
static PyObject *pickle_QLatin1String(void *sipCppV)
{
    QLatin1String *sipCpp = reinterpret_cast<QLatin1String *>(sipCppV);
    PyObject *sipRes;

#line 710 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
    sipRes = Py_BuildValue((char *)"(s)", sipCpp->latin1());
#line 44998 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

    return sipRes;
}


extern "C" {static void dealloc_QLatin1String_0(sipSimpleWrapper *);}
static void dealloc_QLatin1String_0(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QLatin1String_0(sipGetAddress(sipSelf),0);
    }
}


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

    {
        const char* a0;
        PyObject *a0Keep;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "AL", &a0Keep, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QLatin1String(a0);
            Py_END_ALLOW_THREADS

            sipKeepReference((PyObject *)sipSelf, -5, a0Keep);
            Py_DECREF(a0Keep);

            return sipCpp;
        }
    }

    {
        const QLatin1String* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QLatin1String_0[] = {
    {(void *)slot_QLatin1String_0___le__, le_slot},
    {(void *)slot_QLatin1String_0___ge__, ge_slot},
    {(void *)slot_QLatin1String_0___lt__, lt_slot},
    {(void *)slot_QLatin1String_0___gt__, gt_slot},
    {(void *)slot_QLatin1String_0___ne__, ne_slot},
    {(void *)slot_QLatin1String_0___eq__, eq_slot},
    {(void *)slot_QLatin1String_0___repr__, repr_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QLatin1String_0[] = {
    {SIP_MLNAME_CAST(sipName_latin1), meth_QLatin1String_0_latin1, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_QtCore_QLatin1String_0 = {
{
    {
        0,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QLatin1String,
        {0}
    },
    {
        sipNameNr_QLatin1String,
        {0, 0, 1},
        1, methods_QLatin1String_0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QLatin1String_0,
    init_type_QLatin1String_0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QLatin1String_0,
    0,
    0,
    0,
    release_QLatin1String_0,
    cast_QLatin1String_0,
    0,
    0,
    0,
    pickle_QLatin1String,
    0,
    0
},
    0,
    0,
    0
};

#line 72 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 45126 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 72 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 45130 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


extern "C" {static int slot_QString_SectionFlags_0___bool__(PyObject *);}
static int slot_QString_SectionFlags_0___bool__(PyObject *sipSelf)
{
    QString::SectionFlags *sipCpp = reinterpret_cast<QString::SectionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QString_SectionFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QString::SectionFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 45152 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QString_SectionFlags_0___ne__(PyObject *,PyObject *);}
static PyObject *slot_QString_SectionFlags_0___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QString::SectionFlags *sipCpp = reinterpret_cast<QString::SectionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QString_SectionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

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

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString_SectionFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QString::SectionFlags::Int() != a0->operator QString::SectionFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 45186 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast<QString::SectionFlags *>(a0),sipType_QString_SectionFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,ne_slot,sipType_QString_SectionFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QString_SectionFlags_0___eq__(PyObject *,PyObject *);}
static PyObject *slot_QString_SectionFlags_0___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QString::SectionFlags *sipCpp = reinterpret_cast<QString::SectionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QString_SectionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

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

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString_SectionFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QString::SectionFlags::Int() == a0->operator QString::SectionFlags::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 45226 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast<QString::SectionFlags *>(a0),sipType_QString_SectionFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,eq_slot,sipType_QString_SectionFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QString_SectionFlags_0___invert__(PyObject *);}
static PyObject *slot_QString_SectionFlags_0___invert__(PyObject *sipSelf)
{
    QString::SectionFlags *sipCpp = reinterpret_cast<QString::SectionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QString_SectionFlags));

    if (!sipCpp)
        return 0;


    {
        {
            QString::SectionFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString::SectionFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


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

    {
        QString::SectionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QString_SectionFlags, &a0, &a0State, &a1))
        {
            QString::SectionFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString::SectionFlags((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QString_SectionFlags,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,and_slot,NULL,sipArg0,sipArg1);
}


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

    {
        QString::SectionFlags* a0;
        int a0State = 0;
        QString::SectionFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QString_SectionFlags, &a0, &a0State, sipType_QString_SectionFlags, &a1, &a1State))
        {
            QString::SectionFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString::SectionFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QString_SectionFlags,a0State);
            sipReleaseType(a1,sipType_QString_SectionFlags,a1State);

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

    {
        QString::SectionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QString_SectionFlags, &a0, &a0State, &a1))
        {
            QString::SectionFlags*sipRes = 0;

#line 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QString::SectionFlags(*a0 ^ a1);
#line 45335 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(a0,sipType_QString_SectionFlags,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,xor_slot,NULL,sipArg0,sipArg1);
}


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

    {
        QString::SectionFlags* a0;
        int a0State = 0;
        QString::SectionFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QString_SectionFlags, &a0, &a0State, sipType_QString_SectionFlags, &a1, &a1State))
        {
            QString::SectionFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString::SectionFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QString_SectionFlags,a0State);
            sipReleaseType(a1,sipType_QString_SectionFlags,a1State);

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

    {
        QString::SectionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QString_SectionFlags, &a0, &a0State, &a1))
        {
            QString::SectionFlags*sipRes = 0;

#line 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QString::SectionFlags(*a0 | a1);
#line 45387 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(a0,sipType_QString_SectionFlags,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QString_SectionFlags_0___int__(PyObject *);}
static PyObject *slot_QString_SectionFlags_0___int__(PyObject *sipSelf)
{
    QString::SectionFlags *sipCpp = reinterpret_cast<QString::SectionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QString_SectionFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QString_SectionFlags_0___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QString_SectionFlags_0___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QString_SectionFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QString::SectionFlags *sipCpp = reinterpret_cast<QString::SectionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QString_SectionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

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

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString_SectionFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QString::SectionFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QString_SectionFlags,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_QString_SectionFlags_0___ior__(PyObject *,PyObject *);}
static PyObject *slot_QString_SectionFlags_0___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QString_SectionFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QString::SectionFlags *sipCpp = reinterpret_cast<QString::SectionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QString_SectionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

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

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString_SectionFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QString::SectionFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QString_SectionFlags,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_QString_SectionFlags_0___iand__(PyObject *,PyObject *);}
static PyObject *slot_QString_SectionFlags_0___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QString_SectionFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QString::SectionFlags *sipCpp = reinterpret_cast<QString::SectionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QString_SectionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QString::SectionFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            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_QString_SectionFlags_0(void *, const sipTypeDef *);}
static void *cast_QString_SectionFlags_0(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QString_SectionFlags)
        return ptr;

    return NULL;
}


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

    delete reinterpret_cast<QString::SectionFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *array_QString_SectionFlags_0(SIP_SSIZE_T);}
static void *array_QString_SectionFlags_0(SIP_SSIZE_T sipNrElem)
{
    return new QString::SectionFlags[sipNrElem];
}


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


extern "C" {static void dealloc_QString_SectionFlags_0(sipSimpleWrapper *);}
static void dealloc_QString_SectionFlags_0(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QString_SectionFlags_0(sipGetAddress(sipSelf),0);
    }
}


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

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString_SectionFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QString::SectionFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString::SectionFlags *>(a0),sipType_QString_SectionFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QString::SectionFlags(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

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

            return sipCpp;
        }
    }

    return NULL;
}


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

#line 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QString::SectionFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QString_SectionFlag)) ||
            sipCanConvertToType(sipPy, sipType_QString_SectionFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QString_SectionFlag)))
{
    *sipCppPtr = new QString::SectionFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QString::SectionFlags *>(sipConvertToType(sipPy, sipType_QString_SectionFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 45682 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QString_SectionFlags_0[] = {
    {(void *)slot_QString_SectionFlags_0___bool__, bool_slot},
    {(void *)slot_QString_SectionFlags_0___ne__, ne_slot},
    {(void *)slot_QString_SectionFlags_0___eq__, eq_slot},
    {(void *)slot_QString_SectionFlags_0___invert__, invert_slot},
    {(void *)slot_QString_SectionFlags_0___and__, and_slot},
    {(void *)slot_QString_SectionFlags_0___xor__, xor_slot},
    {(void *)slot_QString_SectionFlags_0___or__, or_slot},
    {(void *)slot_QString_SectionFlags_0___int__, int_slot},
    {(void *)slot_QString_SectionFlags_0___ixor__, ixor_slot},
    {(void *)slot_QString_SectionFlags_0___ior__, ior_slot},
    {(void *)slot_QString_SectionFlags_0___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_QtCore_QString_SectionFlags_0 = {
{
    {
        0,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QString__SectionFlags,
        {0}
    },
    {
        sipNameNr_SectionFlags,
        {197, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QString_SectionFlags_0,
    init_type_QString_SectionFlags_0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QString_SectionFlags_0,
    assign_QString_SectionFlags_0,
    array_QString_SectionFlags_0,
    copy_QString_SectionFlags_0,
    release_QString_SectionFlags_0,
    cast_QString_SectionFlags_0,
    convertTo_QString_SectionFlags_0,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 72 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 45758 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 67 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 45762 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 45765 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 45768 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 107 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/quuid.sip"
#include <quuid.h>
#line 45771 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 706 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 45774 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 796 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 45777 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 45780 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 116 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 45783 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 45786 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 45789 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 72 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 45792 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 76 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
// This is needed by __hash__().
#include <qhash.h>


// This is needed by the %BIGetCharBufferCode.
#include <qtextcodec.h>
#line 45800 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


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

    {
        const QString *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->size();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_size, NULL);

    return NULL;
}


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

    {
        const QString *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->count();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QString *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1))
        {
            int sipRes;

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

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QStringRef* a0;
        int a0State = 0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QString *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QString, &sipCpp, sipType_QStringRef,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->count(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QRegExp* a0;
        const QString *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QString, &sipCpp, sipType_QRegExp, &a0))
        {
            int sipRes;

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

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_count, NULL);

    return NULL;
}


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

    {
        int a0;
        QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QString, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resize(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_QString, sipName_resize, NULL);

    return NULL;
}


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

    {
        QChar* a0;
        int a0State = 0;
        int a1 = -1;
        QString *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|i", &sipSelf, sipType_QString, &sipCpp, sipType_QChar,&a0, &a0State, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->fill(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QChar,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_fill, NULL);

    return NULL;
}


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

    {
        int a0;
        QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QString, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->truncate(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_QString, sipName_truncate, NULL);

    return NULL;
}


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

    {
        int a0;
        QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QString, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->chop(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_QString, sipName_chop, NULL);

    return NULL;
}


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

    {
        QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QString, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->squeeze();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_squeeze, NULL);

    return NULL;
}


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

    {
        int a0;
        int a1 = 0;
        int a2 = 10;
        const QChar& a3def = QLatin1Char(' ');
        const QChar* a3 = &a3def;
        int a3State = 0;
        const QString *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_fieldWidth,
            sipName_base,
            sipName_fillChar,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BXi|iiJ1", &sipSelf, sipType_QString, &sipCpp, &a0, &a1, &a2, sipType_QChar,&a3, &a3State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->arg(a0,a1,a2,*a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QChar *>(a3),sipType_QChar,a3State);

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

    {
        double a0;
        int a1 = 0;
        char a2 = 'g';
        int a3 = -1;
        const QChar& a4def = QLatin1Char(' ');
        const QChar* a4 = &a4def;
        int a4State = 0;
        const QString *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_fieldWidth,
            sipName_format,
            sipName_precision,
            sipName_fillChar,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BXd|iaAiJ1", &sipSelf, sipType_QString, &sipCpp, &a0, &a1, &a2, &a3, sipType_QChar,&a4, &a4State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->arg(a0,a1,a2,a3,*a4));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QChar *>(a4),sipType_QChar,a4State);

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

    {
        qlonglong a0;
        int a1 = 0;
        int a2 = 10;
        const QChar& a3def = QLatin1Char(' ');
        const QChar* a3 = &a3def;
        int a3State = 0;
        const QString *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_fieldWidth,
            sipName_base,
            sipName_fillChar,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bn|iiJ1", &sipSelf, sipType_QString, &sipCpp, &a0, &a1, &a2, sipType_QChar,&a3, &a3State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->arg(a0,a1,a2,*a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QChar *>(a3),sipType_QChar,a3State);

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

    {
        qulonglong a0;
        int a1 = 0;
        int a2 = 10;
        const QChar& a3def = QLatin1Char(' ');
        const QChar* a3 = &a3def;
        int a3State = 0;
        const QString *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_fieldWidth,
            sipName_base,
            sipName_fillChar,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bo|iiJ1", &sipSelf, sipType_QString, &sipCpp, &a0, &a1, &a2, sipType_QChar,&a3, &a3State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->arg(a0,a1,a2,*a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QChar *>(a3),sipType_QChar,a3State);

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

    {
        const QString* a0;
        int a0State = 0;
        int a1 = 0;
        const QChar& a2def = QLatin1Char(' ');
        const QChar* a2 = &a2def;
        int a2State = 0;
        const QString *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|iJ1", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State, &a1, sipType_QChar,&a2, &a2State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->arg(*a0,a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QChar *>(a2),sipType_QChar,a2State);

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            QString*sipRes;

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

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1J1", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            QString*sipRes;

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

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1J1J1", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->arg(*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 sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1J1J1J1", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State))
        {
            QString*sipRes;

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

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1J1J1J1J1", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State, sipType_QString,&a5, &a5State))
        {
            QString*sipRes;

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

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        const QString* a3;
        int a3State = 0;
        const QString* a4;
        int a4State = 0;
        const QString* a5;
        int a5State = 0;
        const QString* a6;
        int a6State = 0;
        const QString *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1J1J1J1J1J1", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State, sipType_QString,&a5, &a5State, sipType_QString,&a6, &a6State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->arg(*a0,*a1,*a2,*a3,*a4,*a5,*a6));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);
            sipReleaseType(const_cast<QString *>(a5),sipType_QString,a5State);
            sipReleaseType(const_cast<QString *>(a6),sipType_QString,a6State);

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        const QString* a3;
        int a3State = 0;
        const QString* a4;
        int a4State = 0;
        const QString* a5;
        int a5State = 0;
        const QString* a6;
        int a6State = 0;
        const QString* a7;
        int a7State = 0;
        const QString *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1J1J1J1J1J1J1", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State, sipType_QString,&a5, &a5State, sipType_QString,&a6, &a6State, sipType_QString,&a7, &a7State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->arg(*a0,*a1,*a2,*a3,*a4,*a5,*a6,*a7));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);
            sipReleaseType(const_cast<QString *>(a5),sipType_QString,a5State);
            sipReleaseType(const_cast<QString *>(a6),sipType_QString,a6State);
            sipReleaseType(const_cast<QString *>(a7),sipType_QString,a7State);

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        const QString* a3;
        int a3State = 0;
        const QString* a4;
        int a4State = 0;
        const QString* a5;
        int a5State = 0;
        const QString* a6;
        int a6State = 0;
        const QString* a7;
        int a7State = 0;
        const QString* a8;
        int a8State = 0;
        const QString *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1J1J1J1J1J1J1J1", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State, sipType_QString,&a5, &a5State, sipType_QString,&a6, &a6State, sipType_QString,&a7, &a7State, sipType_QString,&a8, &a8State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->arg(*a0,*a1,*a2,*a3,*a4,*a5,*a6,*a7,*a8));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);
            sipReleaseType(const_cast<QString *>(a5),sipType_QString,a5State);
            sipReleaseType(const_cast<QString *>(a6),sipType_QString,a6State);
            sipReleaseType(const_cast<QString *>(a7),sipType_QString,a7State);
            sipReleaseType(const_cast<QString *>(a8),sipType_QString,a8State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_arg, NULL);

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        int a1 = 0;
        Qt::CaseSensitivity a2 = Qt::CaseSensitive;
        const QString *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|iE", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State, &a1, sipType_Qt_CaseSensitivity, &a2))
        {
            int sipRes;

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

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QStringRef* a0;
        int a0State = 0;
        int a1 = 0;
        Qt::CaseSensitivity a2 = Qt::CaseSensitive;
        const QString *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|iE", &sipSelf, sipType_QString, &sipCpp, sipType_QStringRef,&a0, &a0State, &a1, sipType_Qt_CaseSensitivity, &a2))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->indexOf(*a0,a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QLatin1String* a0;
        int a1 = 0;
        Qt::CaseSensitivity a2 = Qt::CaseSensitive;
        const QString *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|iE", &sipSelf, sipType_QString, &sipCpp, sipType_QLatin1String, &a0, &a1, sipType_Qt_CaseSensitivity, &a2))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->indexOf(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QRegExp* a0;
        int a1 = 0;
        const QString *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|i", &sipSelf, sipType_QString, &sipCpp, sipType_QRegExp, &a0, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->indexOf(*a0,a1);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_indexOf, NULL);

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        int a1 = -1;
        Qt::CaseSensitivity a2 = Qt::CaseSensitive;
        const QString *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|iE", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State, &a1, sipType_Qt_CaseSensitivity, &a2))
        {
            int sipRes;

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

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QStringRef* a0;
        int a0State = 0;
        int a1 = -1;
        Qt::CaseSensitivity a2 = Qt::CaseSensitive;
        const QString *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|iE", &sipSelf, sipType_QString, &sipCpp, sipType_QStringRef,&a0, &a0State, &a1, sipType_Qt_CaseSensitivity, &a2))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->lastIndexOf(*a0,a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QLatin1String* a0;
        int a1 = -1;
        Qt::CaseSensitivity a2 = Qt::CaseSensitive;
        const QString *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|iE", &sipSelf, sipType_QString, &sipCpp, sipType_QLatin1String, &a0, &a1, sipType_Qt_CaseSensitivity, &a2))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->lastIndexOf(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QRegExp* a0;
        int a1 = -1;
        const QString *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|i", &sipSelf, sipType_QString, &sipCpp, sipType_QRegExp, &a0, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->lastIndexOf(*a0,a1);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_lastIndexOf, NULL);

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QString *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QStringRef* a0;
        int a0State = 0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QString *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QString, &sipCpp, sipType_QStringRef,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contains(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QRegExp* a0;
        const QString *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_contains, NULL);

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        int a1;
        int a2 = -1;
        QString::SectionFlags a3def = QString::SectionDefault;
        QString::SectionFlags* a3 = &a3def;
        int a3State = 0;
        const QString *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1i|iJ1", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State, &a1, &a2, sipType_QString_SectionFlags, &a3, &a3State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->section(*a0,a1,a2,*a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a3,sipType_QString_SectionFlags,a3State);

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

    {
        const QRegExp* a0;
        int a1;
        int a2 = -1;
        QString::SectionFlags a3def = QString::SectionDefault;
        QString::SectionFlags* a3 = &a3def;
        int a3State = 0;
        const QString *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9i|iJ1", &sipSelf, sipType_QString, &sipCpp, sipType_QRegExp, &a0, &a1, &a2, sipType_QString_SectionFlags, &a3, &a3State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->section(*a0,a1,a2,*a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(a3,sipType_QString_SectionFlags,a3State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_section, NULL);

    return NULL;
}


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

    {
        int a0;
        const QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QString, &sipCpp, &a0))
        {
            QString*sipRes;

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

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

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

    return NULL;
}


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

    {
        int a0;
        const QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QString, &sipCpp, &a0))
        {
            QString*sipRes;

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

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

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

    return NULL;
}


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

    {
        int a0;
        int a1 = -1;
        const QString *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_n,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|i", &sipSelf, sipType_QString, &sipCpp, &a0, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->mid(a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_mid, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_startsWith(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QString_0_startsWith(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QString *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_cs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->startsWith(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QStringRef* a0;
        int a0State = 0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QString *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_cs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QString, &sipCpp, sipType_QStringRef,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->startsWith(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QLatin1String* a0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QString *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_cs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|E", &sipSelf, sipType_QString, &sipCpp, sipType_QLatin1String, &a0, sipType_Qt_CaseSensitivity, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->startsWith(*a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_startsWith, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_endsWith(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QString_0_endsWith(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QString *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_cs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->endsWith(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QStringRef* a0;
        int a0State = 0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QString *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_cs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QString, &sipCpp, sipType_QStringRef,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->endsWith(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QLatin1String* a0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QString *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_cs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|E", &sipSelf, sipType_QString, &sipCpp, sipType_QLatin1String, &a0, sipType_Qt_CaseSensitivity, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->endsWith(*a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_endsWith, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_leftJustified(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QString_0_leftJustified(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QChar a1def = QLatin1Char(' ');
        QChar* a1 = &a1def;
        int a1State = 0;
        bool a2 = 0;
        const QString *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_fillChar,
            sipName_truncate,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|J1b", &sipSelf, sipType_QString, &sipCpp, &a0, sipType_QChar,&a1, &a1State, &a2))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->leftJustified(a0,*a1,a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QChar,a1State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_leftJustified, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_rightJustified(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QString_0_rightJustified(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QChar a1def = QLatin1Char(' ');
        QChar* a1 = &a1def;
        int a1State = 0;
        bool a2 = 0;
        const QString *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_fillChar,
            sipName_truncate,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|J1b", &sipSelf, sipType_QString, &sipCpp, &a0, sipType_QChar,&a1, &a1State, &a2))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->rightJustified(a0,*a1,a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QChar,a1State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_rightJustified, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_toLower(PyObject *, PyObject *);}
static PyObject *meth_QString_0_toLower(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QString, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toLower());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_toLower, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_toUpper(PyObject *, PyObject *);}
static PyObject *meth_QString_0_toUpper(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QString, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toUpper());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_toUpper, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_trimmed(PyObject *, PyObject *);}
static PyObject *meth_QString_0_trimmed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QString, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->trimmed());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_trimmed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_simplified(PyObject *, PyObject *);}
static PyObject *meth_QString_0_simplified(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QString, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->simplified());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_simplified, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_insert(PyObject *, PyObject *);}
static PyObject *meth_QString_0_insert(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QString, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->insert(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromType(sipRes,sipType_QString,NULL);
        }
    }

    {
        int a0;
        const QLatin1String* a1;
        QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_QString, &sipCpp, &a0, sipType_QLatin1String, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->insert(a0,*a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_insert, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_append(PyObject *, PyObject *);}
static PyObject *meth_QString_0_append(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->append(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const QLatin1String* a0;
        QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QString, &sipCpp, sipType_QLatin1String, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->append(*a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const QByteArray* a0;
        int a0State = 0;
        QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QString, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->append(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_append, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_prepend(PyObject *, PyObject *);}
static PyObject *meth_QString_0_prepend(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->prepend(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const QLatin1String* a0;
        QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QString, &sipCpp, sipType_QLatin1String, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->prepend(*a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const QByteArray* a0;
        int a0State = 0;
        QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QString, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->prepend(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_prepend, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_remove(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QString_0_remove(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QString *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QString, &sipCpp, &a0, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->remove(a0,a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        QString *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_cs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->remove(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const QRegExp* a0;
        QString *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QString, &sipCpp, sipType_QRegExp, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->remove(*a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_remove, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_replace(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QString_0_replace(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        const QString* a2;
        int a2State = 0;
        QString *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BiiJ1", &sipSelf, sipType_QString, &sipCpp, &a0, &a1, sipType_QString,&a2, &a2State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->replace(a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return sipConvertFromType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        Qt::CaseSensitivity a2 = Qt::CaseSensitive;
        QString *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_cs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1J1|E", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_Qt_CaseSensitivity, &a2))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->replace(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const QRegExp* a0;
        const QString* a1;
        int a1State = 0;
        QString *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J1", &sipSelf, sipType_QString, &sipCpp, sipType_QRegExp, &a0, sipType_QString,&a1, &a1State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->replace(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const QLatin1String* a0;
        const QLatin1String* a1;
        Qt::CaseSensitivity a2 = Qt::CaseSensitive;
        QString *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_cs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9J9|E", &sipSelf, sipType_QString, &sipCpp, sipType_QLatin1String, &a0, sipType_QLatin1String, &a1, sipType_Qt_CaseSensitivity, &a2))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->replace(*a0,*a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const QLatin1String* a0;
        const QString* a1;
        int a1State = 0;
        Qt::CaseSensitivity a2 = Qt::CaseSensitive;
        QString *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_cs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9J1|E", &sipSelf, sipType_QString, &sipCpp, sipType_QLatin1String, &a0, sipType_QString,&a1, &a1State, sipType_Qt_CaseSensitivity, &a2))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->replace(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QLatin1String* a1;
        Qt::CaseSensitivity a2 = Qt::CaseSensitive;
        QString *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_cs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1J9|E", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State, sipType_QLatin1String, &a1, sipType_Qt_CaseSensitivity, &a2))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->replace(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_replace, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_split(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QString_0_split(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QString::SplitBehavior a1 = QString::KeepEmptyParts;
        Qt::CaseSensitivity a2 = Qt::CaseSensitive;
        const QString *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_behavior,
            sipName_cs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|EE", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString_SplitBehavior, &a1, sipType_Qt_CaseSensitivity, &a2))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->split(*a0,a1,a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    {
        const QRegExp* a0;
        QString::SplitBehavior a1 = QString::KeepEmptyParts;
        const QString *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_behavior,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|E", &sipSelf, sipType_QString, &sipCpp, sipType_QRegExp, &a0, sipType_QString_SplitBehavior, &a1))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->split(*a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_split, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_normalized(PyObject *, PyObject *);}
static PyObject *meth_QString_0_normalized(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QString::NormalizationForm a0;
        const QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QString, &sipCpp, sipType_QString_NormalizationForm, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->normalized(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        QString::NormalizationForm a0;
        QChar::UnicodeVersion a1;
        const QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEE", &sipSelf, sipType_QString, &sipCpp, sipType_QString_NormalizationForm, &a0, sipType_QChar_UnicodeVersion, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->normalized(a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_normalized, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_toAscii(PyObject *, PyObject *);}
static PyObject *meth_QString_0_toAscii(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QString, &sipCpp))
        {
            QByteArray*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->toAscii());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_toAscii, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_toLatin1(PyObject *, PyObject *);}
static PyObject *meth_QString_0_toLatin1(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QString, &sipCpp))
        {
            QByteArray*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->toLatin1());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_toLatin1, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_toUtf8(PyObject *, PyObject *);}
static PyObject *meth_QString_0_toUtf8(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QString, &sipCpp))
        {
            QByteArray*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->toUtf8());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_toUtf8, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_toLocal8Bit(PyObject *, PyObject *);}
static PyObject *meth_QString_0_toLocal8Bit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QString, &sipCpp))
        {
            QByteArray*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->toLocal8Bit());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_toLocal8Bit, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_fromAscii(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QString_0_fromAscii(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        int a1 = -1;

        static const char *sipKwdList[] = {
            NULL,
            sipName_size,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "AA|i", &a0Keep, &a0, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QString::fromAscii(a0,a1));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_fromAscii, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_fromLatin1(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QString_0_fromLatin1(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        int a1 = -1;

        static const char *sipKwdList[] = {
            NULL,
            sipName_size,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "AL|i", &a0Keep, &a0, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QString::fromLatin1(a0,a1));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_fromLatin1, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_fromUtf8(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QString_0_fromUtf8(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        int a1 = -1;

        static const char *sipKwdList[] = {
            NULL,
            sipName_size,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "A8|i", &a0Keep, &a0, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QString::fromUtf8(a0,a1));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_fromUtf8, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_fromLocal8Bit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QString_0_fromLocal8Bit(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        int a1 = -1;

        static const char *sipKwdList[] = {
            NULL,
            sipName_size,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "s|i", &a0, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QString::fromLocal8Bit(a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_fromLocal8Bit, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_compare(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QString_0_compare(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->compare(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        Qt::CaseSensitivity a1;
        const QString *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1E", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->compare(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QLatin1String* a0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QString *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_cs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|E", &sipSelf, sipType_QString, &sipCpp, sipType_QLatin1String, &a0, sipType_Qt_CaseSensitivity, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->compare(*a0,a1);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QStringRef* a0;
        int a0State = 0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const QString *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_cs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QString, &sipCpp, sipType_QStringRef,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->compare(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        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))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QString::compare(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        Qt::CaseSensitivity a2;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "J1J1E", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_Qt_CaseSensitivity, &a2))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QString::compare(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QLatin1String* a1;
        Qt::CaseSensitivity a2 = Qt::CaseSensitive;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_cs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J1J9|E", sipType_QString,&a0, &a0State, sipType_QLatin1String, &a1, sipType_Qt_CaseSensitivity, &a2))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QString::compare(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QLatin1String* a0;
        const QString* a1;
        int a1State = 0;
        Qt::CaseSensitivity a2 = Qt::CaseSensitive;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_cs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J9J1|E", sipType_QLatin1String, &a0, sipType_QString,&a1, &a1State, sipType_Qt_CaseSensitivity, &a2))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QString::compare(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QStringRef* a1;
        int a1State = 0;
        Qt::CaseSensitivity a2 = Qt::CaseSensitive;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_cs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J1J1|E", sipType_QString,&a0, &a0State, sipType_QStringRef,&a1, &a1State, sipType_Qt_CaseSensitivity, &a2))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QString::compare(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QStringRef *>(a1),sipType_QStringRef,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_compare, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_localeAwareCompare(PyObject *, PyObject *);}
static PyObject *meth_QString_0_localeAwareCompare(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->localeAwareCompare(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QStringRef* a0;
        int a0State = 0;
        const QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QString, &sipCpp, sipType_QStringRef,&a0, &a0State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->localeAwareCompare(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return SIPLong_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))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QString::localeAwareCompare(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QStringRef* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QString,&a0, &a0State, sipType_QStringRef,&a1, &a1State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QString::localeAwareCompare(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QStringRef *>(a1),sipType_QStringRef,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_localeAwareCompare, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_toShort(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QString_0_toShort(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        int a1 = 10;
        const QString *sipCpp;

        static const char *sipKwdList[] = {
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QString, &sipCpp, &a1))
        {
            short sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toShort(&a0,a1);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(hb)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_toShort, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_toUShort(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QString_0_toUShort(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        int a1 = 10;
        const QString *sipCpp;

        static const char *sipKwdList[] = {
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QString, &sipCpp, &a1))
        {
            ushort sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toUShort(&a0,a1);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(tb)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_toUShort, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_toInt(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QString_0_toInt(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        int a1 = 10;
        const QString *sipCpp;

        static const char *sipKwdList[] = {
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QString, &sipCpp, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toInt(&a0,a1);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(ib)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_toInt, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_toUInt(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QString_0_toUInt(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        int a1 = 10;
        const QString *sipCpp;

        static const char *sipKwdList[] = {
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QString, &sipCpp, &a1))
        {
            uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toUInt(&a0,a1);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(ub)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_toUInt, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_toLong(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QString_0_toLong(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        int a1 = 10;
        const QString *sipCpp;

        static const char *sipKwdList[] = {
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QString, &sipCpp, &a1))
        {
            long sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toLong(&a0,a1);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(lb)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_toLong, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_toULong(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QString_0_toULong(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        int a1 = 10;
        const QString *sipCpp;

        static const char *sipKwdList[] = {
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QString, &sipCpp, &a1))
        {
            ulong sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toULong(&a0,a1);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(mb)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_toULong, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_toLongLong(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QString_0_toLongLong(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        int a1 = 10;
        const QString *sipCpp;

        static const char *sipKwdList[] = {
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QString, &sipCpp, &a1))
        {
            qlonglong sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toLongLong(&a0,a1);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(nb)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_toLongLong, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_toULongLong(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QString_0_toULongLong(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        int a1 = 10;
        const QString *sipCpp;

        static const char *sipKwdList[] = {
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QString, &sipCpp, &a1))
        {
            qulonglong sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toULongLong(&a0,a1);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(ob)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_toULongLong, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_toFloat(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QString_0_toFloat(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        const QString *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QString, &sipCpp))
        {
            float sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toFloat(&a0);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(fb)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_toFloat, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_toDouble(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QString_0_toDouble(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        const QString *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QString, &sipCpp))
        {
            double sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toDouble(&a0);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(db)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_toDouble, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_setNum(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QString_0_setNum(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1 = 10;
        QString *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BXi|i", &sipSelf, sipType_QString, &sipCpp, &a0, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->setNum(a0,a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QString,NULL);
        }
    }

    {
        double a0;
        char a1 = 'g';
        int a2 = 6;
        QString *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_format,
            sipName_precision,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BXd|aAi", &sipSelf, sipType_QString, &sipCpp, &a0, &a1, &a2))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->setNum(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QString,NULL);
        }
    }

    {
        qlonglong a0;
        int a1 = 10;
        QString *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bn|i", &sipSelf, sipType_QString, &sipCpp, &a0, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->setNum(a0,a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QString,NULL);
        }
    }

    {
        qulonglong a0;
        int a1 = 10;
        QString *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bo|i", &sipSelf, sipType_QString, &sipCpp, &a0, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->setNum(a0,a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_setNum, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_number(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QString_0_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))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QString::number(a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,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))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QString::number(a0,a1,a2));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        qlonglong a0;
        int a1 = 10;

        static const char *sipKwdList[] = {
            NULL,
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "n|i", &a0, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QString::number(a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        qulonglong a0;
        int a1 = 10;

        static const char *sipKwdList[] = {
            NULL,
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "o|i", &a0, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QString::number(a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_number, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_push_back(PyObject *, PyObject *);}
static PyObject *meth_QString_0_push_back(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->push_back(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_push_back, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_push_front(PyObject *, PyObject *);}
static PyObject *meth_QString_0_push_front(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->push_front(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_push_front, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_isNull(PyObject *, PyObject *);}
static PyObject *meth_QString_0_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QString, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_isNull, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_isSimpleText(PyObject *, PyObject *);}
static PyObject *meth_QString_0_isSimpleText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QString, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isSimpleText();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_isSimpleText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_isRightToLeft(PyObject *, PyObject *);}
static PyObject *meth_QString_0_isRightToLeft(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QString, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isRightToLeft();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_isRightToLeft, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_length(PyObject *, PyObject *);}
static PyObject *meth_QString_0_length(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QString, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->length();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_length, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_at(PyObject *, PyObject *);}
static PyObject *meth_QString_0_at(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QString, &sipCpp, &a0))
        {
            QChar*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QChar(sipCpp->at(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QChar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_at, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_QString_0_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QString, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_isEmpty, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_clear(PyObject *, PyObject *);}
static PyObject *meth_QString_0_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QString, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clear();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_clear, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_capacity(PyObject *, PyObject *);}
static PyObject *meth_QString_0_capacity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QString, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->capacity();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_capacity, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_reserve(PyObject *, PyObject *);}
static PyObject *meth_QString_0_reserve(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QString, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->reserve(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_QString, sipName_reserve, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_toCaseFolded(PyObject *, PyObject *);}
static PyObject *meth_QString_0_toCaseFolded(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QString, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toCaseFolded());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_toCaseFolded, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_repeated(PyObject *, PyObject *);}
static PyObject *meth_QString_0_repeated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QString, &sipCpp, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->repeated(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_repeated, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QString_0_swap(PyObject *, PyObject *);}
static PyObject *meth_QString_0_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QString* a0;
        int a0State = 0;
        QString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QString, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->swap(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName_swap, NULL);

    return NULL;
}


extern "C" {static PyObject *slot_QString_0___add__(PyObject *,PyObject *);}
static PyObject *slot_QString_0___add__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((*a0 + *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QByteArray* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QString,&a0, &a0State, sipType_QByteArray, &a1, &a1State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((*a0 + *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QByteArray *>(a1),sipType_QByteArray,a1State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,add_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QString_0___imul__(PyObject *,int);}
static PyObject *slot_QString_0___imul__(PyObject *sipSelf,int a0)
{
    QString *sipCpp = reinterpret_cast<QString *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QString));

    if (!sipCpp)
        return 0;


    {
        {
#line 659 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
        QString orig(*sipCpp);
        
        sipCpp->clear();
        
        while (a0-- > 0)
            *sipCpp += orig;
#line 49312 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QString_0___mul__(PyObject *,int);}
static PyObject *slot_QString_0___mul__(PyObject *sipSelf,int a0)
{
    QString *sipCpp = reinterpret_cast<QString *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QString));

    if (!sipCpp)
        return 0;


    {
        {
            QString*sipRes = 0;

#line 651 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
        sipRes = new QString();
        
        while (a0-- > 0)
            *sipRes += *sipCpp;
#line 49341 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    return 0;
}


extern "C" {static long slot_QString_0___hash__(PyObject *);}
static long slot_QString_0___hash__(PyObject *sipSelf)
{
    QString *sipCpp = reinterpret_cast<QString *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QString));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 646 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
        sipRes = qHash(*sipCpp);
#line 49366 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QString_0___str__(PyObject *);}
static PyObject *slot_QString_0___str__(PyObject *sipSelf)
{
    QString *sipCpp = reinterpret_cast<QString *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QString));

    if (!sipCpp)
        return 0;


    {
        {
            PyObject * sipRes = 0;

#line 641 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
        sipRes = qpycore_PyObject_FromQString(*sipCpp);
#line 49391 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QString_0___contains__(PyObject *,PyObject *);}
static int slot_QString_0___contains__(PyObject *sipSelf,PyObject *sipArg)
{
    QString *sipCpp = reinterpret_cast<QString *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QString));

    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 635 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
        // It looks like you can't assign QBool to int.
        sipRes = bool(sipCpp->contains(*a0));
#line 49422 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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_QString, sipName___contains__, NULL);

    return -1;
}


extern "C" {static PyObject *slot_QString_0___getitem__(PyObject *,PyObject *);}
static PyObject *slot_QString_0___getitem__(PyObject *sipSelf,PyObject *sipArg)
{
    QString *sipCpp = reinterpret_cast<QString *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QString));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            QString*sipRes = 0;
            int sipIsErr = 0;

#line 597 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
        // Note that we return a QString (rather than a QChar as Qt does).  This makes
        // things a bit easier in Python (because it doesn't distinguish between
        // characters and strings), although now that a QChar can be used whenever a
        // QString is expected it doesn't really matter.
        SIP_SSIZE_T idx = sipConvertFromSequenceIndex(a0, sipCpp->count());
        
        if (idx < 0)
            sipIsErr = 1;
        else
            sipRes = new QString(sipCpp->operator[]((int)idx));
#line 49465 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        PyObject * a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1T", &PySlice_Type, &a0))
        {
            QString*sipRes = 0;
            int sipIsErr = 0;

#line 611 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.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 QString();
        
            for (i = 0; i < slicelength; ++i)
            {
                sipRes -> append(sipCpp->at(start));
                start += step;
            }
        }
#line 49503 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QString, sipName___getitem__, NULL);

    return 0;
}


extern "C" {static PyObject *slot_QString_0___ge__(PyObject *,PyObject *);}
static PyObject *slot_QString_0___ge__(PyObject *sipSelf,PyObject *sipArg)
{
    QString *sipCpp = reinterpret_cast<QString *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QString));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes = 0;

#line 564 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
        // In Qt5 this is a global operator and so SIP appends it to the list of class operators.
        // However these must appear before the corresponding QByteArray argument operator.
        #if QT_VERSION >= 0x050000
            sipRes = operator>=(*sipCpp, *a0);
        #else
            sipRes = sipCpp->QString::operator>=(*a0);
        #endif
#line 49545 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QLatin1String* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QLatin1String, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QString::operator>=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QString::operator>=(*a0);
            Py_END_ALLOW_THREADS
            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_QString,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QString_0___le__(PyObject *,PyObject *);}
static PyObject *slot_QString_0___le__(PyObject *sipSelf,PyObject *sipArg)
{
    QString *sipCpp = reinterpret_cast<QString *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QString));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes = 0;

#line 553 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
        // In Qt5 this is a global operator and so SIP appends it to the list of class operators.
        // However these must appear before the corresponding QByteArray argument operator.
        #if QT_VERSION >= 0x050000
            sipRes = operator<=(*sipCpp, *a0);
        #else
            sipRes = sipCpp->QString::operator<=(*a0);
        #endif
#line 49619 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QLatin1String* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QLatin1String, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QString::operator<=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QString::operator<=(*a0);
            Py_END_ALLOW_THREADS
            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_QString,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QString_0___ne__(PyObject *,PyObject *);}
static PyObject *slot_QString_0___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QString *sipCpp = reinterpret_cast<QString *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QString));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes = 0;

#line 542 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
        // In Qt5 this is a global operator and so SIP appends it to the list of class operators.
        // However these must appear before the corresponding QByteArray argument operator.
        #if QT_VERSION >= 0x050000
            sipRes = operator!=(*sipCpp, *a0);
        #else
            sipRes = sipCpp->QString::operator!=(*a0);
        #endif
#line 49693 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QLatin1String* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QLatin1String, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QString::operator!=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QString::operator!=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QStringRef* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStringRef,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator!=((*sipCpp), *a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,ne_slot,sipType_QString,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QString_0___gt__(PyObject *,PyObject *);}
static PyObject *slot_QString_0___gt__(PyObject *sipSelf,PyObject *sipArg)
{
    QString *sipCpp = reinterpret_cast<QString *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QString));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes = 0;

#line 531 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
        // In Qt5 this is a global operator and so SIP appends it to the list of class operators.
        // However these must appear before the corresponding QByteArray argument operator.
        #if QT_VERSION >= 0x050000
            sipRes = operator>(*sipCpp, *a0);
        #else
            sipRes = sipCpp->QString::operator<(*a0);
        #endif
#line 49784 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QLatin1String* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QLatin1String, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QString::operator>(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QString::operator>(*a0);
            Py_END_ALLOW_THREADS
            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_QString,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QString_0___lt__(PyObject *,PyObject *);}
static PyObject *slot_QString_0___lt__(PyObject *sipSelf,PyObject *sipArg)
{
    QString *sipCpp = reinterpret_cast<QString *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QString));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes = 0;

#line 520 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
        // In Qt5 this is a global operator and so SIP appends it to the list of class operators.
        // However these must appear before the corresponding QByteArray argument operator.
        #if QT_VERSION >= 0x050000
            sipRes = operator<(*sipCpp, *a0);
        #else
            sipRes = sipCpp->QString::operator<(*a0);
        #endif
#line 49858 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QLatin1String* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QLatin1String, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QString::operator<(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QString::operator<(*a0);
            Py_END_ALLOW_THREADS
            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_QString,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QString_0___eq__(PyObject *,PyObject *);}
static PyObject *slot_QString_0___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QString *sipCpp = reinterpret_cast<QString *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QString));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes = 0;

#line 509 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
        // In Qt5 this is a global operator and so SIP appends it to the list of class operators.
        // However these must appear before the corresponding QByteArray argument operator.
        #if QT_VERSION >= 0x050000
            sipRes = operator==(*sipCpp, *a0);
        #else
            sipRes = sipCpp->QString::operator==(*a0);
        #endif
#line 49932 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QLatin1String* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QLatin1String, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QString::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QString::operator==(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QStringRef* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStringRef,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator==((*sipCpp), *a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringRef *>(a0),sipType_QStringRef,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,eq_slot,sipType_QString,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QString_0___iadd__(PyObject *,PyObject *);}
static PyObject *slot_QString_0___iadd__(PyObject *sipSelf,PyObject *sipArg)
{
    QString *sipCpp = reinterpret_cast<QString *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QString));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QChar::SpecialCharacter a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1E", sipType_QChar_SpecialCharacter, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QString::operator+=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QString::operator+=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    {
        const QLatin1String* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QLatin1String, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QString::operator+=(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    {
        const QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QString::operator+=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            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_QString_0___len__(PyObject *);}
static SIP_SSIZE_T slot_QString_0___len__(PyObject *sipSelf)
{
    QString *sipCpp = reinterpret_cast<QString *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QString));

    if (!sipCpp)
        return 0;


    {
        {
            SIP_SSIZE_T sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (SIP_SSIZE_T)sipCpp->count();
#line 50089 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QString_0___repr__(PyObject *);}
static PyObject *slot_QString_0___repr__(PyObject *sipSelf)
{
    QString *sipCpp = reinterpret_cast<QString *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QString));

    if (!sipCpp)
        return 0;


    {
        {
            PyObject * sipRes = 0;

#line 252 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
        PyObject *uni = qpycore_PyObject_FromQString(*sipCpp);
        
        if (uni)
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromFormat("PyQt4.QtCore.QString(%R)", uni);
        #else
            sipRes = PyString_FromString("PyQt4.QtCore.QString(");
            PyString_ConcatAndDel(&sipRes, PyObject_Repr(uni));
            PyString_ConcatAndDel(&sipRes, PyString_FromString(")"));
        #endif
        
            Py_DECREF(uni);
        }
#line 50127 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QString_0(void *, const sipTypeDef *);}
static void *cast_QString_0(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QString)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QString_0(void *, int);}
static void release_QString_0(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QString *>(sipCppV);

    Py_END_ALLOW_THREADS
}


#if PY_MAJOR_VERSION < 3
extern "C" {static SIP_SSIZE_T getreadbuffer_QString(PyObject *, void *, SIP_SSIZE_T, void **);}
static SIP_SSIZE_T getreadbuffer_QString(PyObject *sipSelf, void *sipCppV, SIP_SSIZE_T sipSegment, void **sipPtrPtr)
{
    QString *sipCpp = reinterpret_cast<QString *>(sipCppV);
    SIP_SSIZE_T sipRes;

#line 158 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
    if (sipSegment != 0)
    {
        PyErr_SetString(PyExc_SystemError, "accessing non-existent QString segment");
        sipRes = -1;
    }
    else
    {
        // To keep things easy we convert to a Python Unicode object, keep a
        // reference to it and expose its contents.
        PyObject *uobj = qpycore_PyObject_FromQString(*sipCpp);
    
        if (uobj)
        {
            Py_XDECREF(((sipSimpleWrapper *)sipSelf)->user);
            ((sipSimpleWrapper *)sipSelf)->user = uobj;
    
            *sipPtrPtr = (void *)PyUnicode_AS_UNICODE(uobj);
            sipRes = PyUnicode_GET_DATA_SIZE(uobj);
        }
        else
        {
            sipRes = -1;
        }
    }
#line 50192 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

    return sipRes;
}
#endif


#if PY_MAJOR_VERSION < 3
extern "C" {static SIP_SSIZE_T getsegcount_QString(PyObject *, void *, SIP_SSIZE_T *);}
static SIP_SSIZE_T getsegcount_QString(PyObject *, void *sipCppV, SIP_SSIZE_T *sipLenPtr)
{
    QString *sipCpp = reinterpret_cast<QString *>(sipCppV);
    SIP_SSIZE_T sipRes;

#line 185 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
    if (sipLenPtr)
        *sipLenPtr = sipCpp->size() * sizeof (Py_UNICODE);
    
    sipRes = 1;
#line 50211 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

    return sipRes;
}
#endif


#if PY_MAJOR_VERSION < 3
extern "C" {static SIP_SSIZE_T getcharbuffer_QString(PyObject *, void *, SIP_SSIZE_T, void **);}
static SIP_SSIZE_T getcharbuffer_QString(PyObject *sipSelf, void *sipCppV, SIP_SSIZE_T sipSegment, void **sipPtrPtr)
{
    QString *sipCpp = reinterpret_cast<QString *>(sipCppV);
    SIP_SSIZE_T sipRes;

#line 192 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
    if (sipSegment != 0)
    {
        PyErr_SetString(PyExc_SystemError, "accessing non-existent QString segment");
        sipRes = -1;
    }
    else
    {
        static QTextCodec *codec = 0;
        static bool check_codec = true;
    
        // For the first time only, try and find a Qt codec that corresponds to the
        // default Python codec.  If one wasn't found then fall back to ASCII
        // (which is actually the codec returned by QTextCodec::codecForCStrings()).
        if (check_codec)
        {
            codec = QTextCodec::codecForName(PyUnicode_GetDefaultEncoding());
            check_codec = false;
        }
    
        QByteArray enc;
    
        if (codec)
            enc = codec->fromUnicode(*sipCpp);
        else
    #if QT_VERSION >= 0x050000
            enc = sipCpp->toLatin1();
    #else
            enc = sipCpp->toAscii();
    #endif
        
        // A Python string is the most convenient method to save the encoded
        // version on the heap.
        PyObject *encobj = ((sipSimpleWrapper *)sipSelf)->user;
    
        Py_XDECREF(encobj);
    
        if ((encobj = PyString_FromStringAndSize(enc.data(), enc.size())) != NULL)
        {
            *sipPtrPtr = (void *)PyString_AS_STRING(encobj);
            sipRes = PyString_GET_SIZE(encobj);
    
            ((sipSimpleWrapper *)sipSelf)->user = encobj;
        }
        else
            sipRes = -1;
    }
#line 50272 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

    return sipRes;
}
#endif


extern "C" {static PyObject *pickle_QString(void *);}
static PyObject *pickle_QString(void *sipCppV)
{
    QString *sipCpp = reinterpret_cast<QString *>(sipCppV);
    PyObject *sipRes;

#line 241 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
    sipRes = Py_BuildValue((char *)"(O)", qpycore_PyObject_FromQString(*sipCpp));
#line 50287 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

    return sipRes;
}


extern "C" {static void assign_QString_0(void *, SIP_SSIZE_T, const void *);}
static void assign_QString_0(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_0(SIP_SSIZE_T);}
static void *array_QString_0(SIP_SSIZE_T sipNrElem)
{
    return new QString[sipNrElem];
}


extern "C" {static void *copy_QString_0(const void *, SIP_SSIZE_T);}
static void *copy_QString_0(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QString(reinterpret_cast<const QString *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QString_0(sipSimpleWrapper *);}
static void dealloc_QString_0(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QString_0(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QString_0(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QString_0(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QString *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QString();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        int a0;
        QChar* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "iJ1", &a0, sipType_QChar,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QString(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QChar,a1State);

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QString(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QString(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipCpp;
        }
    }

    {
        QUuid* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QUuid, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QString(a0->operator QString());
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QString_0(PyObject *, void **, int *, PyObject *);}
static int convertTo_QString_0(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QString **sipCppPtr = reinterpret_cast<QString **>(sipCppPtrV);

#line 85 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
// See the comments for the QByteArray %ConvertToTypeCode for an explanation
// of the conversions that are done below.

if (sipIsErr == NULL)
    return (PyUnicode_Check(sipPy) ||
#if PY_MAJOR_VERSION < 3
            PyString_Check(sipPy) ||
#endif
            sipCanConvertToType(sipPy, sipType_QLatin1String, 0) ||
            sipCanConvertToType(sipPy, sipType_QChar, 0) ||
            sipCanConvertToType(sipPy, sipType_QString, SIP_NO_CONVERTORS));

if (PyUnicode_Check(sipPy))
{
    *sipCppPtr = new QString(qpycore_PyObject_AsQString(sipPy));

    return sipGetState(sipTransferObj);
}

#if PY_MAJOR_VERSION < 3
if (PyString_Check(sipPy))
{
    *sipCppPtr = new QString(PyString_AS_STRING(sipPy));

    return sipGetState(sipTransferObj);
}
#endif

if (sipCanConvertToType(sipPy, sipType_QLatin1String, 0))
{
    int state;
    QLatin1String *q = reinterpret_cast<QLatin1String *>(sipConvertToType(sipPy,
            sipType_QLatin1String, 0, 0, &state, sipIsErr));

    if (*sipIsErr)
    {
        sipReleaseType(q, sipType_QLatin1String, state);
        return 0;
    }

    *sipCppPtr = new QString(*q);

    sipReleaseType(q, sipType_QLatin1String, state);

    return sipGetState(sipTransferObj);
}

if (sipCanConvertToType(sipPy, sipType_QChar, 0))
{
    int state;
    QChar *q = reinterpret_cast<QChar *>(sipConvertToType(sipPy,
            sipType_QChar, 0, 0, &state, sipIsErr));

    if (*sipIsErr)
    {
        sipReleaseType(q, sipType_QChar, state);
        return 0;
    }

    *sipCppPtr = new QString(*q);

    sipReleaseType(q, sipType_QChar, state);

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QString *>(sipConvertToType(sipPy,
        sipType_QString, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 50479 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QString_0[] = {
    {(void *)slot_QString_0___add__, add_slot},
    {(void *)slot_QString_0___imul__, irepeat_slot},
    {(void *)slot_QString_0___mul__, repeat_slot},
    {(void *)slot_QString_0___hash__, hash_slot},
    {(void *)slot_QString_0___str__, str_slot},
    {(void *)slot_QString_0___contains__, contains_slot},
    {(void *)slot_QString_0___getitem__, getitem_slot},
    {(void *)slot_QString_0___ge__, ge_slot},
    {(void *)slot_QString_0___le__, le_slot},
    {(void *)slot_QString_0___ne__, ne_slot},
    {(void *)slot_QString_0___gt__, gt_slot},
    {(void *)slot_QString_0___lt__, lt_slot},
    {(void *)slot_QString_0___eq__, eq_slot},
    {(void *)slot_QString_0___iadd__, iconcat_slot},
    {(void *)slot_QString_0___len__, len_slot},
    {(void *)slot_QString_0___repr__, repr_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QString_0[] = {
    {SIP_MLNAME_CAST(sipName_append), meth_QString_0_append, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_arg), (PyCFunction)meth_QString_0_arg, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_at), meth_QString_0_at, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_capacity), meth_QString_0_capacity, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_chop), meth_QString_0_chop, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QString_0_clear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_compare), (PyCFunction)meth_QString_0_compare, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contains), (PyCFunction)meth_QString_0_contains, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_count), (PyCFunction)meth_QString_0_count, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endsWith), (PyCFunction)meth_QString_0_endsWith, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_fill), (PyCFunction)meth_QString_0_fill, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_fromAscii), (PyCFunction)meth_QString_0_fromAscii, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_fromLatin1), (PyCFunction)meth_QString_0_fromLatin1, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_fromLocal8Bit), (PyCFunction)meth_QString_0_fromLocal8Bit, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_fromUtf8), (PyCFunction)meth_QString_0_fromUtf8, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_indexOf), (PyCFunction)meth_QString_0_indexOf, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_insert), meth_QString_0_insert, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QString_0_isEmpty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QString_0_isNull, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRightToLeft), meth_QString_0_isRightToLeft, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSimpleText), meth_QString_0_isSimpleText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_lastIndexOf), (PyCFunction)meth_QString_0_lastIndexOf, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_left), meth_QString_0_left, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leftJustified), (PyCFunction)meth_QString_0_leftJustified, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_length), meth_QString_0_length, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_localeAwareCompare), meth_QString_0_localeAwareCompare, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mid), (PyCFunction)meth_QString_0_mid, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_normalized), meth_QString_0_normalized, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_number), (PyCFunction)meth_QString_0_number, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_prepend), meth_QString_0_prepend, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_push_back), meth_QString_0_push_back, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_push_front), meth_QString_0_push_front, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_remove), (PyCFunction)meth_QString_0_remove, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_repeated), meth_QString_0_repeated, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_replace), (PyCFunction)meth_QString_0_replace, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_reserve), meth_QString_0_reserve, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resize), meth_QString_0_resize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_right), meth_QString_0_right, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rightJustified), (PyCFunction)meth_QString_0_rightJustified, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_section), (PyCFunction)meth_QString_0_section, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setNum), (PyCFunction)meth_QString_0_setNum, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_simplified), meth_QString_0_simplified, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_size), meth_QString_0_size, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_split), (PyCFunction)meth_QString_0_split, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_squeeze), meth_QString_0_squeeze, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_startsWith), (PyCFunction)meth_QString_0_startsWith, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_swap), meth_QString_0_swap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toAscii), meth_QString_0_toAscii, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toCaseFolded), meth_QString_0_toCaseFolded, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toDouble), (PyCFunction)meth_QString_0_toDouble, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_toFloat), (PyCFunction)meth_QString_0_toFloat, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_toInt), (PyCFunction)meth_QString_0_toInt, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_toLatin1), meth_QString_0_toLatin1, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toLocal8Bit), meth_QString_0_toLocal8Bit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toLong), (PyCFunction)meth_QString_0_toLong, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_toLongLong), (PyCFunction)meth_QString_0_toLongLong, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_toLower), meth_QString_0_toLower, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toShort), (PyCFunction)meth_QString_0_toShort, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_toUInt), (PyCFunction)meth_QString_0_toUInt, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_toULong), (PyCFunction)meth_QString_0_toULong, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_toULongLong), (PyCFunction)meth_QString_0_toULongLong, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_toUShort), (PyCFunction)meth_QString_0_toUShort, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_toUpper), meth_QString_0_toUpper, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toUtf8), meth_QString_0_toUtf8, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_trimmed), meth_QString_0_trimmed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_truncate), meth_QString_0_truncate, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_QString_0[] = {
    {sipName_KeepEmptyParts, static_cast<int>(QString::KeepEmptyParts), 201},
    {sipName_NormalizationForm_C, static_cast<int>(QString::NormalizationForm_C), 198},
    {sipName_NormalizationForm_D, static_cast<int>(QString::NormalizationForm_D), 198},
    {sipName_NormalizationForm_KC, static_cast<int>(QString::NormalizationForm_KC), 198},
    {sipName_NormalizationForm_KD, static_cast<int>(QString::NormalizationForm_KD), 198},
    {sipName_SectionCaseInsensitiveSeps, static_cast<int>(QString::SectionCaseInsensitiveSeps), 199},
    {sipName_SectionDefault, static_cast<int>(QString::SectionDefault), 199},
    {sipName_SectionIncludeLeadingSep, static_cast<int>(QString::SectionIncludeLeadingSep), 199},
    {sipName_SectionIncludeTrailingSep, static_cast<int>(QString::SectionIncludeTrailingSep), 199},
    {sipName_SectionSkipEmpty, static_cast<int>(QString::SectionSkipEmpty), 199},
    {sipName_SkipEmptyParts, static_cast<int>(QString::SkipEmptyParts), 201},
};


pyqt4ClassTypeDef sipTypeDef_QtCore_QString_0 = {
{
    {
        0,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QString,
        {0}
    },
    {
        sipNameNr_QString,
        {0, 0, 1},
        66, methods_QString_0,
        11, enummembers_QString_0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QString_0,
    init_type_QString_0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    getreadbuffer_QString,
    0,
    getsegcount_QString,
    getcharbuffer_QString,
#endif
    dealloc_QString_0,
    assign_QString_0,
    array_QString_0,
    copy_QString_0,
    release_QString_0,
    cast_QString_0,
    convertTo_QString_0,
    0,
    0,
    pickle_QString,
    0,
    0
},
    0,
    0,
    0
};

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 50644 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"



extern "C" {static void assign_QString_1(void *, SIP_SSIZE_T, const void *);}
static void assign_QString_1(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_1(SIP_SSIZE_T);}
static void *array_QString_1(SIP_SSIZE_T sipNrElem)
{
    return new QString[sipNrElem];
}


extern "C" {static void *copy_QString_1(const void *, SIP_SSIZE_T);}
static void *copy_QString_1(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_1(void *, int);}
static void release_QString_1(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QString *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QString_1(PyObject *, void **, int *, PyObject *);}
static int convertTo_QString_1(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QString **sipCppPtr = reinterpret_cast<QString **>(sipCppPtrV);

#line 35 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 50713 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QString_1(void *, PyObject *);}
static PyObject *convertFrom_QString_1(void *sipCppV, PyObject *)
{
   QString *sipCpp = reinterpret_cast<QString *>(sipCppV);

#line 65 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
    return qpycore_PyObject_FromQString(*sipCpp);
#line 50724 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QString_1 = {
    {
        1,
        &sipTypeDef_QtCore_QString_0.super.ctd_base,
        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_1,
    array_QString_1,
    copy_QString_1,
    release_QString_1,
    convertTo_QString_1,
    convertFrom_QString_1
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 48 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 50757 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 50761 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 50764 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->object();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->event();
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QStateMachine::WrappedEvent *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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[] = {{58, 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)}
};


pyqt4ClassTypeDef sipTypeDef_QtCore_QStateMachine_WrappedEvent = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QStateMachine__WrappedEvent,
        {0}
    },
    {
        sipNameNr_WrappedEvent,
        {191, 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
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 35 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 50930 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 50934 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 50937 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 50940 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 50943 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 50946 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sender();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->signalIndex();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QVariant>(sipCpp->arguments());
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QStateMachine::SignalEvent *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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[] = {{58, 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)}
};


pyqt4ClassTypeDef sipTypeDef_QtCore_QStateMachine_SignalEvent = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QStateMachine__SignalEvent,
        {0}
    },
    {
        sipNameNr_SignalEvent,
        {191, 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
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 51140 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 51144 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 51147 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 315 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qset.sip"
#include <qset.h>
#line 51150 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 51153 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 51156 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 51159 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 51162 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 51165 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstate.sip"
#include <qstate.h>
#line 51168 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 51171 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstracttransition.sip"
#include <qabstracttransition.h>
#line 51174 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsignaltransition.sip"
#include <qsignaltransition.h>
#line 51177 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 51180 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 51183 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 51186 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 51189 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 51192 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 51195 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 51198 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 51201 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 51204 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


class sipQStateMachine : public QStateMachine
{
public:
    sipQStateMachine(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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() 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 char*);
    void connectNotify(const char*);
    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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQStateMachine::metaObject() const
{
    return 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QStateMachine, _clname)) ? this : QStateMachine::qt_metacast(_clname);
}

void sipQStateMachine::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQStateMachine::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQStateMachine::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQStateMachine::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 51537 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQStateMachine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QStateMachine, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 51582 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QStateMachine, sipName_customEvent, doc_QStateMachine_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_connectNotify, "QStateMachine.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQStateMachine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QStateMachine, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QStateMachine, sipName_connectNotify, doc_QStateMachine_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_disconnectNotify, "QStateMachine.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQStateMachine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QStateMachine, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addState(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeState(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->error();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->errorString());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearError();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isRunning();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isAnimated();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAnimated(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_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 101 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 52032 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QAbstractAnimation*>(sipCpp->defaultAnimations());
            Py_END_ALLOW_THREADS

            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 118 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
        {
            SIP_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 52107 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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() -> QStateMachine.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))
        {
            QStateMachine::RestorePolicy sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->globalRestorePolicy();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QStateMachine_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(QStateMachine.RestorePolicy)");

extern "C" {static PyObject *meth_QStateMachine_setGlobalRestorePolicy(PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_setGlobalRestorePolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QStateMachine::RestorePolicy a0;
        QStateMachine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QStateMachine, &sipCpp, sipType_QStateMachine_RestorePolicy, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setGlobalRestorePolicy(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->postEvent(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->postDelayedEvent(a0,a1);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->cancelDelayedEvent(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSet<QAbstractState*>(sipCpp->configuration());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QStateMachine::eventFilter(a0,a1) : sipCpp->eventFilter(a0,a1));
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->start();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->stop();
            Py_END_ALLOW_THREADS

            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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_onEntry(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_onExit(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQStateMachine(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStateMachine[] = {{189, 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_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_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_DontRestoreProperties, static_cast<int>(QStateMachine::DontRestoreProperties), 194},
    {sipName_HighPriority, static_cast<int>(QStateMachine::HighPriority), 193},
    {sipName_NoCommonAncestorForTransitionError, static_cast<int>(QStateMachine::NoCommonAncestorForTransitionError), 192},
    {sipName_NoDefaultStateInHistoryStateError, static_cast<int>(QStateMachine::NoDefaultStateInHistoryStateError), 192},
    {sipName_NoError, static_cast<int>(QStateMachine::NoError), 192},
    {sipName_NoInitialStateError, static_cast<int>(QStateMachine::NoInitialStateError), 192},
    {sipName_NormalPriority, static_cast<int>(QStateMachine::NormalPriority), 193},
    {sipName_RestoreProperties, static_cast<int>(QStateMachine::RestoreProperties), 194},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_QStateMachine[] = {
    {"stopped()", "\1QStateMachine.stopped", 0, 0},
    {"started()", "\1QStateMachine.started", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QStateMachine, "\1QStateMachine(QObject parent=None)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QStateMachine = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QStateMachine,
        {0}
    },
    {
        sipNameNr_QStateMachine,
        {0, 0, 1},
        31, methods_QStateMachine,
        8, 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,
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstate.sip"
#include <qstate.h>
#line 52673 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 52677 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 52680 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 52683 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 52686 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 52689 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstracttransition.sip"
#include <qabstracttransition.h>
#line 52692 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsignaltransition.sip"
#include <qsignaltransition.h>
#line 52695 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 52698 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 52701 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 52704 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 52707 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 52710 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 52713 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 52716 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 52719 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 52722 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 52725 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 52728 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() 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 char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QState, _clname)) ? this : QState::qt_metacast(_clname);
}

void sipQState::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQState::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQState::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQState::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 53067 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QState, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 53112 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QState, sipName_customEvent, doc_QState_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QState_connectNotify, "QState.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QState, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QState, sipName_connectNotify, doc_QState_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QState_disconnectNotify, "QState.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QState, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->errorState();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setErrorState(a0);
            Py_END_ALLOW_THREADS

            sipKeepReference(sipSelf, -3, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QState, sipName_setErrorState, doc_QState_setErrorState);

    return NULL;
}


PyDoc_STRVAR(doc_QState_addTransition, "QState.addTransition(QAbstractTransition)\n"
    "QState.addTransition(QObject, SIGNAL(), QAbstractState) -> QSignalTransition\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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addTransition(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QObject* a0;
        char* a1;
        QAbstractState* a2;
        QState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8GJ8", &sipSelf, sipType_QState, &sipCpp, sipType_QObject, &a0, &a1, sipType_QAbstractState, &a2))
        {
            QSignalTransition*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addTransition(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QSignalTransition,NULL);
        }
    }

    {
        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 61 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstate.sip"
        QObject *sender;
        const char *signal = qpycore_pyqtsignal_get_parts(a0, &sender);
        
        if (signal)
        {
            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addTransition(sender, signal, a1);
            Py_END_ALLOW_THREADS
        }
        else
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 53432 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addTransition(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeTransition(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QAbstractTransition*>(sipCpp->transitions());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->initialState();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInitialState(a0);
            Py_END_ALLOW_THREADS

            sipKeepReference(sipSelf, -4, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->childMode();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setChildMode(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_QState, sipName_setChildMode, doc_QState_setChildMode);

    return NULL;
}


PyDoc_STRVAR(doc_QState_assignProperty, "QState.assignProperty(QObject, str, object)");

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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->assignProperty(a0,a1,*a2);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_onEntry(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_onExit(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQState(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQState(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QState[] = {{15, 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_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_ExclusiveStates, static_cast<int>(QState::ExclusiveStates), 190},
    {sipName_ParallelStates, static_cast<int>(QState::ParallelStates), 190},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_QState[] = {
    {"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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QState = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QState,
        {0}
    },
    {
        sipNameNr_QState,
        {0, 0, 1},
        21, methods_QState,
        2, 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,
};

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsocketnotifier.sip"
#include <qsocketnotifier.h>
#line 53968 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 53972 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 53975 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 53978 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 53981 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 53984 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 53987 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 53990 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 53993 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 53996 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 53999 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 54002 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 54005 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 54008 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


class sipQSocketNotifier : public QSocketNotifier
{
public:
    sipQSocketNotifier(int,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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;
    bool sipProtectVirt_event(bool,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    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(int 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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QSocketNotifier, _clname)) ? this : QSocketNotifier::qt_metacast(_clname);
}

void sipQSocketNotifier::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQSocketNotifier::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQSocketNotifier::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQSocketNotifier::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 54291 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQSocketNotifier *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QSocketNotifier, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 54336 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QSocketNotifier, sipName_customEvent, doc_QSocketNotifier_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSocketNotifier_connectNotify, "QSocketNotifier.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQSocketNotifier *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QSocketNotifier, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QSocketNotifier, sipName_connectNotify, doc_QSocketNotifier_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSocketNotifier_disconnectNotify, "QSocketNotifier.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQSocketNotifier *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QSocketNotifier, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_socket, "QSocketNotifier.socket() -> int");

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))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->socket();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->type();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEnabled();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEnabled(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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;

    {
        int a0;
        QSocketNotifier::Type a1;
        QObject* a2 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "iE|JH", &a0, sipType_QSocketNotifier_Type, &a1, sipType_QObject, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQSocketNotifier(a0,a1,a2);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSocketNotifier[] = {{141, 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_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), 188},
    {sipName_Read, static_cast<int>(QSocketNotifier::Read), 188},
    {sipName_Write, static_cast<int>(QSocketNotifier::Write), 188},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_QSocketNotifier[] = {
    {"activated(int)", "\1QSocketNotifier.activated[int]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QSocketNotifier, "\1QSocketNotifier(int, QSocketNotifier.Type, QObject parent=None)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QSocketNotifier = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QSocketNotifier,
        {0}
    },
    {
        sipNameNr_QSocketNotifier,
        {0, 0, 1},
        13, 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,
};

#line 107 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 54845 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 54849 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 54852 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->transpose();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->scale(*a0,a1);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->scale(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->width();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->height();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWidth(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHeight(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF(sipCpp->expandedTo(*a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF(sipCpp->boundedTo(*a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize(sipCpp->toSize());
            Py_END_ALLOW_THREADS

            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;
}


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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator==((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator!=((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF((*a0 + *a1));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF((*a0 - *a1));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF((*a0 * a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    {
        qreal a0;
        const QSizeF* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "dJ9", &a0, sipType_QSizeF, &a1))
        {
            QSizeF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF((a0 * *a1));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF((*a0 / a1));
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QSizeF::operator/=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QSizeF::operator*=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QSizeF::operator-=(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QSizeF::operator+=(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(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 158 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsize.sip"
        sipRes = sipCpp->isValid();
#line 55610 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 122 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsize.sip"
        if (sipCpp->isNull())
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromString("PyQt4.QtCore.QSizeF()");
        #else
            sipRes = PyString_FromString("PyQt4.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("PyQt4.QtCore.QSizeF(%R, %R)", w, h);
        #else
                sipRes = PyString_FromString("PyQt4.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 55663 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QSizeF *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static PyObject *pickle_QSizeF(void *);}
static PyObject *pickle_QSizeF(void *sipCppV)
{
    QSizeF *sipCpp = reinterpret_cast<QSizeF *>(sipCppV);
    PyObject *sipRes;

#line 111 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsize.sip"
    sipRes = Py_BuildValue((char *)"dd", sipCpp->width(), sipCpp->height());
#line 55704 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QSizeF();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QSize* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QSize, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QSizeF(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        qreal a0;
        qreal a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "dd", &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QSizeF(a0,a1);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QSizeF* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QSizeF, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QSizeF(*a0);
            Py_END_ALLOW_THREADS

            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_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_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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QSizeF = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QSizeF,
        {0}
    },
    {
        sipNameNr_QSizeF,
        {0, 0, 1},
        12, methods_QSizeF,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSizeF,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 55896 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 55900 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->transpose();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->scale(*a0,a1);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->scale(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->width();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->height();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWidth(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHeight(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize(sipCpp->expandedTo(*a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize(sipCpp->boundedTo(*a0));
            Py_END_ALLOW_THREADS

            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;
}


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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator==((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator!=((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((*a0 + *a1));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((*a0 - *a1));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((*a0 * a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    {
        qreal a0;
        const QSize* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "dJ9", &a0, sipType_QSize, &a1))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((a0 * *a1));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((*a0 / a1));
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QSize::operator/=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QSize::operator*=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QSize::operator-=(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QSize::operator+=(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsize.sip"
        sipRes = sipCpp->isValid();
#line 56629 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsize.sip"
        if (sipCpp->isNull())
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromString("PyQt4.QtCore.QSize()");
        #else
            sipRes = PyString_FromString("PyQt4.QtCore.QSize()");
        #endif
        }
        else
        {
            sipRes =
        #if PY_MAJOR_VERSION >= 3
                PyUnicode_FromFormat
        #else
                PyString_FromFormat
        #endif
                    ("PyQt4.QtCore.QSize(%i, %i)", sipCpp->width(), sipCpp->height());
        }
#line 56671 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QSize *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsize.sip"
    sipRes = Py_BuildValue((char *)"ii", sipCpp->width(), sipCpp->height());
#line 56712 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QSize();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        int a0;
        int a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "ii", &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QSize(a0,a1);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QSize* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QSize, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QSize(*a0);
            Py_END_ALLOW_THREADS

            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_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_width), meth_QSize_width, METH_VARARGS, SIP_MLDOC_CAST(doc_QSize_width)}
};

PyDoc_STRVAR(doc_QSize, "\1QSize()\n"
    "QSize(int, int)\n"
    "QSize(QSize)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QSize = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QSize,
        {0}
    },
    {
        sipNameNr_QSize,
        {0, 0, 1},
        11, methods_QSize,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSize,
    sipNameNr_PyQt4_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
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsignaltransition.sip"
#include <qsignaltransition.h>
#line 56889 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstate.sip"
#include <qstate.h>
#line 56893 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 56896 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 56899 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 56902 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 56905 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 56908 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 56911 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 56914 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 56917 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 56920 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 56923 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 56926 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 56929 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 56932 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 56935 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 56938 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 56941 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 56944 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 56947 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


class sipQSignalTransition : public QSignalTransition
{
public:
    sipQSignalTransition(QState*);
    sipQSignalTransition(QObject*,const char*,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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() 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 char*);
    void connectNotify(const char*);
    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(QObject*a0,const char*a1,QState*a2): QSignalTransition(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSignalTransition::~sipQSignalTransition()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQSignalTransition::metaObject() const
{
    return 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QSignalTransition, _clname)) ? this : QSignalTransition::qt_metacast(_clname);
}

void sipQSignalTransition::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQSignalTransition::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQSignalTransition::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQSignalTransition::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 57283 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQSignalTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QSignalTransition, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 57328 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QSignalTransition, sipName_customEvent, doc_QSignalTransition_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalTransition_connectNotify, "QSignalTransition.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQSignalTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QSignalTransition, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QSignalTransition, sipName_connectNotify, doc_QSignalTransition_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalTransition_disconnectNotify, "QSignalTransition.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQSignalTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QSignalTransition, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->senderObject();
            Py_END_ALLOW_THREADS

            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;

    {
        QObject* a0;
        QSignalTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QSignalTransition, &sipCpp, sipType_QObject, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSenderObject(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->signal());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSignal(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_eventTest(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_onTransition(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQSignalTransition(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QObject* a0;
        char* a1;
        QState* a2 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_sourceState,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J8G|JH", sipType_QObject, &a0, &a1, sipType_QState, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQSignalTransition(a0,a1,a2);
            Py_END_ALLOW_THREADS

            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 41 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsignaltransition.sip"
        QObject *sender;
        const char *signal = qpycore_pyqtsignal_get_parts(a0, &sender);
        
        if (signal)
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQSignalTransition(sender, signal, a1);
            Py_END_ALLOW_THREADS
        }
        else
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 57850 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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[] = {{17, 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_onTransition), (PyCFunction)meth_QSignalTransition_onTransition, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSignalTransition_onTransition)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QSignalTransition_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QSignalTransition_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderObject), meth_QSignalTransition_senderObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QSignalTransition_senderObject)},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QSignalTransition_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setSenderObject), meth_QSignalTransition_setSenderObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QSignalTransition_setSenderObject)},
    {SIP_MLNAME_CAST(sipName_setSignal), meth_QSignalTransition_setSignal, METH_VARARGS, SIP_MLDOC_CAST(doc_QSignalTransition_setSignal)},
    {SIP_MLNAME_CAST(sipName_signal), meth_QSignalTransition_signal, METH_VARARGS, SIP_MLDOC_CAST(doc_QSignalTransition_signal)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QSignalTransition_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QSignalTransition, "\1QSignalTransition(QState sourceState=None)\n"
    "QSignalTransition(QObject, SIGNAL(), QState sourceState=None)\n"
    "QSignalTransition(signal, QState sourceState=None)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QSignalTransition = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QSignalTransition,
        {0}
    },
    {
        sipNameNr_QSignalTransition,
        {0, 0, 1},
        15, 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,
    0
};

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsignalmapper.sip"
#include <qsignalmapper.h>
#line 57958 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 57962 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 57965 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 57968 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 57971 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 57974 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 57977 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 57980 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 57983 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 57986 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 57989 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 57992 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 57995 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 57998 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QSignalMapper, _clname)) ? this : QSignalMapper::qt_metacast(_clname);
}

void sipQSignalMapper::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQSignalMapper::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQSignalMapper::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQSignalMapper::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}


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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 58275 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQSignalMapper *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QSignalMapper, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 58320 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QSignalMapper, sipName_customEvent, doc_QSignalMapper_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalMapper_connectNotify, "QSignalMapper.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQSignalMapper *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QSignalMapper, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QSignalMapper, sipName_connectNotify, doc_QSignalMapper_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalMapper_disconnectNotify, "QSignalMapper.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQSignalMapper *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QSignalMapper, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMapping(a0,a1);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMapping(a0,*a1);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMapping(a0,a1);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMapping(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeMappings(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->mapping(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->mapping(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->mapping(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->mapping(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->map();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QObject* a0;
        QSignalMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QSignalMapper, &sipCpp, sipType_QObject, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->map(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_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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQSignalMapper(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSignalMapper[] = {{141, 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_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 pyqt4QtSignal 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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QSignalMapper = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QSignalMapper,
        {0}
    },
    {
        sipNameNr_QSignalMapper,
        {0, 0, 1},
        12, 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,
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsharedmemory.sip"
#include <qsharedmemory.h>
#line 58913 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 58917 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 58920 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 58923 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 58926 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 58929 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 58932 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 58935 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 58938 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 58941 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 58944 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 58947 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 58950 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 58953 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QSharedMemory, _clname)) ? this : QSharedMemory::qt_metacast(_clname);
}

void sipQSharedMemory::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQSharedMemory::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQSharedMemory::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQSharedMemory::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}


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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 59236 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQSharedMemory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QSharedMemory, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 59281 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QSharedMemory, sipName_customEvent, doc_QSharedMemory_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSharedMemory_connectNotify, "QSharedMemory.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQSharedMemory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QSharedMemory, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QSharedMemory, sipName_connectNotify, doc_QSharedMemory_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSharedMemory_disconnectNotify, "QSharedMemory.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQSharedMemory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QSharedMemory, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setKey(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->key());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->create(a0,a1);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->size();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->attach(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isAttached();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->detach();
            Py_END_ALLOW_THREADS

            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 63 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsharedmemory.sip"
        sipRes = sipConvertFromVoidPtrAndSize(sipCpp->data(), sipCpp->size());
#line 59706 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 68 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsharedmemory.sip"
        sipRes = sipConvertFromConstVoidPtrAndSize(sipCpp->constData(), sipCpp->size());
#line 59735 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->unlock();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->error();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->errorString());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNativeKey(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->nativeKey());
            Py_END_ALLOW_THREADS

            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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQSharedMemory(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQSharedMemory(*a0,a1);
            Py_END_ALLOW_THREADS
            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[] = {{141, 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_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), 182},
    {sipName_InvalidSize, static_cast<int>(QSharedMemory::InvalidSize), 182},
    {sipName_KeyError, static_cast<int>(QSharedMemory::KeyError), 182},
    {sipName_LockError, static_cast<int>(QSharedMemory::LockError), 182},
    {sipName_NoError, static_cast<int>(QSharedMemory::NoError), 182},
    {sipName_NotFound, static_cast<int>(QSharedMemory::NotFound), 182},
    {sipName_OutOfResources, static_cast<int>(QSharedMemory::OutOfResources), 182},
    {sipName_PermissionDenied, static_cast<int>(QSharedMemory::PermissionDenied), 182},
    {sipName_ReadOnly, static_cast<int>(QSharedMemory::ReadOnly), 181},
    {sipName_ReadWrite, static_cast<int>(QSharedMemory::ReadWrite), 181},
    {sipName_UnknownError, static_cast<int>(QSharedMemory::UnknownError), 182},
};

PyDoc_STRVAR(doc_QSharedMemory, "\1QSharedMemory(QObject parent=None)\n"
    "QSharedMemory(str, QObject parent=None)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QSharedMemory = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QSharedMemory,
        {0}
    },
    {
        sipNameNr_QSharedMemory,
        {0, 0, 1},
        23, 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
};

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsettings.sip"
#include <qsettings.h>
#line 60125 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 60129 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 60132 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 60135 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 60138 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 60141 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 60144 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 60147 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 60150 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 60153 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 60156 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 60159 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 60162 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 60165 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 60168 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 60171 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;
    bool sipProtectVirt_event(bool,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QSettings, _clname)) ? this : QSettings::qt_metacast(_clname);
}

void sipQSettings::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQSettings::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQSettings::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQSettings::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 60478 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQSettings *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QSettings, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 60523 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QSettings, sipName_customEvent, doc_QSettings_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_connectNotify, "QSettings.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQSettings *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QSettings, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QSettings, sipName_connectNotify, doc_QSettings_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_disconnectNotify, "QSettings.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQSettings *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QSettings, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clear();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sync();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->status();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->beginGroup(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->endGroup();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->group());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->beginReadArray(*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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->beginWriteArray(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->endArray();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setArrayIndex(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->allKeys());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->childKeys());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->childGroups());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isWritable();
            Py_END_ALLOW_THREADS

            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, object)");

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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(*a0,*a1);
            Py_END_ALLOW_THREADS
            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, object 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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 = qpycore_qvariant_value(value, a2);
        
        sipIsErr = !sipRes;
#line 61203 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->remove(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contains(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFallbacksEnabled(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->fallbacksEnabled();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->fileName());
            Py_END_ALLOW_THREADS

            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_setSystemIniPath, "QSettings.setSystemIniPath(str)");

extern "C" {static PyObject *meth_QSettings_setSystemIniPath(PyObject *, PyObject *);}
static PyObject *meth_QSettings_setSystemIniPath(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            QSettings::setSystemIniPath(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_setSystemIniPath, doc_QSettings_setSystemIniPath);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_setUserIniPath, "QSettings.setUserIniPath(str)");

extern "C" {static PyObject *meth_QSettings_setUserIniPath(PyObject *, PyObject *);}
static PyObject *meth_QSettings_setUserIniPath(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            QSettings::setUserIniPath(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_setUserIniPath, doc_QSettings_setUserIniPath);

    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))
        {
            Py_BEGIN_ALLOW_THREADS
            QSettings::setPath(a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->format();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->scope();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->organizationName());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->applicationName());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            QSettings::setDefaultFormat(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QSettings::defaultFormat();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIniCodec(a0);
            Py_END_ALLOW_THREADS

            sipKeepReference(sipSelf, -2, 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIniCodec(a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->iniCodec();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQSettings(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQSettings(a0,*a1,*a2,a3);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQSettings(a0,a1,*a2,*a3,a4);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQSettings(*a0,a1,a2);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQSettings(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSettings[] = {{141, 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_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_setSystemIniPath), meth_QSettings_setSystemIniPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_setSystemIniPath)},
    {SIP_MLNAME_CAST(sipName_setUserIniPath), meth_QSettings_setUserIniPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_setUserIniPath)},
    {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), 179},
    {sipName_FormatError, static_cast<int>(QSettings::FormatError), 179},
    {sipName_IniFormat, static_cast<int>(QSettings::IniFormat), 177},
    {sipName_InvalidFormat, static_cast<int>(QSettings::InvalidFormat), 177},
    {sipName_NativeFormat, static_cast<int>(QSettings::NativeFormat), 177},
    {sipName_NoError, static_cast<int>(QSettings::NoError), 179},
    {sipName_SystemScope, static_cast<int>(QSettings::SystemScope), 178},
    {sipName_UserScope, static_cast<int>(QSettings::UserScope), 178},
};

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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QSettings = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QSettings,
        {0}
    },
    {
        sipNameNr_QSettings,
        {0, 0, 1},
        41, 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
};

#line 171 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qset.sip"
#include <qset.h>
#line 62055 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"



extern "C" {static void assign_QSet_1900(void *, SIP_SSIZE_T, const void *);}
static void assign_QSet_1900(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QSet<uint> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QSet<uint> *>(sipSrc);
}


extern "C" {static void *array_QSet_1900(SIP_SSIZE_T);}
static void *array_QSet_1900(SIP_SSIZE_T sipNrElem)
{
    return new QSet<uint>[sipNrElem];
}


extern "C" {static void *copy_QSet_1900(const void *, SIP_SSIZE_T);}
static void *copy_QSet_1900(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QSet<uint>(reinterpret_cast<const QSet<uint> *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QSet_1900(void *, int);}
static void release_QSet_1900(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QSet<uint> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QSet_1900(PyObject *, void **, int *, PyObject *);}
static int convertTo_QSet_1900(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QSet<uint> **sipCppPtr = reinterpret_cast<QSet<uint> **>(sipCppPtrV);

#line 204 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qset.sip"
    PyObject *it = PyObject_GetIter(sipPy), *itm;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (it == NULL)
            return 0;

        Py_DECREF(it);
        return 1;
    }

    if (it == NULL)
    {
        *sipIsErr = 1;
        return 0;
    }

    QSet<unsigned> *qs = new QSet<unsigned>;

    while ((itm = PyIter_Next(it)) != NULL)
    {
        qs->insert(PyLong_AsUnsignedLong(itm));
        Py_DECREF(itm);
    }

    Py_DECREF(it);

    *sipCppPtr = qs;

    return sipGetState(sipTransferObj);
#line 62128 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QSet_1900(void *, PyObject *);}
static PyObject *convertFrom_QSet_1900(void *sipCppV, PyObject *)
{
   QSet<uint> *sipCpp = reinterpret_cast<QSet<uint> *>(sipCppV);

#line 175 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qset.sip"
    // Create the set.
    PyObject *s;

    if ((s = PySet_New(NULL)) == NULL)
        return NULL;

    // Set the set elements.
    QSet<unsigned>::const_iterator it = sipCpp->constBegin();
    QSet<unsigned>::const_iterator end = sipCpp->constEnd();

    while (it != end)
    {
        PyObject *el_obj;

        if ((el_obj = PyLong_FromUnsignedLong(*it)) == NULL)
        {
            Py_DECREF(s);
            return NULL;
        }

        PySet_Add(s, el_obj);

        ++it;
    }

    return s;
#line 62164 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QSet_1900 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_36056,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QSet_1900,
    array_QSet_1900,
    copy_QSet_1900,
    release_QSet_1900,
    convertTo_QSet_1900,
    convertFrom_QSet_1900
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qset.sip"
#include <qset.h>
#line 62195 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"



extern "C" {static void assign_QSet_1800(void *, SIP_SSIZE_T, const void *);}
static void assign_QSet_1800(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QSet<int> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QSet<int> *>(sipSrc);
}


extern "C" {static void *array_QSet_1800(SIP_SSIZE_T);}
static void *array_QSet_1800(SIP_SSIZE_T sipNrElem)
{
    return new QSet<int>[sipNrElem];
}


extern "C" {static void *copy_QSet_1800(const void *, SIP_SSIZE_T);}
static void *copy_QSet_1800(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QSet<int>(reinterpret_cast<const QSet<int> *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QSet_1800(void *, int);}
static void release_QSet_1800(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QSet<int> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QSet_1800(PyObject *, void **, int *, PyObject *);}
static int convertTo_QSet_1800(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QSet<int> **sipCppPtr = reinterpret_cast<QSet<int> **>(sipCppPtrV);

#line 61 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qset.sip"
    PyObject *it = PyObject_GetIter(sipPy), *itm;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (it == NULL)
            return 0;

        Py_DECREF(it);
        return 1;
    }

    if (it == NULL)
    {
        *sipIsErr = 1;
        return 0;
    }

    QSet<int> *qs = new QSet<int>;

    while ((itm = PyIter_Next(it)) != NULL)
    {
        qs->insert(SIPLong_AsLong(itm));
        Py_DECREF(itm);
    }

    Py_DECREF(it);

    *sipCppPtr = qs;

    return sipGetState(sipTransferObj);
#line 62268 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QSet_1800(void *, PyObject *);}
static PyObject *convertFrom_QSet_1800(void *sipCppV, PyObject *)
{
   QSet<int> *sipCpp = reinterpret_cast<QSet<int> *>(sipCppV);

#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qset.sip"
    // Create the set.
    PyObject *s;

    if ((s = PySet_New(NULL)) == NULL)
        return NULL;

    // Set the set elements.
    QSet<int>::const_iterator it = sipCpp->constBegin();
    QSet<int>::const_iterator end = sipCpp->constEnd();

    while (it != end)
    {
        PyObject *el_obj;

        if ((el_obj = SIPLong_FromLong(*it)) == NULL)
        {
            Py_DECREF(s);
            return NULL;
        }

        PySet_Add(s, el_obj);

        ++it;
    }

    return s;
#line 62304 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QSet_1800 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_39070,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QSet_1800,
    array_QSet_1800,
    copy_QSet_1800,
    release_QSet_1800,
    convertTo_QSet_1800,
    convertFrom_QSet_1800
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsequentialanimationgroup.sip"
#include <qsequentialanimationgroup.h>
#line 62335 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 62339 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 62342 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 62345 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpauseanimation.sip"
#include <qpauseanimation.h>
#line 62348 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qanimationgroup.sip"
#include <qanimationgroup.h>
#line 62351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 62354 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 62357 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 62360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 62363 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 62366 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 62369 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 62372 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 62375 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 62378 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 62381 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 62384 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() 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 char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QSequentialAnimationGroup, _clname)) ? this : QSequentialAnimationGroup::qt_metacast(_clname);
}

void sipQSequentialAnimationGroup::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQSequentialAnimationGroup::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractAnimation::Direction);

    sipVH_QtCore_19(sipGILState, 0, 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);

    sipVH_QtCore_3(sipGILState, 0, 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);

    sipVH_QtCore_4(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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 *);

    return sipVH_QtCore_6(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQSequentialAnimationGroup::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQSequentialAnimationGroup::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 62758 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQSequentialAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QSequentialAnimationGroup, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 62803 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QSequentialAnimationGroup, sipName_customEvent, doc_QSequentialAnimationGroup_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSequentialAnimationGroup_connectNotify, "QSequentialAnimationGroup.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQSequentialAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QSequentialAnimationGroup, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QSequentialAnimationGroup, sipName_connectNotify, doc_QSequentialAnimationGroup_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSequentialAnimationGroup_disconnectNotify, "QSequentialAnimationGroup.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQSequentialAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QSequentialAnimationGroup, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addPause(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->insertPause(a0,a1);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->currentAnimation();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QSequentialAnimationGroup::duration() : sipCpp->duration());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateCurrentTime(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateState(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateDirection(sipSelfWasArg,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_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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQSequentialAnimationGroup(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSequentialAnimationGroup[] = {{18, 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_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 pyqt4QtSignal signals_QSequentialAnimationGroup[] = {
    {"currentAnimationChanged(QAbstractAnimation*)", "\1QSequentialAnimationGroup.currentAnimationChanged[QAbstractAnimation]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QSequentialAnimationGroup, "\1QSequentialAnimationGroup(QObject parent=None)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QSequentialAnimationGroup = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QSequentialAnimationGroup,
        {0}
    },
    {
        sipNameNr_QSequentialAnimationGroup,
        {0, 0, 1},
        16, 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,
};

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsemaphore.sip"
#include <qsemaphore.h>
#line 63400 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->tryAcquire(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->release(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->available();
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QSemaphore *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QSemaphore(a0);
            Py_END_ALLOW_THREADS

            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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QSemaphore = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qrunnable.sip"
#include <qrunnable.h>
#line 63676 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 *);

    sipVH_QtCore_11(sipGILState, 0, 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;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->run();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoDelete();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoDelete(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_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)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQRunnable *>(sipCppV);
    else
        delete reinterpret_cast<QRunnable *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQRunnable();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QRunnable* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QRunnable, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQRunnable(*a0);
            Py_END_ALLOW_THREADS

            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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QRunnable = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|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_PyQt4_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
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qresource.sip"
#include <qresource.h>
#line 63970 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 63974 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 63977 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 63980 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->absoluteFilePath());
            Py_END_ALLOW_THREADS

            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 37 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 64087 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->fileName());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isCompressed();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLocale(sipCpp->locale());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFileName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLocale(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->size();
            Py_END_ALLOW_THREADS

            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_addSearchPath, "QResource.addSearchPath(str)");

extern "C" {static PyObject *meth_QResource_addSearchPath(PyObject *, PyObject *);}
static PyObject *meth_QResource_addSearchPath(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            QResource::addSearchPath(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QResource, sipName_addSearchPath, doc_QResource_addSearchPath);

    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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QResource::registerResource(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QResource::registerResource(a0,*a1);
            Py_END_ALLOW_THREADS
            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_searchPaths, "QResource.searchPaths() -> list-of-str");

extern "C" {static PyObject *meth_QResource_searchPaths(PyObject *, PyObject *);}
static PyObject *meth_QResource_searchPaths(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(QResource::searchPaths());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QResource, sipName_searchPaths, doc_QResource_searchPaths);

    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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QResource::unregisterResource(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QResource::unregisterResource(a0,*a1);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->sipProtect_children());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_isDir();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_isFile();
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQResource *>(sipCppV);
    else
        delete reinterpret_cast<QResource *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQResource(*a0,*a1);
            Py_END_ALLOW_THREADS
            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_addSearchPath), meth_QResource_addSearchPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QResource_addSearchPath)},
    {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_searchPaths), meth_QResource_searchPaths, METH_VARARGS, SIP_MLDOC_CAST(doc_QResource_searchPaths)},
    {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())");


pyqt4ClassTypeDef sipTypeDef_QtCore_QResource = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QResource,
        {0}
    },
    {
        sipNameNr_QResource,
        {0, 0, 1},
        18, methods_QResource,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QResource,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 64761 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 64765 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 64768 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 64771 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->pattern());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPattern(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->caseSensitivity();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCaseSensitivity(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->patternSyntax();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPatternSyntax(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isMinimal();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMinimal(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->exactMatch(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->indexIn(*a0,a1,a2);
            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->lastIndexIn(*a0,a1,a2);
            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->matchedLength();
            Py_END_ALLOW_THREADS

            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_numCaptures, "QRegExp.numCaptures() -> int");

extern "C" {static PyObject *meth_QRegExp_numCaptures(PyObject *, PyObject *);}
static PyObject *meth_QRegExp_numCaptures(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QRegExp *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegExp, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->numCaptures();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegExp, sipName_numCaptures, doc_QRegExp_numCaptures);

    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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->capturedTexts());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->cap(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->pos(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->errorString());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QRegExp::escape(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->captureCount();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->swap(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QRegExp::operator!=(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QRegExp::operator==(*a0);
            Py_END_ALLOW_THREADS

            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 63 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
        PyObject *uni = qpycore_PyObject_FromQString(sipCpp->pattern());
        
        if (uni)
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromFormat("PyQt4.QtCore.QRegExp(%R", uni);
        
            if (sipCpp->caseSensitivity() != Qt::CaseSensitive ||
                sipCpp->patternSyntax() != QRegExp::RegExp)
            {
                qpycore_Unicode_ConcatAndDel(&sipRes,
                        PyUnicode_FromFormat(", PyQt4.QtCore.Qt.CaseSensitivity(%i)",
                                (int)sipCpp->caseSensitivity()));
        
                if (sipCpp->patternSyntax() != QRegExp::RegExp)
                    qpycore_Unicode_ConcatAndDel(&sipRes,
                            PyUnicode_FromFormat(
                                    ", PyQt4.QtCore.QRegExp.PatternSyntax(%i)",
                                    (int)sipCpp->patternSyntax()));
            }
        
            qpycore_Unicode_ConcatAndDel(&sipRes, PyUnicode_FromString(")"));
        #else
            sipRes = PyString_FromString("PyQt4.QtCore.QRegExp(");
            PyString_ConcatAndDel(&sipRes, PyObject_Repr(uni));
        
            if (sipCpp->caseSensitivity() != Qt::CaseSensitive ||
                sipCpp->patternSyntax() != QRegExp::RegExp)
            {
                PyString_ConcatAndDel(&sipRes,
                        PyString_FromFormat(", PyQt4.QtCore.Qt.CaseSensitivity(%i)",
                                (int)sipCpp->caseSensitivity()));
        
                if (sipCpp->patternSyntax() != QRegExp::RegExp)
                    PyString_ConcatAndDel(&sipRes,
                            PyString_FromFormat(
                                    ", PyQt4.QtCore.QRegExp.PatternSyntax(%i)",
                                    (int)sipCpp->patternSyntax()));
            }
        
            PyString_ConcatAndDel(&sipRes, PyString_FromString(")"));
        #endif
        
            Py_DECREF(uni);
        }
        else
        {
            sipRes = 0;
        }
#line 65582 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QRegExp *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QRegExp();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QRegExp(*a0,a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
        const QRegExp* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QRegExp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QRegExp(*a0);
            Py_END_ALLOW_THREADS

            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_numCaptures), meth_QRegExp_numCaptures, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegExp_numCaptures)},
    {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), 166},
    {sipName_CaretAtZero, static_cast<int>(QRegExp::CaretAtZero), 166},
    {sipName_CaretWontMatch, static_cast<int>(QRegExp::CaretWontMatch), 166},
    {sipName_FixedString, static_cast<int>(QRegExp::FixedString), 167},
    {sipName_RegExp, static_cast<int>(QRegExp::RegExp), 167},
    {sipName_RegExp2, static_cast<int>(QRegExp::RegExp2), 167},
    {sipName_W3CXmlSchema11, static_cast<int>(QRegExp::W3CXmlSchema11), 167},
    {sipName_Wildcard, static_cast<int>(QRegExp::Wildcard), 167},
    {sipName_WildcardUnix, static_cast<int>(QRegExp::WildcardUnix), 167},
};

PyDoc_STRVAR(doc_QRegExp, "\1QRegExp()\n"
    "QRegExp(str, Qt.CaseSensitivity cs=Qt.CaseSensitive, QRegExp.PatternSyntax syntax=QRegExp.RegExp)\n"
    "QRegExp(QRegExp)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QRegExp = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QRegExp,
        {0}
    },
    {
        sipNameNr_QRegExp,
        {0, 0, 1},
        22, methods_QRegExp,
        9, enummembers_QRegExp,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QRegExp,
    sipNameNr_PyQt4_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
};

#line 163 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 65809 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 114 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 65813 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 107 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 65816 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 65819 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRectF(sipCpp->normalized());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->left();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->top();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->right();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->bottom();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setX(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setY(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPointF(sipCpp->topLeft());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPointF(sipCpp->bottomRight());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPointF(sipCpp->topRight());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPointF(sipCpp->bottomLeft());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contains(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contains(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        qreal a0;
        qreal a1;
        const QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QRectF, &sipCpp, &a0, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contains(a0,a1);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->intersects(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->x();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->y();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLeft(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRight(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTop(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBottom(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTopLeft(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTopRight(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBottomLeft(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBottomRight(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPointF(sipCpp->center());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->moveLeft(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->moveTop(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->moveRight(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->moveBottom(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->moveTopLeft(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->moveTopRight(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->moveBottomLeft(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->moveBottomRight(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->moveCenter(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->width();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->height();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF(sipCpp->size());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->translate(a0,a1);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->translate(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->moveTo(a0,a1);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->moveTo(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRectF(sipCpp->translated(a0,a1));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRectF(sipCpp->translated(*a0));
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->getRect(&a0,&a1,&a2,&a3);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRect(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->getCoords(&a0,&a1,&a2,&a3);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCoords(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->adjust(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRectF(sipCpp->adjusted(a0,a1,a2,a3));
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWidth(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHeight(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSize(*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_QRectF, sipName_setSize, doc_QRectF_setSize);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_intersect, "QRectF.intersect(QRectF) -> QRectF");

extern "C" {static PyObject *meth_QRectF_intersect(PyObject *, PyObject *);}
static PyObject *meth_QRectF_intersect(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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRectF(sipCpp->intersect(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_intersect, doc_QRectF_intersect);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_unite, "QRectF.unite(QRectF) -> QRectF");

extern "C" {static PyObject *meth_QRectF_unite(PyObject *, PyObject *);}
static PyObject *meth_QRectF_unite(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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRectF(sipCpp->unite(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_unite, doc_QRectF_unite);

    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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRectF(sipCpp->intersected(*a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRectF(sipCpp->united(*a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->toAlignedRect());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->toRect());
            Py_END_ALLOW_THREADS

            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;
}


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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator==((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator!=((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            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___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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QRectF::operator&=(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QRectF::operator|=(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qrect.sip"
        sipRes = sipCpp->isValid();
#line 67779 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qrect.sip"
        sipRes = sipCpp->contains(*a0);
#line 67809 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qrect.sip"
        sipRes = sipCpp->contains(*a0);
#line 67825 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRectF((*a0 & *a1));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRectF((*a0 | *a1));
            Py_END_ALLOW_THREADS

            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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qrect.sip"
        if (sipCpp->isNull())
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromString("PyQt4.QtCore.QRectF()");
        #else
            sipRes = PyString_FromString("PyQt4.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("PyQt4.QtCore.QRectF(%R, %R, %R, %R)", l,
                        t, w, h);
        #else
                sipRes = PyString_FromString("PyQt4.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 67950 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QRectF *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static PyObject *pickle_QRectF(void *);}
static PyObject *pickle_QRectF(void *sipCppV)
{
    QRectF *sipCpp = reinterpret_cast<QRectF *>(sipCppV);
    PyObject *sipRes;

#line 167 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qrect.sip"
    sipRes = Py_BuildValue((char *)"dddd", sipCpp->x(), sipCpp->y(), sipCpp->width(), sipCpp->height());
#line 67991 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QRectF();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QRectF(*a0,*a1);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QRectF(*a0,*a1);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QRectF(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QRect* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QRect, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QRectF(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QRectF* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QRectF, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QRectF(*a0);
            Py_END_ALLOW_THREADS

            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___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_intersect), meth_QRectF_intersect, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_intersect)},
    {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_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_unite), meth_QRectF_unite, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_unite)},
    {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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QRectF = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 68263 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 68267 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 68270 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->normalized());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->moveCenter(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contains(*a0,a1);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contains(*a0,a1);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contains(a0,a1,a2);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contains(a0,a1);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->intersects(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->left();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->top();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->right();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->bottom();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->x();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->y();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLeft(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTop(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRight(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBottom(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTopLeft(*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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBottomRight(*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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTopRight(*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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBottomLeft(*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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setX(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setY(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint(sipCpp->topLeft());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint(sipCpp->bottomRight());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint(sipCpp->topRight());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint(sipCpp->bottomLeft());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint(sipCpp->center());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->width();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->height();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize(sipCpp->size());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->translate(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QPoint* a0;
        QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRect, &sipCpp, sipType_QPoint, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->translate(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->translated(a0,a1));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->translated(*a0));
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->moveTo(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QPoint* a0;
        QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRect, &sipCpp, sipType_QPoint, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->moveTo(*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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->moveLeft(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->moveTop(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->moveRight(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->moveBottom(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->moveTopLeft(*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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->moveBottomRight(*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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->moveTopRight(*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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->moveBottomLeft(*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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->getRect(&a0,&a1,&a2,&a3);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRect(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->getCoords(&a0,&a1,&a2,&a3);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCoords(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->adjusted(a0,a1,a2,a3));
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->adjust(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWidth(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHeight(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSize(*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_QRect, sipName_setSize, doc_QRect_setSize);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_intersect, "QRect.intersect(QRect) -> QRect");

extern "C" {static PyObject *meth_QRect_intersect(PyObject *, PyObject *);}
static PyObject *meth_QRect_intersect(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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->intersect(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_intersect, doc_QRect_intersect);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_unite, "QRect.unite(QRect) -> QRect");

extern "C" {static PyObject *meth_QRect_unite(PyObject *, PyObject *);}
static PyObject *meth_QRect_unite(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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->unite(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_unite, doc_QRect_unite);

    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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->intersected(*a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->united(*a0));
            Py_END_ALLOW_THREADS

            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;
}


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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator==((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator!=((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            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___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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QRect::operator&=(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QRect::operator|=(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qrect.sip"
        sipRes = sipCpp->isValid();
#line 70177 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qrect.sip"
        if (sipCpp->isNull())
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromString("PyQt4.QtCore.QRect()");
        #else
            sipRes = PyString_FromString("PyQt4.QtCore.QRect()");
        #endif
        }
        else
        {
            sipRes =
        #if PY_MAJOR_VERSION >= 3
                PyUnicode_FromFormat
        #else
                PyString_FromFormat
        #endif
                    ("PyQt4.QtCore.QRect(%i, %i, %i, %i)", sipCpp->left(),
                    sipCpp->top(), sipCpp->width(), sipCpp->height());
        }
#line 70220 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qrect.sip"
        sipRes = sipCpp->contains(*a0);
#line 70249 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qrect.sip"
        sipRes = sipCpp->contains(*a0);
#line 70264 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect((*a0 & *a1));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect((*a0 | *a1));
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QRect *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qrect.sip"
    sipRes = Py_BuildValue((char *)"iiii", sipCpp->x(), sipCpp->y(), sipCpp->width(), sipCpp->height());
#line 70368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QRect();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        int a0;
        int a1;
        int a2;
        int a3;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "iiii", &a0, &a1, &a2, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QRect(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QPoint* a0;
        const QPoint* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J9", sipType_QPoint, &a0, sipType_QPoint, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QRect(*a0,*a1);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QPoint* a0;
        const QSize* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J9", sipType_QPoint, &a0, sipType_QSize, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QRect(*a0,*a1);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QRect* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QRect, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QRect(*a0);
            Py_END_ALLOW_THREADS

            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___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_intersect), meth_QRect_intersect, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_intersect)},
    {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_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_unite), meth_QRect_unite, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_unite)},
    {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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QRect = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 96 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qreadwritelock.sip"
#include <qreadwritelock.h>
#line 70618 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qreadwritelock.sip"
#include <qreadwritelock.h>
#line 70622 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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))
        {
            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->readWriteLock();
            Py_END_ALLOW_THREADS

            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 107 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qreadwritelock.sip"
        // Just return a reference to self.
        sipRes = sipSelf;
        Py_INCREF(sipRes);
#line 70728 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 114 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qreadwritelock.sip"
        sipCpp->unlock();
#line 70758 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QWriteLocker *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QWriteLocker = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NONLAZY|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_PyQt4_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
};

#line 68 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qreadwritelock.sip"
#include <qreadwritelock.h>
#line 70894 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qreadwritelock.sip"
#include <qreadwritelock.h>
#line 70898 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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))
        {
            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->readWriteLock();
            Py_END_ALLOW_THREADS

            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 79 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qreadwritelock.sip"
        // Just return a reference to self.
        sipRes = sipSelf;
        Py_INCREF(sipRes);
#line 71004 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 86 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qreadwritelock.sip"
        sipCpp->unlock();
#line 71034 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QReadLocker *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QReadLocker = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NONLAZY|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_PyQt4_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
};

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qreadwritelock.sip"
#include <qreadwritelock.h>
#line 71170 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->tryLockForRead();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->tryLockForWrite();
            Py_END_ALLOW_THREADS

            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))
        {
            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_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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QReadWriteLock *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QReadWriteLock();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        QReadWriteLock::RecursionMode a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "E", sipType_QReadWriteLock_RecursionMode, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QReadWriteLock(a0);
            Py_END_ALLOW_THREADS

            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), 162},
    {sipName_Recursive, static_cast<int>(QReadWriteLock::Recursive), 162},
};

PyDoc_STRVAR(doc_QReadWriteLock, "\1QReadWriteLock()\n"
    "QReadWriteLock(QReadWriteLock.RecursionMode)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QReadWriteLock = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 210 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qprocess.sip"
#include <qprocess.h>
#line 71489 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 71493 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 71496 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clear();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contains(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insert(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QProcessEnvironment* a0;
        QProcessEnvironment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QProcessEnvironment, &sipCpp, sipType_QProcessEnvironment, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insert(*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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->remove(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->value(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->toStringList());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QProcessEnvironment(QProcessEnvironment::systemEnvironment());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->keys());
            Py_END_ALLOW_THREADS

            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;
}


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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QProcessEnvironment::operator!=(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QProcessEnvironment::operator==(*a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QProcessEnvironment *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QProcessEnvironment();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QProcessEnvironment* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QProcessEnvironment, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QProcessEnvironment(*a0);
            Py_END_ALLOW_THREADS

            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_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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QProcessEnvironment = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QProcessEnvironment,
        {0}
    },
    {
        sipNameNr_QProcessEnvironment,
        {0, 0, 1},
        9, methods_QProcessEnvironment,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QProcessEnvironment,
    sipNameNr_PyQt4_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
};

#line 33 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qprocess.sip"
#include <qprocess.h>
#line 72030 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 72034 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 210 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qprocess.sip"
#include <qprocess.h>
#line 72037 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 72040 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 72043 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 72046 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 72049 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 72052 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 72055 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 72058 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 72061 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 72064 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 72067 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 72070 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 72073 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 72076 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 72079 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() 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 char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QProcess, _clname)) ? this : QProcess::qt_metacast(_clname);
}

void sipQProcess::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQProcess::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,PY_LONG_LONG);

    return sipVH_QtCore_21(sipGILState, 0, 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 *);

    return sipVH_QtCore_7(sipGILState, 0, 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_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, PY_LONG_LONG);

    return sipVH_QtCore_32(sipGILState, 0, 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_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_22(sipGILState, 0, 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_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_22(sipGILState, 0, 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);

    return sipVH_QtCore_15(sipGILState, 0, 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_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*,PY_LONG_LONG);

    return sipVH_QtCore_20(sipGILState, 0, 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_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,PY_LONG_LONG);

    return sipVH_QtCore_21(sipGILState, 0, 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 *);

    sipVH_QtCore_11(sipGILState, 0, 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 *);

    return sipVH_QtCore_7(sipGILState, 0, 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 *);

    sipVH_QtCore_11(sipGILState, 0, 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 *);

    return sipVH_QtCore_7(sipGILState, 0, 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 *);

    return sipVH_QtCore_7(sipGILState, 0, 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_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_22(sipGILState, 0, 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_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_22(sipGILState, 0, 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_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtCore_23(sipGILState, 0, 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_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtCore_23(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQProcess::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQProcess::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 72676 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQProcess *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QProcess, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 72721 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QProcess, sipName_customEvent, doc_QProcess_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_connectNotify, "QProcess.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQProcess *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QProcess, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QProcess, sipName_connectNotify, doc_QProcess_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_disconnectNotify, "QProcess.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQProcess *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QProcess, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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 234 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 72965 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setOpenMode(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setErrorString(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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)");

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;
        }
    }

    /* 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_readChannelMode, "QProcess.readChannelMode() -> QProcess.ProcessChannelMode");

extern "C" {static PyObject *meth_QProcess_readChannelMode(PyObject *, PyObject *);}
static PyObject *meth_QProcess_readChannelMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
            QProcess::ProcessChannelMode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->readChannelMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QProcess_ProcessChannelMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_readChannelMode, doc_QProcess_readChannelMode);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_setReadChannelMode, "QProcess.setReadChannelMode(QProcess.ProcessChannelMode)");

extern "C" {static PyObject *meth_QProcess_setReadChannelMode(PyObject *, PyObject *);}
static PyObject *meth_QProcess_setReadChannelMode(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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setReadChannelMode(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_QProcess, sipName_setReadChannelMode, doc_QProcess_setReadChannelMode);

    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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->readChannel();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setReadChannel(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->closeReadChannel(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->closeWriteChannel();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->workingDirectory());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWorkingDirectory(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_setWorkingDirectory, doc_QProcess_setWorkingDirectory);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_setEnvironment, "QProcess.setEnvironment(list-of-str)");

extern "C" {static PyObject *meth_QProcess_setEnvironment(PyObject *, PyObject *);}
static PyObject *meth_QProcess_setEnvironment(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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEnvironment(*a0);
            Py_END_ALLOW_THREADS
            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_setEnvironment, doc_QProcess_setEnvironment);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_environment, "QProcess.environment() -> list-of-str");

extern "C" {static PyObject *meth_QProcess_environment(PyObject *, PyObject *);}
static PyObject *meth_QProcess_environment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->environment());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_environment, doc_QProcess_environment);

    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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->error();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->state();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->pid();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->exitCode();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->exitStatus();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QProcess::bytesAvailable() : sipCpp->bytesAvailable());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QProcess::bytesToWrite() : sipCpp->bytesToWrite());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QProcess::isSequential() : sipCpp->isSequential());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QProcess::canReadLine() : sipCpp->canReadLine());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QProcess::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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QProcess::atEnd() : sipCpp->atEnd());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QProcess::startDetached(*a0,*a1,*a2,&a3);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QProcess::startDetached(*a0,*a1);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QProcess::startDetached(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(QProcess::systemEnvironment());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->processChannelMode();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setProcessChannelMode(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStandardInputFile(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStandardOutputFile(*a0,*a1);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStandardErrorFile(*a0,*a1);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStandardOutputProcess(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->terminate();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->kill();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setProcessState(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setupChildProcess(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            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 149 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 74449 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setProcessEnvironment(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QProcessEnvironment(sipCpp->processEnvironment());
            Py_END_ALLOW_THREADS

            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;
}


/* 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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQProcess(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QProcess[] = {{81, 255, 1}};


static PyMethodDef methods_QProcess[] = {
    {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_environment), meth_QProcess_environment, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_environment)},
    {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_isSequential), meth_QProcess_isSequential, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_isSequential)},
    {SIP_MLNAME_CAST(sipName_kill), meth_QProcess_kill, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_kill)},
    {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_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_readChannelMode), meth_QProcess_readChannelMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_readChannelMode)},
    {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_setEnvironment), meth_QProcess_setEnvironment, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_setEnvironment)},
    {SIP_MLNAME_CAST(sipName_setErrorString), (PyCFunction)meth_QProcess_setErrorString, METH_VARARGS|METH_KEYWORDS, NULL},
    {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_setReadChannel), meth_QProcess_setReadChannel, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_setReadChannel)},
    {SIP_MLNAME_CAST(sipName_setReadChannelMode), meth_QProcess_setReadChannelMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_setReadChannelMode)},
    {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), 152},
    {sipName_Crashed, static_cast<int>(QProcess::Crashed), 155},
    {sipName_FailedToStart, static_cast<int>(QProcess::FailedToStart), 155},
    {sipName_ForwardedChannels, static_cast<int>(QProcess::ForwardedChannels), 154},
    {sipName_MergedChannels, static_cast<int>(QProcess::MergedChannels), 154},
    {sipName_NormalExit, static_cast<int>(QProcess::NormalExit), 152},
    {sipName_NotRunning, static_cast<int>(QProcess::NotRunning), 156},
    {sipName_ReadError, static_cast<int>(QProcess::ReadError), 155},
    {sipName_Running, static_cast<int>(QProcess::Running), 156},
    {sipName_SeparateChannels, static_cast<int>(QProcess::SeparateChannels), 154},
    {sipName_StandardError, static_cast<int>(QProcess::StandardError), 153},
    {sipName_StandardOutput, static_cast<int>(QProcess::StandardOutput), 153},
    {sipName_Starting, static_cast<int>(QProcess::Starting), 156},
    {sipName_Timedout, static_cast<int>(QProcess::Timedout), 155},
    {sipName_UnknownError, static_cast<int>(QProcess::UnknownError), 155},
    {sipName_WriteError, static_cast<int>(QProcess::WriteError), 155},
};


/* Define this type's signals. */
static const pyqt4QtSignal 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},
    {"finished(int)", "\1QProcess.finished[int]", 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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QProcess = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QProcess,
        {0}
    },
    {
        sipNameNr_QProcess,
        {0, 0, 1},
        56, methods_QProcess,
        16, 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,
};

#line 114 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 74783 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 74787 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->x();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->y();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setX(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setY(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint(sipCpp->toPoint());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->manhattanLength();
            Py_END_ALLOW_THREADS

            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;
}


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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator==((*sipCpp), *a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator!=((*sipCpp), *a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPointF((*a0 + *a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPointF((*a0 - *a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPointF((*a0 * a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPointF((a0 * *a1));
            Py_END_ALLOW_THREADS
            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___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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPointF(-(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    return 0;
}


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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPointF((*a0 / a1));
            Py_END_ALLOW_THREADS
            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___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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QPointF::operator/=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QPointF::operator*=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QPointF::operator-=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QPointF::operator+=(*a0);
            Py_END_ALLOW_THREADS
            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 193 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpoint.sip"
        sipRes = !sipCpp->isNull();
#line 75427 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 159 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpoint.sip"
        if (sipCpp->isNull())
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromString("PyQt4.QtCore.QPointF()");
        #else
            sipRes = PyString_FromString("PyQt4.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("PyQt4.QtCore.QPointF(%R, %R)", x, y);
        #else
                sipRes = PyString_FromString("PyQt4.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 75480 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QPointF *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static PyObject *pickle_QPointF(void *);}
static PyObject *pickle_QPointF(void *sipCppV)
{
    QPointF *sipCpp = reinterpret_cast<QPointF *>(sipCppV);
    PyObject *sipRes;

#line 150 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpoint.sip"
    sipRes = Py_BuildValue((char *)"dd", sipCpp->x(), sipCpp->y());
#line 75521 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QPointF();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        qreal a0;
        qreal a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "dd", &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QPointF(a0,a1);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QPoint* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QPoint, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QPointF(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QPointF* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QPointF, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QPointF(*a0);
            Py_END_ALLOW_THREADS
            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 118 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 75655 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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___neg__, neg_slot},
    {(void *)slot_QPointF___div__, div_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_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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QPointF = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QPointF,
        {0}
    },
    {
        sipNameNr_QPointF,
        {0, 0, 1},
        7, methods_QPointF,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QPointF,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 75750 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->manhattanLength();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->x();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->y();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setX(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setY(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_QPoint, sipName_setY, doc_QPoint_setY);

    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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator==((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator!=((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint((*a0 + *a1));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint((*a0 - *a1));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint((*a0 * a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    {
        int a0;
        const QPoint* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "XiJ9", &a0, sipType_QPoint, &a1))
        {
            QPoint*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint((a0 * *a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    {
        const QPoint* a0;
        double a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9d", sipType_QPoint, &a0, &a1))
        {
            QPoint*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint((*a0 * a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    {
        double a0;
        const QPoint* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "dJ9", &a0, sipType_QPoint, &a1))
        {
            QPoint*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint((a0 * *a1));
            Py_END_ALLOW_THREADS

            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___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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint(-(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    return 0;
}


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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint((*a0 / a1));
            Py_END_ALLOW_THREADS

            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___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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QPoint::operator/=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QPoint::operator*=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    {
        double a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1d", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QPoint::operator*=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QPoint::operator-=(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QPoint::operator+=(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpoint.sip"
        sipRes = !sipCpp->isNull();
#line 76386 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpoint.sip"
        if (sipCpp->isNull())
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromString("PyQt4.QtCore.QPoint()");
        #else
            sipRes = PyString_FromString("PyQt4.QtCore.QPoint()");
        #endif
        }
        else
        {
            sipRes =
        #if PY_MAJOR_VERSION >= 3
                PyUnicode_FromFormat
        #else
                PyString_FromFormat
        #endif
                    ("PyQt4.QtCore.QPoint(%i, %i)", sipCpp->x(), sipCpp->y());
        }
#line 76428 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QPoint *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpoint.sip"
    sipRes = Py_BuildValue((char *)"ii", sipCpp->x(), sipCpp->y());
#line 76469 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QPoint();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        int a0;
        int a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "ii", &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QPoint(a0,a1);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QPoint* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QPoint, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QPoint(*a0);
            Py_END_ALLOW_THREADS

            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___neg__, neg_slot},
    {(void *)slot_QPoint___div__, div_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_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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QPoint = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QPoint,
        {0}
    },
    {
        sipNameNr_QPoint,
        {0, 0, 1},
        6, methods_QPoint,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QPoint,
    sipNameNr_PyQt4_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
};

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpluginloader.sip"
#include <qpluginloader.h>
#line 76642 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 76646 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 76649 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlibrary.sip"
#include <qlibrary.h>
#line 76652 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 76655 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 76658 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 76661 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 76664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 76667 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 76670 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 76673 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 76676 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 76679 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 76682 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 76685 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QPluginLoader, _clname)) ? this : QPluginLoader::qt_metacast(_clname);
}

void sipQPluginLoader::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQPluginLoader::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQPluginLoader::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQPluginLoader::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}


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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 76968 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQPluginLoader *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QPluginLoader, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 77013 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QPluginLoader, sipName_customEvent, doc_QPluginLoader_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPluginLoader_connectNotify, "QPluginLoader.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQPluginLoader *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QPluginLoader, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QPluginLoader, sipName_connectNotify, doc_QPluginLoader_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QPluginLoader_disconnectNotify, "QPluginLoader.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQPluginLoader *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QPluginLoader, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->instance();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QObjectList(QPluginLoader::staticInstances());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->load();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->unload();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isLoaded();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFileName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->fileName());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->errorString());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLoadHints(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLibrary::LoadHints(sipCpp->loadHints());
            Py_END_ALLOW_THREADS

            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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQPluginLoader(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQPluginLoader(*a0,a1);
            Py_END_ALLOW_THREADS
            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[] = {{141, 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_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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QPluginLoader = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QPluginLoader,
        {0}
    },
    {
        sipNameNr_QPluginLoader,
        {0, 0, 1},
        18, 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
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpropertyanimation.sip"
#include <qpropertyanimation.h>
#line 77679 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 77683 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 77686 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 77689 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 77692 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 77695 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qeasingcurve.sip"
#include <qeasingcurve.h>
#line 77698 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
#include <qvector.h>
#include <qpair.h>
#line 77702 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 77705 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qanimationgroup.sip"
#include <qanimationgroup.h>
#line 77708 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 77711 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 77714 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 77717 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 77720 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 77723 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 77726 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 77729 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 77732 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 77735 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() 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 char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QPropertyAnimation, _clname)) ? this : QPropertyAnimation::qt_metacast(_clname);
}

void sipQPropertyAnimation::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQPropertyAnimation::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractAnimation::Direction);

    sipVH_QtCore_19(sipGILState, 0, 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);

    return sipVH_QtCore_1(sipGILState, 0, 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);

    sipVH_QtCore_4(sipGILState, 0, 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 *);

    return sipVH_QtCore_6(sipGILState, 0, 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);

    sipVH_QtCore_3(sipGILState, 0, 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&);

    sipVH_QtCore_2(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQPropertyAnimation::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQPropertyAnimation::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 78162 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQPropertyAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QPropertyAnimation, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 78207 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QPropertyAnimation, sipName_customEvent, doc_QPropertyAnimation_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPropertyAnimation_connectNotify, "QPropertyAnimation.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQPropertyAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QPropertyAnimation, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QPropertyAnimation, sipName_connectNotify, doc_QPropertyAnimation_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QPropertyAnimation_disconnectNotify, "QPropertyAnimation.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQPropertyAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QPropertyAnimation, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateDirection(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateCurrentTime(sipSelfWasArg,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_QPropertyAnimation, sipName_updateCurrentTime, doc_QPropertyAnimation_updateCurrentTime);

    return NULL;
}


PyDoc_STRVAR(doc_QPropertyAnimation_interpolated, "QPropertyAnimation.interpolated(object, object, float) -> object");

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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_interpolated(sipSelfWasArg,*a0,*a1,a2));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->targetObject();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTargetObject(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->propertyName());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPropertyName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            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(object)");

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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateCurrentValue(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateState(sipSelfWasArg,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_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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQPropertyAnimation(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQPropertyAnimation(a0,*a1,a2);
            Py_END_ALLOW_THREADS

            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[] = {{251, 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_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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QPropertyAnimation = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QPropertyAnimation,
        {0}
    },
    {
        sipNameNr_QPropertyAnimation,
        {0, 0, 1},
        18, 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
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariantanimation.sip"
#include <qvariantanimation.h>
#line 78898 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 78902 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 78905 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 78908 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 78911 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qeasingcurve.sip"
#include <qeasingcurve.h>
#line 78914 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvector.sip"
#include <qvector.h>
#include <qpair.h>
#line 78918 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 78921 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qanimationgroup.sip"
#include <qanimationgroup.h>
#line 78924 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 78927 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 78930 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 78933 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 78936 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 78939 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 78942 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 78945 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 78948 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 78951 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 78954 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() 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 sipProtect_updateCurrentValue(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 char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QVariantAnimation, _clname)) ? this : QVariantAnimation::qt_metacast(_clname);
}

void sipQVariantAnimation::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQVariantAnimation::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractAnimation::Direction);

    sipVH_QtCore_19(sipGILState, 0, 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);

    return sipVH_QtCore_1(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQVariantAnimation::updateCurrentValue(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,sipName_QVariantAnimation,sipName_updateCurrentValue);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

    sipVH_QtCore_2(sipGILState, 0, 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);

    sipVH_QtCore_3(sipGILState, 0, 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);

    sipVH_QtCore_4(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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 *);

    return sipVH_QtCore_6(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQVariantAnimation::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQVariantAnimation::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

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::sipProtect_updateCurrentValue(const QVariant& 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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 79372 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQVariantAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QVariantAnimation, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 79417 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QVariantAnimation, sipName_customEvent, doc_QVariantAnimation_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_connectNotify, "QVariantAnimation.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQVariantAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QVariantAnimation, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QVariantAnimation, sipName_connectNotify, doc_QVariantAnimation_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_disconnectNotify, "QVariantAnimation.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQVariantAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QVariantAnimation, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateDirection(sipSelfWasArg,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_QVariantAnimation, sipName_updateDirection, doc_QVariantAnimation_updateDirection);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_startValue, "QVariantAnimation.startValue() -> object");

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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->startValue());
            Py_END_ALLOW_THREADS

            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(object)");

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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStartValue(*a0);
            Py_END_ALLOW_THREADS
            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() -> object");

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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->endValue());
            Py_END_ALLOW_THREADS

            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(object)");

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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEndValue(*a0);
            Py_END_ALLOW_THREADS
            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) -> object");

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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->keyValueAt(a0));
            Py_END_ALLOW_THREADS

            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, object)");

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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setKeyValueAt(a0,*a1);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariantAnimation::KeyValues(sipCpp->keyValues());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setKeyValues(*a0);
            Py_END_ALLOW_THREADS
            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() -> object");

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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->currentValue());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QVariantAnimation::duration() : sipCpp->duration());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDuration(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QEasingCurve(sipCpp->easingCurve());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEasingCurve(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateCurrentTime(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateState(sipSelfWasArg,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_QVariantAnimation, sipName_updateState, doc_QVariantAnimation_updateState);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_updateCurrentValue, "QVariantAnimation.updateCurrentValue(object)");

extern "C" {static PyObject *meth_QVariantAnimation_updateCurrentValue(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_updateCurrentValue(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = 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))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QVariantAnimation, sipName_updateCurrentValue);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateCurrentValue(*a0);
            Py_END_ALLOW_THREADS
            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(object, object, float) -> object");

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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_interpolated(sipSelfWasArg,*a0,*a1,a2));
            Py_END_ALLOW_THREADS
            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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQVariantAnimation(a0);
            Py_END_ALLOW_THREADS

            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_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 pyqt4QtSignal signals_QVariantAnimation[] = {
    {"valueChanged(QVariant)", "\1QVariantAnimation.valueChanged[object]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QVariantAnimation, "\1QVariantAnimation(QObject parent=None)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QVariantAnimation = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QVariantAnimation,
        {0}
    },
    {
        sipNameNr_QVariantAnimation,
        {0, 0, 1},
        27, 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,
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpauseanimation.sip"
#include <qpauseanimation.h>
#line 80370 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 80374 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 80377 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 80380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qanimationgroup.sip"
#include <qanimationgroup.h>
#line 80383 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 80386 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 80389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 80392 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 80395 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 80398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 80401 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 80404 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 80407 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 80410 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 80413 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 80416 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() 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 char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QPauseAnimation, _clname)) ? this : QPauseAnimation::qt_metacast(_clname);
}

void sipQPauseAnimation::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQPauseAnimation::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractAnimation::Direction);

    sipVH_QtCore_19(sipGILState, 0, 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);

    sipVH_QtCore_3(sipGILState, 0, 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);

    sipVH_QtCore_4(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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 *);

    return sipVH_QtCore_6(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQPauseAnimation::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQPauseAnimation::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 80796 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQPauseAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QPauseAnimation, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 80841 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QPauseAnimation, sipName_customEvent, doc_QPauseAnimation_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPauseAnimation_connectNotify, "QPauseAnimation.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQPauseAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QPauseAnimation, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QPauseAnimation, sipName_connectNotify, doc_QPauseAnimation_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QPauseAnimation_disconnectNotify, "QPauseAnimation.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQPauseAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QPauseAnimation, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateState(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateDirection(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QPauseAnimation::duration() : sipCpp->duration());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDuration(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateCurrentTime(sipSelfWasArg,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_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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQPauseAnimation(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQPauseAnimation(a0,a1);
            Py_END_ALLOW_THREADS

            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_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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QPauseAnimation = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QPauseAnimation,
        {0}
    },
    {
        sipNameNr_QPauseAnimation,
        {0, 0, 1},
        14, 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
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qparallelanimationgroup.sip"
#include <qparallelanimationgroup.h>
#line 81390 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 81394 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 81397 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 81400 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qanimationgroup.sip"
#include <qanimationgroup.h>
#line 81403 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 81406 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 81409 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 81412 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 81415 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 81418 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 81421 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 81424 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 81427 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 81430 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 81433 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 81436 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() 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 char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QParallelAnimationGroup, _clname)) ? this : QParallelAnimationGroup::qt_metacast(_clname);
}

void sipQParallelAnimationGroup::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQParallelAnimationGroup::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractAnimation::Direction);

    sipVH_QtCore_19(sipGILState, 0, 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);

    sipVH_QtCore_3(sipGILState, 0, 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);

    sipVH_QtCore_4(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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 *);

    return sipVH_QtCore_6(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQParallelAnimationGroup::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQParallelAnimationGroup::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 81810 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQParallelAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QParallelAnimationGroup, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 81855 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QParallelAnimationGroup, sipName_customEvent, doc_QParallelAnimationGroup_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QParallelAnimationGroup_connectNotify, "QParallelAnimationGroup.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQParallelAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QParallelAnimationGroup, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QParallelAnimationGroup, sipName_connectNotify, doc_QParallelAnimationGroup_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QParallelAnimationGroup_disconnectNotify, "QParallelAnimationGroup.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQParallelAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QParallelAnimationGroup, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QParallelAnimationGroup::duration() : sipCpp->duration());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateCurrentTime(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateState(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateDirection(sipSelfWasArg,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_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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQParallelAnimationGroup(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QParallelAnimationGroup[] = {{18, 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_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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QParallelAnimationGroup = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QParallelAnimationGroup,
        {0}
    },
    {
        sipNameNr_QParallelAnimationGroup,
        {0, 0, 1},
        13, 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
};

#line 54 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpair.sip"
#include <qpair.h>
#line 82352 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"



extern "C" {static void assign_QPair_1900_1900(void *, SIP_SSIZE_T, const void *);}
static void assign_QPair_1900_1900(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QPair<uint,uint> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QPair<uint,uint> *>(sipSrc);
}


extern "C" {static void *array_QPair_1900_1900(SIP_SSIZE_T);}
static void *array_QPair_1900_1900(SIP_SSIZE_T sipNrElem)
{
    return new QPair<uint,uint>[sipNrElem];
}


extern "C" {static void *copy_QPair_1900_1900(const void *, SIP_SSIZE_T);}
static void *copy_QPair_1900_1900(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QPair<uint,uint>(reinterpret_cast<const QPair<uint,uint> *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QPair_1900_1900(void *, int);}
static void release_QPair_1900_1900(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QPair<uint,uint> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QPair_1900_1900(PyObject *, void **, int *, PyObject *);}
static int convertTo_QPair_1900_1900(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QPair<uint,uint> **sipCppPtr = reinterpret_cast<QPair<uint,uint> **>(sipCppPtrV);

#line 63 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpair.sip"
    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
        return (PyTuple_Size(sipPy) == 2);

    QPair<unsigned, unsigned> *qp = new QPair<unsigned, unsigned>;
 
    qp->first = PyLong_AsUnsignedLong(PyTuple_GET_ITEM(sipPy, 0));
    qp->second = PyLong_AsUnsignedLong(PyTuple_GET_ITEM(sipPy, 1));

    *sipCppPtr = qp;
 
    return sipGetState(sipTransferObj);
#line 82406 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QPair_1900_1900(void *, PyObject *);}
static PyObject *convertFrom_QPair_1900_1900(void *sipCppV, PyObject *)
{
   QPair<uint,uint> *sipCpp = reinterpret_cast<QPair<uint,uint> *>(sipCppV);

#line 58 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpair.sip"
    // Create the tuple.
    return Py_BuildValue((char *)"II", sipCpp->first, sipCpp->second);
#line 82418 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QPair_1900_1900 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_17439,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QPair_1900_1900,
    array_QPair_1900_1900,
    copy_QPair_1900_1900,
    release_QPair_1900_1900,
    convertTo_QPair_1900_1900,
    convertFrom_QPair_1900_1900
};

#line 27 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpair.sip"
#include <qpair.h>
#line 82449 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QPair<int,int> *>(ptr);
    Py_END_ALLOW_THREADS
}



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 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpair.sip"
    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
        return (PyTuple_Size(sipPy) == 2);

    QPair<int, int> *qp = new QPair<int, int>;
 
    qp->first = SIPLong_AsLong(PyTuple_GET_ITEM(sipPy, 0));
    qp->second = SIPLong_AsLong(PyTuple_GET_ITEM(sipPy, 1));

    *sipCppPtr = qp;
 
    return sipGetState(sipTransferObj);
#line 82503 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpair.sip"
    // Create the tuple.
    return Py_BuildValue((char *)"ii", sipCpp->first, sipCpp->second);
#line 82515 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QPair_1800_1800 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_23191,
        {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 171 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 82546 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QGenericReturnArgument *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QGenericReturnArgument(sipSimpleWrapper *);}
static void dealloc_QGenericReturnArgument(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QGenericReturnArgument(sipGetAddress(sipSelf),0);
    }
}


pyqt4ClassTypeDef sipTypeDef_QtCore_QGenericReturnArgument = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 154 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 82638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QGenericArgument *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QGenericArgument(sipSimpleWrapper *);}
static void dealloc_QGenericArgument(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QGenericArgument(sipGetAddress(sipSelf),0);
    }
}


pyqt4ClassTypeDef sipTypeDef_QtCore_QGenericArgument = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 82730 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 82734 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 154 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 82737 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 82740 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 82743 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 171 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 82746 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 82749 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 254 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 82752 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 204 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 82755 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 173 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 82758 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 82765 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->className();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->superClass();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QMetaProperty(sipCpp->userProperty());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->methodOffset();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->enumeratorOffset();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->propertyOffset();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->classInfoOffset();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->methodCount();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->enumeratorCount();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->propertyCount();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->classInfoCount();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->indexOfMethod(a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->indexOfSignal(a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->indexOfSlot(a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->indexOfEnumerator(a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->indexOfProperty(a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->indexOfClassInfo(a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QMetaMethod(sipCpp->method(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QMetaEnum(sipCpp->enumerator(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QMetaProperty(sipCpp->property(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QMetaClassInfo(sipCpp->classInfo(a0));
            Py_END_ALLOW_THREADS

            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");

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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QMetaObject::checkConnectArgs(a0,a1);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            Py_DECREF(a1Keep);

            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 63 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
        qpycore_qmetaobject_connectslotsbyname(a0, a0Wrapper);
#line 83454 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(QMetaObject::normalizedSignature(a0));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(QMetaObject::normalizedType(a0));
            Py_END_ALLOW_THREADS
            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 72 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 83601 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 87 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 83667 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 102 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 83735 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 120 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 83801 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->constructorCount();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->indexOfConstructor(a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QMetaMethod(sipCpp->constructor(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QMetaMethod,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_constructor, doc_QMetaObject_constructor);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_newInstance, "QMetaObject.newInstance(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)) -> QObject");

extern "C" {static PyObject *meth_QMetaObject_newInstance(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_newInstance(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QGenericArgument a0def = QGenericArgument(0,0);
        QGenericArgument* a0 = &a0def;
        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;
        const QMetaObject *sipCpp;

        static const char *sipKwdList[] = {
            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, "B|J9J9J9J9J9J9J9J9J9J9", &sipSelf, sipType_QMetaObject, &sipCpp, sipType_QGenericArgument, &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))
        {
            QObject*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->newInstance(*a0,*a1,*a2,*a3,*a4,*a5,*a6,*a7,*a8,*a9);
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_newInstance, doc_QMetaObject_newInstance);

    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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QMetaObject *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QMetaObject();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QMetaObject* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QMetaObject, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QMetaObject(*a0);
            Py_END_ALLOW_THREADS

            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_newInstance), (PyCFunction)meth_QMetaObject_newInstance, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMetaObject_newInstance)},
    {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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QMetaObject = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QMetaObject,
        {0}
    },
    {
        sipNameNr_QMetaObject,
        {0, 0, 1},
        30, methods_QMetaObject,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMetaObject,
    sipNameNr_PyQt4_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
};

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectcleanuphandler.sip"
#include <qobjectcleanuphandler.h>
#line 84148 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 84152 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 84155 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 84158 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 84161 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 84164 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 84167 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 84170 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 84173 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 84176 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 84179 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 84182 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 84185 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 84188 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QObjectCleanupHandler, _clname)) ? this : QObjectCleanupHandler::qt_metacast(_clname);
}

void sipQObjectCleanupHandler::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQObjectCleanupHandler::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQObjectCleanupHandler::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQObjectCleanupHandler::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}


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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 84465 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQObjectCleanupHandler *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QObjectCleanupHandler, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 84510 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QObjectCleanupHandler, sipName_customEvent, doc_QObjectCleanupHandler_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QObjectCleanupHandler_connectNotify, "QObjectCleanupHandler.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQObjectCleanupHandler *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QObjectCleanupHandler, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QObjectCleanupHandler, sipName_connectNotify, doc_QObjectCleanupHandler_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QObjectCleanupHandler_disconnectNotify, "QObjectCleanupHandler.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQObjectCleanupHandler *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QObjectCleanupHandler, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->add(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->remove(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clear();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQObjectCleanupHandler();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QObjectCleanupHandler[] = {{141, 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_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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_QObjectCleanupHandler = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QObjectCleanupHandler,
        {0}
    },
    {
        sipNameNr_QObjectCleanupHandler,
        {0, 0, 1},
        12, 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
};

#line 52 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmutex.sip"
#include <qmutex.h>
#line 84964 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmutex.sip"
#include <qmutex.h>
#line 84968 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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))
        {
            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->mutex();
            Py_END_ALLOW_THREADS

            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 63 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmutex.sip"
        // Just return a reference to self.
        sipRes = sipSelf;
        Py_INCREF(sipRes);
#line 85074 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 70 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmutex.sip"
        sipCpp->unlock();
#line 85104 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QMutexLocker *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QMutexLocker = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NONLAZY|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_PyQt4_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
};

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmutex.sip"
#include <qmutex.h>
#line 85240 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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() -> bool\n"
    "QMutex.tryLock(int) -> bool");

extern "C" {static PyObject *meth_QMutex_tryLock(PyObject *, PyObject *);}
static PyObject *meth_QMutex_tryLock(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMutex *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMutex, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->tryLock();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        int a0;
        QMutex *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &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;
}


/* 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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QMutex *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QMutex(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QMutex[] = {
    {SIP_MLNAME_CAST(sipName_lock), meth_QMutex_lock, METH_VARARGS, SIP_MLDOC_CAST(doc_QMutex_lock)},
    {SIP_MLNAME_CAST(sipName_tryLock), meth_QMutex_tryLock, METH_VARARGS, 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), 139},
    {sipName_Recursive, static_cast<int>(QMutex::Recursive), 139},
};

PyDoc_STRVAR(doc_QMutex, "\1QMutex(QMutex.RecursionMode mode=QMutex.NonRecursive)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QMutex = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QMutex,
        {0}
    },
    {
        sipNameNr_QMutex,
        {0, 0, 1},
        3, methods_QMutex,
        2, enummembers_QMutex,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMutex,
    sipNameNr_PyQt4_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
};

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 85475 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 85479 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 85482 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 85485 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 85488 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 85491 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 102 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 85494 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 85497 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 85500 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 85503 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 85506 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 85509 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 85512 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 85515 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 85518 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 85521 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 85524 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() 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 char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QMimeData, _clname)) ? this : QMimeData::qt_metacast(_clname);
}

void sipQMimeData::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQMimeData::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,QVariant::Type);

    return sipVH_QtCore_26(sipGILState, 0, 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 *);

    return sipVH_QtCore_27(sipGILState, 0, 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_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return sipVH_QtCore_28(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQMimeData::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQMimeData::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 85855 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQMimeData *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QMimeData, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 85900 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QMimeData, sipName_customEvent, doc_QMimeData_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_connectNotify, "QMimeData.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQMimeData *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QMimeData, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QMimeData, sipName_connectNotify, doc_QMimeData_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_disconnectNotify, "QMimeData.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQMimeData *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QMimeData, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QUrl>(sipCpp->urls());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUrls(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasUrls();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->text());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setText(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasText();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->html());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHtml(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasHtml();
            Py_END_ALLOW_THREADS

            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() -> object");

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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->imageData());
            Py_END_ALLOW_THREADS

            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(object)");

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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setImageData(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasImage();
            Py_END_ALLOW_THREADS

            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() -> object");

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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->colorData());
            Py_END_ALLOW_THREADS

            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(object)");

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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setColorData(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasColor();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->data(*a0));
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setData(*a0,*a1);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QMimeData::hasFormat(*a0) : sipCpp->hasFormat(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList((sipSelfWasArg ? sipCpp->QMimeData::formats() : sipCpp->formats()));
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clear();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeFormat(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeData, sipName_removeFormat, doc_QMimeData_removeFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_retrieveData, "QMimeData.retrieveData(str, Type) -> object");

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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_retrieveData(sipSelfWasArg,*a0,a1));
            Py_END_ALLOW_THREADS
            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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQMimeData();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QMimeData[] = {{141, 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_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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_QMimeData = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QMimeData,
        {0}
    },
    {
        sipNameNr_QMimeData,
        {0, 0, 1},
        30, 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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmetatype.sip"
#include <qmetatype.h>
#line 86923 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QMetaType::type(a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QMetaType::typeName(a0);
            Py_END_ALLOW_THREADS

            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");

extern "C" {static PyObject *meth_QMetaType_isRegistered(PyObject *, PyObject *);}
static PyObject *meth_QMetaType_isRegistered(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QMetaType::isRegistered(a0);
            Py_END_ALLOW_THREADS

            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;
}


/* 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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QMetaType *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QMetaType(void *, SIP_SSIZE_T, const void *);}
static void assign_QMetaType(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QMetaType *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QMetaType *>(sipSrc);
}


extern "C" {static void *array_QMetaType(SIP_SSIZE_T);}
static void *array_QMetaType(SIP_SSIZE_T sipNrElem)
{
    return new QMetaType[sipNrElem];
}


extern "C" {static void *copy_QMetaType(const void *, SIP_SSIZE_T);}
static void *copy_QMetaType(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QMetaType(reinterpret_cast<const QMetaType *>(sipSrc)[sipSrcIdx]);
}


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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QMetaType();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QMetaType* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QMetaType, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QMetaType(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QMetaType[] = {
    {SIP_MLNAME_CAST(sipName_isRegistered), meth_QMetaType_isRegistered, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaType_isRegistered)},
    {SIP_MLNAME_CAST(sipName_type), meth_QMetaType_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaType_type)},
    {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), 135},
    {sipName_Char, static_cast<int>(QMetaType::Char), 135},
    {sipName_Double, static_cast<int>(QMetaType::Double), 135},
    {sipName_FirstGuiType, static_cast<int>(QMetaType::FirstGuiType), 135},
    {sipName_Float, static_cast<int>(QMetaType::Float), 135},
    {sipName_Int, static_cast<int>(QMetaType::Int), 135},
    {sipName_LastCoreType, static_cast<int>(QMetaType::LastCoreType), 135},
    {sipName_Long, static_cast<int>(QMetaType::Long), 135},
    {sipName_LongLong, static_cast<int>(QMetaType::LongLong), 135},
    {sipName_QBitArray, static_cast<int>(QMetaType::QBitArray), 135},
    {sipName_QBitmap, static_cast<int>(QMetaType::QBitmap), 135},
    {sipName_QBrush, static_cast<int>(QMetaType::QBrush), 135},
    {sipName_QByteArray, static_cast<int>(QMetaType::QByteArray), 135},
    {sipName_QChar, static_cast<int>(QMetaType::QChar), 135},
    {sipName_QColor, static_cast<int>(QMetaType::QColor), 135},
    {sipName_QCursor, static_cast<int>(QMetaType::QCursor), 135},
    {sipName_QDate, static_cast<int>(QMetaType::QDate), 135},
    {sipName_QDateTime, static_cast<int>(QMetaType::QDateTime), 135},
    {sipName_QEasingCurve, static_cast<int>(QMetaType::QEasingCurve), 135},
    {sipName_QFont, static_cast<int>(QMetaType::QFont), 135},
    {sipName_QIcon, static_cast<int>(QMetaType::QIcon), 135},
    {sipName_QImage, static_cast<int>(QMetaType::QImage), 135},
    {sipName_QKeySequence, static_cast<int>(QMetaType::QKeySequence), 135},
    {sipName_QLine, static_cast<int>(QMetaType::QLine), 135},
    {sipName_QLineF, static_cast<int>(QMetaType::QLineF), 135},
    {sipName_QLocale, static_cast<int>(QMetaType::QLocale), 135},
    {sipName_QMatrix, static_cast<int>(QMetaType::QMatrix), 135},
    {sipName_QMatrix4x4, static_cast<int>(QMetaType::QMatrix4x4), 135},
    {sipName_QObjectStar, static_cast<int>(QMetaType::QObjectStar), 135},
    {sipName_QPalette, static_cast<int>(QMetaType::QPalette), 135},
    {sipName_QPen, static_cast<int>(QMetaType::QPen), 135},
    {sipName_QPixmap, static_cast<int>(QMetaType::QPixmap), 135},
    {sipName_QPoint, static_cast<int>(QMetaType::QPoint), 135},
    {sipName_QPointF, static_cast<int>(QMetaType::QPointF), 135},
    {sipName_QPolygon, static_cast<int>(QMetaType::QPolygon), 135},
    {sipName_QQuaternion, static_cast<int>(QMetaType::QQuaternion), 135},
    {sipName_QRect, static_cast<int>(QMetaType::QRect), 135},
    {sipName_QRectF, static_cast<int>(QMetaType::QRectF), 135},
    {sipName_QRegExp, static_cast<int>(QMetaType::QRegExp), 135},
    {sipName_QRegion, static_cast<int>(QMetaType::QRegion), 135},
    {sipName_QSize, static_cast<int>(QMetaType::QSize), 135},
    {sipName_QSizeF, static_cast<int>(QMetaType::QSizeF), 135},
    {sipName_QSizePolicy, static_cast<int>(QMetaType::QSizePolicy), 135},
    {sipName_QString, static_cast<int>(QMetaType::QString), 135},
    {sipName_QStringList, static_cast<int>(QMetaType::QStringList), 135},
    {sipName_QTextFormat, static_cast<int>(QMetaType::QTextFormat), 135},
    {sipName_QTextLength, static_cast<int>(QMetaType::QTextLength), 135},
    {sipName_QTime, static_cast<int>(QMetaType::QTime), 135},
    {sipName_QTransform, static_cast<int>(QMetaType::QTransform), 135},
    {sipName_QUrl, static_cast<int>(QMetaType::QUrl), 135},
    {sipName_QVariant, static_cast<int>(QMetaType::QVariant), 135},
    {sipName_QVariantHash, static_cast<int>(QMetaType::QVariantHash), 135},
    {sipName_QVariantList, static_cast<int>(QMetaType::QVariantList), 135},
    {sipName_QVariantMap, static_cast<int>(QMetaType::QVariantMap), 135},
    {sipName_QVector2D, static_cast<int>(QMetaType::QVector2D), 135},
    {sipName_QVector3D, static_cast<int>(QMetaType::QVector3D), 135},
    {sipName_QVector4D, static_cast<int>(QMetaType::QVector4D), 135},
    {sipName_QWidgetStar, static_cast<int>(QMetaType::QWidgetStar), 135},
    {sipName_Short, static_cast<int>(QMetaType::Short), 135},
    {sipName_UChar, static_cast<int>(QMetaType::UChar), 135},
    {sipName_UInt, static_cast<int>(QMetaType::UInt), 135},
    {sipName_ULong, static_cast<int>(QMetaType::ULong), 135},
    {sipName_ULongLong, static_cast<int>(QMetaType::ULongLong), 135},
    {sipName_UShort, static_cast<int>(QMetaType::UShort), 135},
    {sipName_User, static_cast<int>(QMetaType::User), 135},
    {sipName_Void, static_cast<int>(QMetaType::Void), 135},
    {sipName_VoidStar, static_cast<int>(QMetaType::VoidStar), 135},
};

PyDoc_STRVAR(doc_QMetaType, "\1QMetaType()\n"
    "QMetaType(QMetaType)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QMetaType = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QMetaType,
        {0}
    },
    {
        sipNameNr_QMetaType,
        {0, 0, 1},
        3, methods_QMetaType,
        67, enummembers_QMetaType,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMetaType,
    sipNameNr_PyQt4_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,
    assign_QMetaType,
    array_QMetaType,
    copy_QMetaType,
    release_QMetaType,
    cast_QMetaType,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 254 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 87245 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->name();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->value();
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QMetaClassInfo *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QMetaClassInfo();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QMetaClassInfo* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QMetaClassInfo, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QMetaClassInfo(*a0);
            Py_END_ALLOW_THREADS

            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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QMetaClassInfo = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 204 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 87471 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 87475 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 87478 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 87481 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 173 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 87484 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->name();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->typeName();
            Py_END_ALLOW_THREADS

            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() -> 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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->type();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isReadable();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isWritable();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDesignable(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isScriptable(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isStored(a0);
            Py_END_ALLOW_THREADS

            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_isEditable, "QMetaProperty.isEditable(QObject object=None) -> bool");

extern "C" {static PyObject *meth_QMetaProperty_isEditable(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMetaProperty_isEditable(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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEditable(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaProperty, sipName_isEditable, doc_QMetaProperty_isEditable);

    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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isFlagType();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEnumType();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QMetaEnum(sipCpp->enumerator());
            Py_END_ALLOW_THREADS

            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) -> object");

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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->read(a0));
            Py_END_ALLOW_THREADS

            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, object) -> 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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->write(a0,*a1);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->reset(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasStdCppSet();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isResettable();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isUser(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->userType();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasNotifySignal();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QMetaMethod(sipCpp->notifySignal());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->notifySignalIndex();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->propertyIndex();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isConstant();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isFinal();
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QMetaProperty *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QMetaProperty();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QMetaProperty* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QMetaProperty, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QMetaProperty(*a0);
            Py_END_ALLOW_THREADS

            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_isEditable), (PyCFunction)meth_QMetaProperty_isEditable, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMetaProperty_isEditable)},
    {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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QMetaProperty = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QMetaProperty,
        {0}
    },
    {
        sipNameNr_QMetaProperty,
        {0, 0, 1},
        26, methods_QMetaProperty,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMetaProperty,
    sipNameNr_PyQt4_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
};

#line 173 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 88460 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 88464 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->name();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isFlag();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->keyCount();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->key(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->value(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->scope();
            Py_END_ALLOW_THREADS

            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");

extern "C" {static PyObject *meth_QMetaEnum_keyToValue(PyObject *, PyObject *);}
static PyObject *meth_QMetaEnum_keyToValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        const QMetaEnum *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_QMetaEnum, &sipCpp, &a0Keep, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->keyToValue(a0);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->valueToKey(a0);
            Py_END_ALLOW_THREADS

            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");

extern "C" {static PyObject *meth_QMetaEnum_keysToValue(PyObject *, PyObject *);}
static PyObject *meth_QMetaEnum_keysToValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        const QMetaEnum *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_QMetaEnum, &sipCpp, &a0Keep, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->keysToValue(a0);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->valueToKeys(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QMetaEnum *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QMetaEnum();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QMetaEnum* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QMetaEnum, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QMetaEnum(*a0);
            Py_END_ALLOW_THREADS

            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), meth_QMetaEnum_keyToValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaEnum_keyToValue)},
    {SIP_MLNAME_CAST(sipName_keysToValue), meth_QMetaEnum_keysToValue, METH_VARARGS, 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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QMetaEnum = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 88981 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 88985 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 88988 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 171 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 88991 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 154 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 88994 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 88997 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 89000 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 89007 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QMetaMethod_signature, "QMetaMethod.signature() -> str");

extern "C" {static PyObject *meth_QMetaMethod_signature(PyObject *, PyObject *);}
static PyObject *meth_QMetaMethod_signature(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaMethod, &sipCpp))
        {
            const char*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->signature();
            Py_END_ALLOW_THREADS

            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_signature, doc_QMetaMethod_signature);

    return NULL;
}


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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->typeName();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QByteArray>(sipCpp->parameterTypes());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QByteArray>(sipCpp->parameterNames());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->tag();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->access();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->methodType();
            Py_END_ALLOW_THREADS

            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 74 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 89301 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 92 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 89365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 110 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 89430 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 130 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 89493 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->methodIndex();
            Py_END_ALLOW_THREADS

            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;
}


/* 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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QMetaMethod *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QMetaMethod();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QMetaMethod* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QMetaMethod, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QMetaMethod(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


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_methodIndex), meth_QMetaMethod_methodIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaMethod_methodIndex)},
    {SIP_MLNAME_CAST(sipName_methodType), meth_QMetaMethod_methodType, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaMethod_methodType)},
    {SIP_MLNAME_CAST(sipName_parameterNames), meth_QMetaMethod_parameterNames, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaMethod_parameterNames)},
    {SIP_MLNAME_CAST(sipName_parameterTypes), meth_QMetaMethod_parameterTypes, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaMethod_parameterTypes)},
    {SIP_MLNAME_CAST(sipName_signature), meth_QMetaMethod_signature, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaMethod_signature)},
    {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), 131},
    {sipName_Method, static_cast<int>(QMetaMethod::Method), 131},
    {sipName_Private, static_cast<int>(QMetaMethod::Private), 130},
    {sipName_Protected, static_cast<int>(QMetaMethod::Protected), 130},
    {sipName_Public, static_cast<int>(QMetaMethod::Public), 130},
    {sipName_Signal, static_cast<int>(QMetaMethod::Signal), 131},
    {sipName_Slot, static_cast<int>(QMetaMethod::Slot), 131},
};

PyDoc_STRVAR(doc_QMetaMethod, "\1QMetaMethod()\n"
    "QMetaMethod(QMetaMethod)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QMetaMethod = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QMetaMethod,
        {0}
    },
    {
        sipNameNr_QMetaMethod,
        {0, 0, 1},
        9, methods_QMetaMethod,
        7, enummembers_QMetaMethod,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMetaMethod,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    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
};

#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 89704 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->left();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->top();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->right();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->bottom();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLeft(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTop(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRight(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBottom(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator==((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator!=((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,ne_slot,sipType_QMargins,sipSelf,sipArg);
}


/* 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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QMargins *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QMargins();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        int a0;
        int a1;
        int a2;
        int a3;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "iiii", &a0, &a1, &a2, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QMargins(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QMargins* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QMargins, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QMargins(*a0);
            Py_END_ALLOW_THREADS

            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},
    {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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QMargins = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 1461 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 90221 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 90225 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


extern "C" {static void assign_QList_0100QLocale_Country(void *, SIP_SSIZE_T, const void *);}
static void assign_QList_0100QLocale_Country(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QList<QLocale::Country> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QList<QLocale::Country> *>(sipSrc);
}


extern "C" {static void *array_QList_0100QLocale_Country(SIP_SSIZE_T);}
static void *array_QList_0100QLocale_Country(SIP_SSIZE_T sipNrElem)
{
    return new QList<QLocale::Country>[sipNrElem];
}


extern "C" {static void *copy_QList_0100QLocale_Country(const void *, SIP_SSIZE_T);}
static void *copy_QList_0100QLocale_Country(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QList<QLocale::Country>(reinterpret_cast<const QList<QLocale::Country> *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0100QLocale_Country(void *, int);}
static void release_QList_0100QLocale_Country(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<QLocale::Country> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0100QLocale_Country(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0100QLocale_Country(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<QLocale::Country> **sipCppPtr = reinterpret_cast<QList<QLocale::Country> **>(sipCppPtrV);

#line 1491 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlocale.sip"
    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PyList_Check(sipPy))
            return 0;

        for (SIP_SSIZE_T i = 0; i < PyList_GET_SIZE(sipPy); ++i)
            if (!sipCanConvertToEnum(PyList_GET_ITEM(sipPy, i), sipType_QLocale_Country))
                return 0;

        return 1;
    }

    QList<QLocale::Country> *ql = new QList<QLocale::Country>;
 
    for (SIP_SSIZE_T i = 0; i < PyList_GET_SIZE(sipPy); ++i)
    {
        long l = SIPLong_AsLong(PyList_GET_ITEM(sipPy, i));
        ql->append(static_cast<QLocale::Country>(l));
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 90290 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0100QLocale_Country(void *, PyObject *);}
static PyObject *convertFrom_QList_0100QLocale_Country(void *sipCppV, PyObject *)
{
   QList<QLocale::Country> *sipCpp = reinterpret_cast<QList<QLocale::Country> *>(sipCppV);

#line 1465 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlocale.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QLocale::Country e = sipCpp->at(i);
        PyObject *eobj;

        if ((eobj = sipConvertFromEnum(e, sipType_QLocale_Country)) == NULL)
        {
            Py_DECREF(l);

            return NULL;
        }

        PyList_SET_ITEM(l, i, eobj);
    }

    return l;
#line 90323 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QLocale_Country = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_5447,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QLocale_Country,
    array_QList_0100QLocale_Country,
    copy_QList_0100QLocale_Country,
    release_QList_0100QLocale_Country,
    convertTo_QList_0100QLocale_Country,
    convertFrom_QList_0100QLocale_Country
};

#line 1362 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 90354 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 90358 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 90361 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


class sipQSystemLocale : public QSystemLocale
{
public:
    sipQSystemLocale();
    sipQSystemLocale(const QSystemLocale&);
    virtual ~sipQSystemLocale();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QLocale fallbackLocale() const;
    QVariant query(QSystemLocale::QueryType,QVariant) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQSystemLocale(const sipQSystemLocale &);
    sipQSystemLocale &operator = (const sipQSystemLocale &);

    char sipPyMethods[2];
};

sipQSystemLocale::sipQSystemLocale(): QSystemLocale(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSystemLocale::sipQSystemLocale(const QSystemLocale& a0): QSystemLocale(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSystemLocale::~sipQSystemLocale()
{
    sipCommonDtor(sipPySelf);
}

QLocale sipQSystemLocale::fallbackLocale() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_fallbackLocale);

    if (!sipMeth)
        return QSystemLocale::fallbackLocale();

    extern QLocale sipVH_QtCore_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_29(sipGILState, 0, sipPySelf, sipMeth);
}

QVariant sipQSystemLocale::query(QSystemLocale::QueryType a0,QVariant a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_query);

    if (!sipMeth)
        return QSystemLocale::query(a0,a1);

    extern QVariant sipVH_QtCore_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QSystemLocale::QueryType,QVariant);

    return sipVH_QtCore_30(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


PyDoc_STRVAR(doc_QSystemLocale_query, "QSystemLocale.query(QSystemLocale.QueryType, object) -> object");

extern "C" {static PyObject *meth_QSystemLocale_query(PyObject *, PyObject *);}
static PyObject *meth_QSystemLocale_query(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QSystemLocale::QueryType a0;
        QVariant* a1;
        int a1State = 0;
        const QSystemLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_QSystemLocale, &sipCpp, sipType_QSystemLocale_QueryType, &a0, sipType_QVariant,&a1, &a1State))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->QSystemLocale::query(a0,*a1) : sipCpp->query(a0,*a1)));
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QVariant,a1State);

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemLocale, sipName_query, doc_QSystemLocale_query);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemLocale_fallbackLocale, "QSystemLocale.fallbackLocale() -> QLocale");

extern "C" {static PyObject *meth_QSystemLocale_fallbackLocale(PyObject *, PyObject *);}
static PyObject *meth_QSystemLocale_fallbackLocale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QSystemLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSystemLocale, &sipCpp))
        {
            QLocale*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLocale((sipSelfWasArg ? sipCpp->QSystemLocale::fallbackLocale() : sipCpp->fallbackLocale()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QLocale,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemLocale, sipName_fallbackLocale, doc_QSystemLocale_fallbackLocale);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QSystemLocale(void *, const sipTypeDef *);}
static void *cast_QSystemLocale(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QSystemLocale)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSystemLocale(void *, int);}
static void release_QSystemLocale(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQSystemLocale *>(sipCppV);
    else
        delete reinterpret_cast<QSystemLocale *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QSystemLocale(void *, SIP_SSIZE_T, const void *);}
static void assign_QSystemLocale(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QSystemLocale *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QSystemLocale *>(sipSrc);
}


extern "C" {static void *array_QSystemLocale(SIP_SSIZE_T);}
static void *array_QSystemLocale(SIP_SSIZE_T sipNrElem)
{
    return new QSystemLocale[sipNrElem];
}


extern "C" {static void *copy_QSystemLocale(const void *, SIP_SSIZE_T);}
static void *copy_QSystemLocale(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QSystemLocale(reinterpret_cast<const QSystemLocale *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QSystemLocale(sipSimpleWrapper *);}
static void dealloc_QSystemLocale(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQSystemLocale *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QSystemLocale(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QSystemLocale(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSystemLocale(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQSystemLocale *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQSystemLocale();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QSystemLocale* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QSystemLocale, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQSystemLocale(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QSystemLocale[] = {
    {SIP_MLNAME_CAST(sipName_fallbackLocale), meth_QSystemLocale_fallbackLocale, METH_VARARGS, SIP_MLDOC_CAST(doc_QSystemLocale_fallbackLocale)},
    {SIP_MLNAME_CAST(sipName_query), meth_QSystemLocale_query, METH_VARARGS, SIP_MLDOC_CAST(doc_QSystemLocale_query)}
};

static sipEnumMemberDef enummembers_QSystemLocale[] = {
    {sipName_AMText, static_cast<int>(QSystemLocale::AMText), 209},
    {sipName_CountryId, static_cast<int>(QSystemLocale::CountryId), 209},
    {sipName_CurrencySymbol, static_cast<int>(QSystemLocale::CurrencySymbol), 209},
    {sipName_CurrencyToString, static_cast<int>(QSystemLocale::CurrencyToString), 209},
    {sipName_DateFormatLong, static_cast<int>(QSystemLocale::DateFormatLong), 209},
    {sipName_DateFormatShort, static_cast<int>(QSystemLocale::DateFormatShort), 209},
    {sipName_DateTimeFormatLong, static_cast<int>(QSystemLocale::DateTimeFormatLong), 209},
    {sipName_DateTimeFormatShort, static_cast<int>(QSystemLocale::DateTimeFormatShort), 209},
    {sipName_DateTimeToStringLong, static_cast<int>(QSystemLocale::DateTimeToStringLong), 209},
    {sipName_DateTimeToStringShort, static_cast<int>(QSystemLocale::DateTimeToStringShort), 209},
    {sipName_DateToStringLong, static_cast<int>(QSystemLocale::DateToStringLong), 209},
    {sipName_DateToStringShort, static_cast<int>(QSystemLocale::DateToStringShort), 209},
    {sipName_DayNameLong, static_cast<int>(QSystemLocale::DayNameLong), 209},
    {sipName_DayNameShort, static_cast<int>(QSystemLocale::DayNameShort), 209},
    {sipName_DecimalPoint, static_cast<int>(QSystemLocale::DecimalPoint), 209},
    {sipName_FirstDayOfWeek, static_cast<int>(QSystemLocale::FirstDayOfWeek), 209},
    {sipName_GroupSeparator, static_cast<int>(QSystemLocale::GroupSeparator), 209},
    {sipName_LanguageId, static_cast<int>(QSystemLocale::LanguageId), 209},
    {sipName_ListToSeparatedString, static_cast<int>(QSystemLocale::ListToSeparatedString), 209},
    {sipName_LocaleChanged, static_cast<int>(QSystemLocale::LocaleChanged), 209},
    {sipName_MeasurementSystem, static_cast<int>(QSystemLocale::MeasurementSystem), 209},
    {sipName_MonthNameLong, static_cast<int>(QSystemLocale::MonthNameLong), 209},
    {sipName_MonthNameShort, static_cast<int>(QSystemLocale::MonthNameShort), 209},
    {sipName_NativeCountryName, static_cast<int>(QSystemLocale::NativeCountryName), 209},
    {sipName_NativeLanguageName, static_cast<int>(QSystemLocale::NativeLanguageName), 209},
    {sipName_NegativeSign, static_cast<int>(QSystemLocale::NegativeSign), 209},
    {sipName_PMText, static_cast<int>(QSystemLocale::PMText), 209},
    {sipName_PositiveSign, static_cast<int>(QSystemLocale::PositiveSign), 209},
    {sipName_ScriptId, static_cast<int>(QSystemLocale::ScriptId), 209},
    {sipName_StringToAlternateQuotation, static_cast<int>(QSystemLocale::StringToAlternateQuotation), 209},
    {sipName_StringToStandardQuotation, static_cast<int>(QSystemLocale::StringToStandardQuotation), 209},
    {sipName_TimeFormatLong, static_cast<int>(QSystemLocale::TimeFormatLong), 209},
    {sipName_TimeFormatShort, static_cast<int>(QSystemLocale::TimeFormatShort), 209},
    {sipName_TimeToStringLong, static_cast<int>(QSystemLocale::TimeToStringLong), 209},
    {sipName_TimeToStringShort, static_cast<int>(QSystemLocale::TimeToStringShort), 209},
    {sipName_UILanguages, static_cast<int>(QSystemLocale::UILanguages), 209},
    {sipName_Weekdays, static_cast<int>(QSystemLocale::Weekdays), 209},
    {sipName_ZeroDigit, static_cast<int>(QSystemLocale::ZeroDigit), 209},
};

PyDoc_STRVAR(doc_QSystemLocale, "\1QSystemLocale()\n"
    "QSystemLocale(QSystemLocale)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QSystemLocale = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QSystemLocale,
        {0}
    },
    {
        sipNameNr_QSystemLocale,
        {0, 0, 1},
        2, methods_QSystemLocale,
        38, enummembers_QSystemLocale,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSystemLocale,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QSystemLocale,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSystemLocale,
    assign_QSystemLocale,
    array_QSystemLocale,
    copy_QSystemLocale,
    release_QSystemLocale,
    cast_QSystemLocale,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 90702 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 90706 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QLocale::NumberOptions::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 90728 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QLocale::NumberOptions::Int() != a0->operator QLocale::NumberOptions::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 90762 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QLocale::NumberOptions::Int() == a0->operator QLocale::NumberOptions::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 90802 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLocale::NumberOptions(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLocale::NumberOptions((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLocale::NumberOptions((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            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 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QLocale::NumberOptions(*a0 ^ a1);
#line 90911 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLocale::NumberOptions((*a0 | *a1));
            Py_END_ALLOW_THREADS
            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 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QLocale::NumberOptions(*a0 | a1);
#line 90963 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QLocale::NumberOptions::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QLocale::NumberOptions::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QLocale::NumberOptions::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QLocale::NumberOptions *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QLocale::NumberOptions(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QLocale::NumberOptions *>(a0),sipType_QLocale_NumberOptions,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QLocale::NumberOptions(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QLocale::NumberOptions();
            Py_END_ALLOW_THREADS

            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 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 91258 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_QLocale_NumberOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QLocale__NumberOptions,
        {0}
    },
    {
        sipNameNr_NumberOptions,
        {114, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QLocale_NumberOptions,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 91339 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 91343 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 91346 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 91349 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 91352 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 91355 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 67 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 91358 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 1461 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 91361 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 91364 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 401 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 91367 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 245 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 91370 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 91373 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->language();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->country();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->name());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_name, doc_QLocale_name);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_toShort, "QLocale.toShort(str, int base=0) -> (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;
        int a2 = 0;
        const QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|i", &sipSelf, sipType_QLocale, &sipCpp, sipType_QString,&a0, &a0State, &a2))
        {
            short sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toShort(*a0,&a1,a2);
            Py_END_ALLOW_THREADS
            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 base=0) -> (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;
        int a2 = 0;
        const QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|i", &sipSelf, sipType_QLocale, &sipCpp, sipType_QString,&a0, &a0State, &a2))
        {
            ushort sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toUShort(*a0,&a1,a2);
            Py_END_ALLOW_THREADS
            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 base=0) -> (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;
        int a2 = 0;
        const QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|i", &sipSelf, sipType_QLocale, &sipCpp, sipType_QString,&a0, &a0State, &a2))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toInt(*a0,&a1,a2);
            Py_END_ALLOW_THREADS
            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 base=0) -> (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;
        int a2 = 0;
        const QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|i", &sipSelf, sipType_QLocale, &sipCpp, sipType_QString,&a0, &a0State, &a2))
        {
            uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toUInt(*a0,&a1,a2);
            Py_END_ALLOW_THREADS
            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 base=0) -> (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;
        int a2 = 0;
        const QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|i", &sipSelf, sipType_QLocale, &sipCpp, sipType_QString,&a0, &a0State, &a2))
        {
            qlonglong sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toLongLong(*a0,&a1,a2);
            Py_END_ALLOW_THREADS
            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 base=0) -> (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;
        int a2 = 0;
        const QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|i", &sipSelf, sipType_QLocale, &sipCpp, sipType_QString,&a0, &a0State, &a2))
        {
            qlonglong sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toULongLong(*a0,&a1,a2);
            Py_END_ALLOW_THREADS
            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toFloat(*a0,&a1);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toDouble(*a0,&a1);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toString(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toString(a0,a1,a2));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toString(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toString(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toString(*a0,*a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toString(*a0,a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toString(*a0,*a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toString(*a0,a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toString(*a0,*a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toString(*a0,a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QLocale::languageToString(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QLocale::countryToString(a0));
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            QLocale::setDefault(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLocale(QLocale::c());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLocale(QLocale::system());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->dateFormat(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->timeFormat(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->dateTimeFormat(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDate(sipCpp->toDate(*a0,a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDate(sipCpp->toDate(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTime(sipCpp->toTime(*a0,a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTime(sipCpp->toTime(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTime(sipCpp->toDateTime(*a0,a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTime(sipCpp->toDateTime(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QChar(sipCpp->decimalPoint());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QChar(sipCpp->groupSeparator());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QChar(sipCpp->percent());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QChar(sipCpp->zeroDigit());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QChar(sipCpp->negativeSign());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QChar(sipCpp->exponential());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->monthName(a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->dayName(a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNumberOptions(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLocale::NumberOptions(sipCpp->numberOptions());
            Py_END_ALLOW_THREADS

            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_countriesForLanguage, "QLocale.countriesForLanguage(QLocale.Language) -> list-of-QLocale.Country");

extern "C" {static PyObject *meth_QLocale_countriesForLanguage(PyObject *, PyObject *);}
static PyObject *meth_QLocale_countriesForLanguage(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLocale::Language a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_QLocale_Language, &a0))
        {
            QList<QLocale::Country>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QLocale::Country>(QLocale::countriesForLanguage(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100QLocale_Country,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_countriesForLanguage, doc_QLocale_countriesForLanguage);

    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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->measurementSystem();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QChar(sipCpp->positiveSign());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->standaloneMonthName(a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->standaloneDayName(a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->amText());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->pmText());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->textDirection();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->script();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->bcp47Name());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->nativeLanguageName());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->nativeCountryName());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->firstDayOfWeek();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Qt::DayOfWeek>(sipCpp->weekdays());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toUpper(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toLower(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->currencySymbol(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toCurrencyString(a0,*a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toCurrencyString(a0,*a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toCurrencyString(a0,*a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toCurrencyString(a0,*a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->uiLanguages());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QLocale::scriptToString(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QLocale>(QLocale::matchingLocales(a0,a1,a2));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->quoteString(*a0,a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->createSeparatedList(*a0));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QLocale::operator!=(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QLocale::operator==(*a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QLocale *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QLocale();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QLocale(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QLocale(a0,a1);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QLocale* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QLocale, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QLocale(*a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QLocale(a0,a1,a2);
            Py_END_ALLOW_THREADS

            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_countriesForLanguage), meth_QLocale_countriesForLanguage, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_countriesForLanguage)},
    {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), 118},
    {sipName_Afan, static_cast<int>(QLocale::Afan), 118},
    {sipName_Afar, static_cast<int>(QLocale::Afar), 118},
    {sipName_Afghanistan, static_cast<int>(QLocale::Afghanistan), 115},
    {sipName_Afrikaans, static_cast<int>(QLocale::Afrikaans), 118},
    {sipName_Aghem, static_cast<int>(QLocale::Aghem), 118},
    {sipName_Akan, static_cast<int>(QLocale::Akan), 118},
    {sipName_Albania, static_cast<int>(QLocale::Albania), 115},
    {sipName_Albanian, static_cast<int>(QLocale::Albanian), 118},
    {sipName_Algeria, static_cast<int>(QLocale::Algeria), 115},
    {sipName_AlternateQuotation, static_cast<int>(QLocale::AlternateQuotation), 122},
    {sipName_AmericanSamoa, static_cast<int>(QLocale::AmericanSamoa), 115},
    {sipName_Amharic, static_cast<int>(QLocale::Amharic), 118},
    {sipName_Andorra, static_cast<int>(QLocale::Andorra), 115},
    {sipName_Angola, static_cast<int>(QLocale::Angola), 115},
    {sipName_Anguilla, static_cast<int>(QLocale::Anguilla), 115},
    {sipName_Antarctica, static_cast<int>(QLocale::Antarctica), 115},
    {sipName_AntiguaAndBarbuda, static_cast<int>(QLocale::AntiguaAndBarbuda), 115},
    {sipName_AnyCountry, static_cast<int>(QLocale::AnyCountry), 115},
    {sipName_AnyLanguage, static_cast<int>(QLocale::AnyLanguage), 118},
    {sipName_AnyScript, static_cast<int>(QLocale::AnyScript), 123},
    {sipName_Arabic, static_cast<int>(QLocale::Arabic), 118},
    {sipName_ArabicScript, static_cast<int>(QLocale::ArabicScript), 123},
    {sipName_Argentina, static_cast<int>(QLocale::Argentina), 115},
    {sipName_Armenia, static_cast<int>(QLocale::Armenia), 115},
    {sipName_Armenian, static_cast<int>(QLocale::Armenian), 118},
    {sipName_Aruba, static_cast<int>(QLocale::Aruba), 115},
    {sipName_Assamese, static_cast<int>(QLocale::Assamese), 118},
    {sipName_Asu, static_cast<int>(QLocale::Asu), 118},
    {sipName_Atsam, static_cast<int>(QLocale::Atsam), 118},
    {sipName_Australia, static_cast<int>(QLocale::Australia), 115},
    {sipName_Austria, static_cast<int>(QLocale::Austria), 115},
    {sipName_Aymara, static_cast<int>(QLocale::Aymara), 118},
    {sipName_Azerbaijan, static_cast<int>(QLocale::Azerbaijan), 115},
    {sipName_Azerbaijani, static_cast<int>(QLocale::Azerbaijani), 118},
    {sipName_Bafia, static_cast<int>(QLocale::Bafia), 118},
    {sipName_Bahamas, static_cast<int>(QLocale::Bahamas), 115},
    {sipName_Bahrain, static_cast<int>(QLocale::Bahrain), 115},
    {sipName_Bambara, static_cast<int>(QLocale::Bambara), 118},
    {sipName_Bangladesh, static_cast<int>(QLocale::Bangladesh), 115},
    {sipName_Barbados, static_cast<int>(QLocale::Barbados), 115},
    {sipName_Basaa, static_cast<int>(QLocale::Basaa), 118},
    {sipName_Bashkir, static_cast<int>(QLocale::Bashkir), 118},
    {sipName_Basque, static_cast<int>(QLocale::Basque), 118},
    {sipName_Belarus, static_cast<int>(QLocale::Belarus), 115},
    {sipName_Belgium, static_cast<int>(QLocale::Belgium), 115},
    {sipName_Belize, static_cast<int>(QLocale::Belize), 115},
    {sipName_Bemba, static_cast<int>(QLocale::Bemba), 118},
    {sipName_Bena, static_cast<int>(QLocale::Bena), 118},
    {sipName_Bengali, static_cast<int>(QLocale::Bengali), 118},
    {sipName_Benin, static_cast<int>(QLocale::Benin), 115},
    {sipName_Bermuda, static_cast<int>(QLocale::Bermuda), 115},
    {sipName_Bhutan, static_cast<int>(QLocale::Bhutan), 115},
    {sipName_Bhutani, static_cast<int>(QLocale::Bhutani), 118},
    {sipName_Bihari, static_cast<int>(QLocale::Bihari), 118},
    {sipName_Bislama, static_cast<int>(QLocale::Bislama), 118},
    {sipName_Blin, static_cast<int>(QLocale::Blin), 118},
    {sipName_Bodo, static_cast<int>(QLocale::Bodo), 118},
    {sipName_Bolivia, static_cast<int>(QLocale::Bolivia), 115},
    {sipName_BosniaAndHerzegowina, static_cast<int>(QLocale::BosniaAndHerzegowina), 115},
    {sipName_Bosnian, static_cast<int>(QLocale::Bosnian), 118},
    {sipName_Botswana, static_cast<int>(QLocale::Botswana), 115},
    {sipName_BouvetIsland, static_cast<int>(QLocale::BouvetIsland), 115},
    {sipName_Brazil, static_cast<int>(QLocale::Brazil), 115},
    {sipName_Breton, static_cast<int>(QLocale::Breton), 118},
    {sipName_BritishIndianOceanTerritory, static_cast<int>(QLocale::BritishIndianOceanTerritory), 115},
    {sipName_BritishVirginIslands, static_cast<int>(QLocale::BritishVirginIslands), 115},
    {sipName_BruneiDarussalam, static_cast<int>(QLocale::BruneiDarussalam), 115},
    {sipName_Bulgaria, static_cast<int>(QLocale::Bulgaria), 115},
    {sipName_Bulgarian, static_cast<int>(QLocale::Bulgarian), 118},
    {sipName_BurkinaFaso, static_cast<int>(QLocale::BurkinaFaso), 115},
    {sipName_Burmese, static_cast<int>(QLocale::Burmese), 118},
    {sipName_Burundi, static_cast<int>(QLocale::Burundi), 115},
    {sipName_Byelorussian, static_cast<int>(QLocale::Byelorussian), 118},
    {sipName_C, static_cast<int>(QLocale::C), 118},
    {sipName_Cambodia, static_cast<int>(QLocale::Cambodia), 115},
    {sipName_Cambodian, static_cast<int>(QLocale::Cambodian), 118},
    {sipName_Cameroon, static_cast<int>(QLocale::Cameroon), 115},
    {sipName_Canada, static_cast<int>(QLocale::Canada), 115},
    {sipName_CapeVerde, static_cast<int>(QLocale::CapeVerde), 115},
    {sipName_Catalan, static_cast<int>(QLocale::Catalan), 118},
    {sipName_CaymanIslands, static_cast<int>(QLocale::CaymanIslands), 115},
    {sipName_CentralAfricanRepublic, static_cast<int>(QLocale::CentralAfricanRepublic), 115},
    {sipName_CentralMoroccoTamazight, static_cast<int>(QLocale::CentralMoroccoTamazight), 118},
    {sipName_Chad, static_cast<int>(QLocale::Chad), 115},
    {sipName_Cherokee, static_cast<int>(QLocale::Cherokee), 118},
    {sipName_Chewa, static_cast<int>(QLocale::Chewa), 118},
    {sipName_Chiga, static_cast<int>(QLocale::Chiga), 118},
    {sipName_Chile, static_cast<int>(QLocale::Chile), 115},
    {sipName_China, static_cast<int>(QLocale::China), 115},
    {sipName_Chinese, static_cast<int>(QLocale::Chinese), 118},
    {sipName_ChristmasIsland, static_cast<int>(QLocale::ChristmasIsland), 115},
    {sipName_CocosIslands, static_cast<int>(QLocale::CocosIslands), 115},
    {sipName_Colognian, static_cast<int>(QLocale::Colognian), 118},
    {sipName_Colombia, static_cast<int>(QLocale::Colombia), 115},
    {sipName_Comoros, static_cast<int>(QLocale::Comoros), 115},
    {sipName_CongoSwahili, static_cast<int>(QLocale::CongoSwahili), 118},
    {sipName_CookIslands, static_cast<int>(QLocale::CookIslands), 115},
    {sipName_Cornish, static_cast<int>(QLocale::Cornish), 118},
    {sipName_Corsican, static_cast<int>(QLocale::Corsican), 118},
    {sipName_CostaRica, static_cast<int>(QLocale::CostaRica), 115},
    {sipName_Croatia, static_cast<int>(QLocale::Croatia), 115},
    {sipName_Croatian, static_cast<int>(QLocale::Croatian), 118},
    {sipName_Cuba, static_cast<int>(QLocale::Cuba), 115},
    {sipName_CurrencyDisplayName, static_cast<int>(QLocale::CurrencyDisplayName), 116},
    {sipName_CurrencyIsoCode, static_cast<int>(QLocale::CurrencyIsoCode), 116},
    {sipName_CurrencySymbol, static_cast<int>(QLocale::CurrencySymbol), 116},
    {sipName_Cyprus, static_cast<int>(QLocale::Cyprus), 115},
    {sipName_CyrillicScript, static_cast<int>(QLocale::CyrillicScript), 123},
    {sipName_Czech, static_cast<int>(QLocale::Czech), 118},
    {sipName_CzechRepublic, static_cast<int>(QLocale::CzechRepublic), 115},
    {sipName_Danish, static_cast<int>(QLocale::Danish), 118},
    {sipName_DemocraticRepublicOfCongo, static_cast<int>(QLocale::DemocraticRepublicOfCongo), 115},
    {sipName_DemocraticRepublicOfKorea, static_cast<int>(QLocale::DemocraticRepublicOfKorea), 115},
    {sipName_Denmark, static_cast<int>(QLocale::Denmark), 115},
    {sipName_DeseretScript, static_cast<int>(QLocale::DeseretScript), 123},
    {sipName_Divehi, static_cast<int>(QLocale::Divehi), 118},
    {sipName_Djibouti, static_cast<int>(QLocale::Djibouti), 115},
    {sipName_Dominica, static_cast<int>(QLocale::Dominica), 115},
    {sipName_DominicanRepublic, static_cast<int>(QLocale::DominicanRepublic), 115},
    {sipName_Duala, static_cast<int>(QLocale::Duala), 118},
    {sipName_Dutch, static_cast<int>(QLocale::Dutch), 118},
    {sipName_EastTimor, static_cast<int>(QLocale::EastTimor), 115},
    {sipName_Ecuador, static_cast<int>(QLocale::Ecuador), 115},
    {sipName_Egypt, static_cast<int>(QLocale::Egypt), 115},
    {sipName_ElSalvador, static_cast<int>(QLocale::ElSalvador), 115},
    {sipName_Embu, static_cast<int>(QLocale::Embu), 118},
    {sipName_English, static_cast<int>(QLocale::English), 118},
    {sipName_EquatorialGuinea, static_cast<int>(QLocale::EquatorialGuinea), 115},
    {sipName_Eritrea, static_cast<int>(QLocale::Eritrea), 115},
    {sipName_Esperanto, static_cast<int>(QLocale::Esperanto), 118},
    {sipName_Estonia, static_cast<int>(QLocale::Estonia), 115},
    {sipName_Estonian, static_cast<int>(QLocale::Estonian), 118},
    {sipName_Ethiopia, static_cast<int>(QLocale::Ethiopia), 115},
    {sipName_Ewe, static_cast<int>(QLocale::Ewe), 118},
    {sipName_Ewondo, static_cast<int>(QLocale::Ewondo), 118},
    {sipName_FalklandIslands, static_cast<int>(QLocale::FalklandIslands), 115},
    {sipName_FaroeIslands, static_cast<int>(QLocale::FaroeIslands), 115},
    {sipName_Faroese, static_cast<int>(QLocale::Faroese), 118},
    {sipName_FijiCountry, static_cast<int>(QLocale::FijiCountry), 115},
    {sipName_FijiLanguage, static_cast<int>(QLocale::FijiLanguage), 118},
    {sipName_Filipino, static_cast<int>(QLocale::Filipino), 118},
    {sipName_Finland, static_cast<int>(QLocale::Finland), 115},
    {sipName_Finnish, static_cast<int>(QLocale::Finnish), 118},
    {sipName_France, static_cast<int>(QLocale::France), 115},
    {sipName_French, static_cast<int>(QLocale::French), 118},
    {sipName_FrenchGuiana, static_cast<int>(QLocale::FrenchGuiana), 115},
    {sipName_FrenchPolynesia, static_cast<int>(QLocale::FrenchPolynesia), 115},
    {sipName_FrenchSouthernTerritories, static_cast<int>(QLocale::FrenchSouthernTerritories), 115},
    {sipName_Frisian, static_cast<int>(QLocale::Frisian), 118},
    {sipName_Friulian, static_cast<int>(QLocale::Friulian), 118},
    {sipName_Fulah, static_cast<int>(QLocale::Fulah), 118},
    {sipName_Ga, static_cast<int>(QLocale::Ga), 118},
    {sipName_Gabon, static_cast<int>(QLocale::Gabon), 115},
    {sipName_Gaelic, static_cast<int>(QLocale::Gaelic), 118},
    {sipName_Galician, static_cast<int>(QLocale::Galician), 118},
    {sipName_Gambia, static_cast<int>(QLocale::Gambia), 115},
    {sipName_Ganda, static_cast<int>(QLocale::Ganda), 118},
    {sipName_Geez, static_cast<int>(QLocale::Geez), 118},
    {sipName_Georgia, static_cast<int>(QLocale::Georgia), 115},
    {sipName_Georgian, static_cast<int>(QLocale::Georgian), 118},
    {sipName_German, static_cast<int>(QLocale::German), 118},
    {sipName_Germany, static_cast<int>(QLocale::Germany), 115},
    {sipName_Ghana, static_cast<int>(QLocale::Ghana), 115},
    {sipName_Gibraltar, static_cast<int>(QLocale::Gibraltar), 115},
    {sipName_Greece, static_cast<int>(QLocale::Greece), 115},
    {sipName_Greek, static_cast<int>(QLocale::Greek), 118},
    {sipName_Greenland, static_cast<int>(QLocale::Greenland), 115},
    {sipName_Greenlandic, static_cast<int>(QLocale::Greenlandic), 118},
    {sipName_Grenada, static_cast<int>(QLocale::Grenada), 115},
    {sipName_Guadeloupe, static_cast<int>(QLocale::Guadeloupe), 115},
    {sipName_Guam, static_cast<int>(QLocale::Guam), 115},
    {sipName_Guarani, static_cast<int>(QLocale::Guarani), 118},
    {sipName_Guatemala, static_cast<int>(QLocale::Guatemala), 115},
    {sipName_Guinea, static_cast<int>(QLocale::Guinea), 115},
    {sipName_GuineaBissau, static_cast<int>(QLocale::GuineaBissau), 115},
    {sipName_Gujarati, static_cast<int>(QLocale::Gujarati), 118},
    {sipName_GurmukhiScript, static_cast<int>(QLocale::GurmukhiScript), 123},
    {sipName_Gusii, static_cast<int>(QLocale::Gusii), 118},
    {sipName_Guyana, static_cast<int>(QLocale::Guyana), 115},
    {sipName_Haiti, static_cast<int>(QLocale::Haiti), 115},
    {sipName_Hausa, static_cast<int>(QLocale::Hausa), 118},
    {sipName_Hawaiian, static_cast<int>(QLocale::Hawaiian), 118},
    {sipName_HeardAndMcDonaldIslands, static_cast<int>(QLocale::HeardAndMcDonaldIslands), 115},
    {sipName_Hebrew, static_cast<int>(QLocale::Hebrew), 118},
    {sipName_Hindi, static_cast<int>(QLocale::Hindi), 118},
    {sipName_Honduras, static_cast<int>(QLocale::Honduras), 115},
    {sipName_HongKong, static_cast<int>(QLocale::HongKong), 115},
    {sipName_Hungarian, static_cast<int>(QLocale::Hungarian), 118},
    {sipName_Hungary, static_cast<int>(QLocale::Hungary), 115},
    {sipName_Iceland, static_cast<int>(QLocale::Iceland), 115},
    {sipName_Icelandic, static_cast<int>(QLocale::Icelandic), 118},
    {sipName_Igbo, static_cast<int>(QLocale::Igbo), 118},
    {sipName_ImperialSystem, static_cast<int>(QLocale::ImperialSystem), 119},
    {sipName_India, static_cast<int>(QLocale::India), 115},
    {sipName_Indonesia, static_cast<int>(QLocale::Indonesia), 115},
    {sipName_Indonesian, static_cast<int>(QLocale::Indonesian), 118},
    {sipName_Interlingua, static_cast<int>(QLocale::Interlingua), 118},
    {sipName_Interlingue, static_cast<int>(QLocale::Interlingue), 118},
    {sipName_Inuktitut, static_cast<int>(QLocale::Inuktitut), 118},
    {sipName_Inupiak, static_cast<int>(QLocale::Inupiak), 118},
    {sipName_Iran, static_cast<int>(QLocale::Iran), 115},
    {sipName_Iraq, static_cast<int>(QLocale::Iraq), 115},
    {sipName_Ireland, static_cast<int>(QLocale::Ireland), 115},
    {sipName_Irish, static_cast<int>(QLocale::Irish), 118},
    {sipName_Israel, static_cast<int>(QLocale::Israel), 115},
    {sipName_Italian, static_cast<int>(QLocale::Italian), 118},
    {sipName_Italy, static_cast<int>(QLocale::Italy), 115},
    {sipName_IvoryCoast, static_cast<int>(QLocale::IvoryCoast), 115},
    {sipName_Jamaica, static_cast<int>(QLocale::Jamaica), 115},
    {sipName_Japan, static_cast<int>(QLocale::Japan), 115},
    {sipName_Japanese, static_cast<int>(QLocale::Japanese), 118},
    {sipName_Javanese, static_cast<int>(QLocale::Javanese), 118},
    {sipName_Jju, static_cast<int>(QLocale::Jju), 118},
    {sipName_JolaFonyi, static_cast<int>(QLocale::JolaFonyi), 118},
    {sipName_Jordan, static_cast<int>(QLocale::Jordan), 115},
    {sipName_Kabuverdianu, static_cast<int>(QLocale::Kabuverdianu), 118},
    {sipName_Kabyle, static_cast<int>(QLocale::Kabyle), 118},
    {sipName_Kalenjin, static_cast<int>(QLocale::Kalenjin), 118},
    {sipName_Kamba, static_cast<int>(QLocale::Kamba), 118},
    {sipName_Kannada, static_cast<int>(QLocale::Kannada), 118},
    {sipName_Kashmiri, static_cast<int>(QLocale::Kashmiri), 118},
    {sipName_Kazakh, static_cast<int>(QLocale::Kazakh), 118},
    {sipName_Kazakhstan, static_cast<int>(QLocale::Kazakhstan), 115},
    {sipName_Kenya, static_cast<int>(QLocale::Kenya), 115},
    {sipName_Kikuyu, static_cast<int>(QLocale::Kikuyu), 118},
    {sipName_Kinyarwanda, static_cast<int>(QLocale::Kinyarwanda), 118},
    {sipName_Kirghiz, static_cast<int>(QLocale::Kirghiz), 118},
    {sipName_Kiribati, static_cast<int>(QLocale::Kiribati), 115},
    {sipName_Konkani, static_cast<int>(QLocale::Konkani), 118},
    {sipName_Korean, static_cast<int>(QLocale::Korean), 118},
    {sipName_Koro, static_cast<int>(QLocale::Koro), 118},
    {sipName_KoyraChiini, static_cast<int>(QLocale::KoyraChiini), 118},
    {sipName_KoyraboroSenni, static_cast<int>(QLocale::KoyraboroSenni), 118},
    {sipName_Kpelle, static_cast<int>(QLocale::Kpelle), 118},
    {sipName_Kurdish, static_cast<int>(QLocale::Kurdish), 118},
    {sipName_Kurundi, static_cast<int>(QLocale::Kurundi), 118},
    {sipName_Kuwait, static_cast<int>(QLocale::Kuwait), 115},
    {sipName_Kwasio, static_cast<int>(QLocale::Kwasio), 118},
    {sipName_Kyrgyzstan, static_cast<int>(QLocale::Kyrgyzstan), 115},
    {sipName_Langi, static_cast<int>(QLocale::Langi), 118},
    {sipName_Lao, static_cast<int>(QLocale::Lao), 115},
    {sipName_Laothian, static_cast<int>(QLocale::Laothian), 118},
    {sipName_LastCountry, static_cast<int>(QLocale::LastCountry), 115},
    {sipName_LastLanguage, static_cast<int>(QLocale::LastLanguage), 118},
    {sipName_Latin, static_cast<int>(QLocale::Latin), 118},
    {sipName_LatinAmericaAndTheCaribbean, static_cast<int>(QLocale::LatinAmericaAndTheCaribbean), 115},
    {sipName_LatinScript, static_cast<int>(QLocale::LatinScript), 123},
    {sipName_Latvia, static_cast<int>(QLocale::Latvia), 115},
    {sipName_Latvian, static_cast<int>(QLocale::Latvian), 118},
    {sipName_Lebanon, static_cast<int>(QLocale::Lebanon), 115},
    {sipName_Lesotho, static_cast<int>(QLocale::Lesotho), 115},
    {sipName_Liberia, static_cast<int>(QLocale::Liberia), 115},
    {sipName_LibyanArabJamahiriya, static_cast<int>(QLocale::LibyanArabJamahiriya), 115},
    {sipName_Liechtenstein, static_cast<int>(QLocale::Liechtenstein), 115},
    {sipName_Lingala, static_cast<int>(QLocale::Lingala), 118},
    {sipName_Lithuania, static_cast<int>(QLocale::Lithuania), 115},
    {sipName_Lithuanian, static_cast<int>(QLocale::Lithuanian), 118},
    {sipName_LongFormat, static_cast<int>(QLocale::LongFormat), 117},
    {sipName_LowGerman, static_cast<int>(QLocale::LowGerman), 118},
    {sipName_LubaKatanga, static_cast<int>(QLocale::LubaKatanga), 118},
    {sipName_Luo, static_cast<int>(QLocale::Luo), 118},
    {sipName_Luxembourg, static_cast<int>(QLocale::Luxembourg), 115},
    {sipName_Luyia, static_cast<int>(QLocale::Luyia), 118},
    {sipName_Macau, static_cast<int>(QLocale::Macau), 115},
    {sipName_Macedonia, static_cast<int>(QLocale::Macedonia), 115},
    {sipName_Macedonian, static_cast<int>(QLocale::Macedonian), 118},
    {sipName_Machame, static_cast<int>(QLocale::Machame), 118},
    {sipName_Madagascar, static_cast<int>(QLocale::Madagascar), 115},
    {sipName_MakhuwaMeetto, static_cast<int>(QLocale::MakhuwaMeetto), 118},
    {sipName_Makonde, static_cast<int>(QLocale::Makonde), 118},
    {sipName_Malagasy, static_cast<int>(QLocale::Malagasy), 118},
    {sipName_Malawi, static_cast<int>(QLocale::Malawi), 115},
    {sipName_Malay, static_cast<int>(QLocale::Malay), 118},
    {sipName_Malayalam, static_cast<int>(QLocale::Malayalam), 118},
    {sipName_Malaysia, static_cast<int>(QLocale::Malaysia), 115},
    {sipName_Maldives, static_cast<int>(QLocale::Maldives), 115},
    {sipName_Mali, static_cast<int>(QLocale::Mali), 115},
    {sipName_Malta, static_cast<int>(QLocale::Malta), 115},
    {sipName_Maltese, static_cast<int>(QLocale::Maltese), 118},
    {sipName_Manx, static_cast<int>(QLocale::Manx), 118},
    {sipName_Maori, static_cast<int>(QLocale::Maori), 118},
    {sipName_Marathi, static_cast<int>(QLocale::Marathi), 118},
    {sipName_MarshallIslands, static_cast<int>(QLocale::MarshallIslands), 115},
    {sipName_Martinique, static_cast<int>(QLocale::Martinique), 115},
    {sipName_Masai, static_cast<int>(QLocale::Masai), 118},
    {sipName_Mauritania, static_cast<int>(QLocale::Mauritania), 115},
    {sipName_Mauritius, static_cast<int>(QLocale::Mauritius), 115},
    {sipName_Mayotte, static_cast<int>(QLocale::Mayotte), 115},
    {sipName_Meru, static_cast<int>(QLocale::Meru), 118},
    {sipName_MetricSystem, static_cast<int>(QLocale::MetricSystem), 119},
    {sipName_MetropolitanFrance, static_cast<int>(QLocale::MetropolitanFrance), 115},
    {sipName_Mexico, static_cast<int>(QLocale::Mexico), 115},
    {sipName_Micronesia, static_cast<int>(QLocale::Micronesia), 115},
    {sipName_Moldavian, static_cast<int>(QLocale::Moldavian), 118},
    {sipName_Moldova, static_cast<int>(QLocale::Moldova), 115},
    {sipName_Monaco, static_cast<int>(QLocale::Monaco), 115},
    {sipName_Mongolia, static_cast<int>(QLocale::Mongolia), 115},
    {sipName_Mongolian, static_cast<int>(QLocale::Mongolian), 118},
    {sipName_MongolianScript, static_cast<int>(QLocale::MongolianScript), 123},
    {sipName_Montenegro, static_cast<int>(QLocale::Montenegro), 115},
    {sipName_Montserrat, static_cast<int>(QLocale::Montserrat), 115},
    {sipName_Morisyen, static_cast<int>(QLocale::Morisyen), 118},
    {sipName_Morocco, static_cast<int>(QLocale::Morocco), 115},
    {sipName_Mozambique, static_cast<int>(QLocale::Mozambique), 115},
    {sipName_Mundang, static_cast<int>(QLocale::Mundang), 118},
    {sipName_Myanmar, static_cast<int>(QLocale::Myanmar), 115},
    {sipName_Nama, static_cast<int>(QLocale::Nama), 118},
    {sipName_Namibia, static_cast<int>(QLocale::Namibia), 115},
    {sipName_NarrowFormat, static_cast<int>(QLocale::NarrowFormat), 117},
    {sipName_NauruCountry, static_cast<int>(QLocale::NauruCountry), 115},
    {sipName_NauruLanguage, static_cast<int>(QLocale::NauruLanguage), 118},
    {sipName_Nepal, static_cast<int>(QLocale::Nepal), 115},
    {sipName_Nepali, static_cast<int>(QLocale::Nepali), 118},
    {sipName_Netherlands, static_cast<int>(QLocale::Netherlands), 115},
    {sipName_NetherlandsAntilles, static_cast<int>(QLocale::NetherlandsAntilles), 115},
    {sipName_NewCaledonia, static_cast<int>(QLocale::NewCaledonia), 115},
    {sipName_NewZealand, static_cast<int>(QLocale::NewZealand), 115},
    {sipName_Nicaragua, static_cast<int>(QLocale::Nicaragua), 115},
    {sipName_Niger, static_cast<int>(QLocale::Niger), 115},
    {sipName_Nigeria, static_cast<int>(QLocale::Nigeria), 115},
    {sipName_Niue, static_cast<int>(QLocale::Niue), 115},
    {sipName_NorfolkIsland, static_cast<int>(QLocale::NorfolkIsland), 115},
    {sipName_NorthNdebele, static_cast<int>(QLocale::NorthNdebele), 118},
    {sipName_NorthernMarianaIslands, static_cast<int>(QLocale::NorthernMarianaIslands), 115},
    {sipName_NorthernSami, static_cast<int>(QLocale::NorthernSami), 118},
    {sipName_NorthernSotho, static_cast<int>(QLocale::NorthernSotho), 118},
    {sipName_Norway, static_cast<int>(QLocale::Norway), 115},
    {sipName_Norwegian, static_cast<int>(QLocale::Norwegian), 118},
    {sipName_NorwegianBokmal, static_cast<int>(QLocale::NorwegianBokmal), 118},
    {sipName_NorwegianNynorsk, static_cast<int>(QLocale::NorwegianNynorsk), 118},
    {sipName_Nuer, static_cast<int>(QLocale::Nuer), 118},
    {sipName_Nyankole, static_cast<int>(QLocale::Nyankole), 118},
    {sipName_Nynorsk, static_cast<int>(QLocale::Nynorsk), 118},
    {sipName_Occitan, static_cast<int>(QLocale::Occitan), 118},
    {sipName_Oman, static_cast<int>(QLocale::Oman), 115},
    {sipName_OmitGroupSeparator, static_cast<int>(QLocale::OmitGroupSeparator), 120},
    {sipName_Oriya, static_cast<int>(QLocale::Oriya), 118},
    {sipName_Pakistan, static_cast<int>(QLocale::Pakistan), 115},
    {sipName_Palau, static_cast<int>(QLocale::Palau), 115},
    {sipName_PalestinianTerritory, static_cast<int>(QLocale::PalestinianTerritory), 115},
    {sipName_Panama, static_cast<int>(QLocale::Panama), 115},
    {sipName_PapuaNewGuinea, static_cast<int>(QLocale::PapuaNewGuinea), 115},
    {sipName_Paraguay, static_cast<int>(QLocale::Paraguay), 115},
    {sipName_Pashto, static_cast<int>(QLocale::Pashto), 118},
    {sipName_PeoplesRepublicOfCongo, static_cast<int>(QLocale::PeoplesRepublicOfCongo), 115},
    {sipName_Persian, static_cast<int>(QLocale::Persian), 118},
    {sipName_Peru, static_cast<int>(QLocale::Peru), 115},
    {sipName_Philippines, static_cast<int>(QLocale::Philippines), 115},
    {sipName_Pitcairn, static_cast<int>(QLocale::Pitcairn), 115},
    {sipName_Poland, static_cast<int>(QLocale::Poland), 115},
    {sipName_Polish, static_cast<int>(QLocale::Polish), 118},
    {sipName_Portugal, static_cast<int>(QLocale::Portugal), 115},
    {sipName_Portuguese, static_cast<int>(QLocale::Portuguese), 118},
    {sipName_PuertoRico, static_cast<int>(QLocale::PuertoRico), 115},
    {sipName_Punjabi, static_cast<int>(QLocale::Punjabi), 118},
    {sipName_Qatar, static_cast<int>(QLocale::Qatar), 115},
    {sipName_Quechua, static_cast<int>(QLocale::Quechua), 118},
    {sipName_RejectGroupSeparator, static_cast<int>(QLocale::RejectGroupSeparator), 120},
    {sipName_RepublicOfKorea, static_cast<int>(QLocale::RepublicOfKorea), 115},
    {sipName_Reunion, static_cast<int>(QLocale::Reunion), 115},
    {sipName_RhaetoRomance, static_cast<int>(QLocale::RhaetoRomance), 118},
    {sipName_Romania, static_cast<int>(QLocale::Romania), 115},
    {sipName_Romanian, static_cast<int>(QLocale::Romanian), 118},
    {sipName_Rombo, static_cast<int>(QLocale::Rombo), 118},
    {sipName_Rundi, static_cast<int>(QLocale::Rundi), 118},
    {sipName_Russian, static_cast<int>(QLocale::Russian), 118},
    {sipName_RussianFederation, static_cast<int>(QLocale::RussianFederation), 115},
    {sipName_Rwa, static_cast<int>(QLocale::Rwa), 118},
    {sipName_Rwanda, static_cast<int>(QLocale::Rwanda), 115},
    {sipName_Saho, static_cast<int>(QLocale::Saho), 118},
    {sipName_SaintBarthelemy, static_cast<int>(QLocale::SaintBarthelemy), 115},
    {sipName_SaintKittsAndNevis, static_cast<int>(QLocale::SaintKittsAndNevis), 115},
    {sipName_SaintMartin, static_cast<int>(QLocale::SaintMartin), 115},
    {sipName_Sakha, static_cast<int>(QLocale::Sakha), 118},
    {sipName_Samburu, static_cast<int>(QLocale::Samburu), 118},
    {sipName_Samoa, static_cast<int>(QLocale::Samoa), 115},
    {sipName_Samoan, static_cast<int>(QLocale::Samoan), 118},
    {sipName_SanMarino, static_cast<int>(QLocale::SanMarino), 115},
    {sipName_Sangho, static_cast<int>(QLocale::Sangho), 118},
    {sipName_Sangu, static_cast<int>(QLocale::Sangu), 118},
    {sipName_Sanskrit, static_cast<int>(QLocale::Sanskrit), 118},
    {sipName_SaoTomeAndPrincipe, static_cast<int>(QLocale::SaoTomeAndPrincipe), 115},
    {sipName_SaudiArabia, static_cast<int>(QLocale::SaudiArabia), 115},
    {sipName_Sena, static_cast<int>(QLocale::Sena), 118},
    {sipName_Senegal, static_cast<int>(QLocale::Senegal), 115},
    {sipName_Serbia, static_cast<int>(QLocale::Serbia), 115},
    {sipName_SerbiaAndMontenegro, static_cast<int>(QLocale::SerbiaAndMontenegro), 115},
    {sipName_Serbian, static_cast<int>(QLocale::Serbian), 118},
    {sipName_SerboCroatian, static_cast<int>(QLocale::SerboCroatian), 118},
    {sipName_Sesotho, static_cast<int>(QLocale::Sesotho), 118},
    {sipName_Setswana, static_cast<int>(QLocale::Setswana), 118},
    {sipName_Seychelles, static_cast<int>(QLocale::Seychelles), 115},
    {sipName_Shambala, static_cast<int>(QLocale::Shambala), 118},
    {sipName_Shona, static_cast<int>(QLocale::Shona), 118},
    {sipName_ShortFormat, static_cast<int>(QLocale::ShortFormat), 117},
    {sipName_SichuanYi, static_cast<int>(QLocale::SichuanYi), 118},
    {sipName_Sidamo, static_cast<int>(QLocale::Sidamo), 118},
    {sipName_SierraLeone, static_cast<int>(QLocale::SierraLeone), 115},
    {sipName_SimplifiedChineseScript, static_cast<int>(QLocale::SimplifiedChineseScript), 123},
    {sipName_SimplifiedHanScript, static_cast<int>(QLocale::SimplifiedHanScript), 123},
    {sipName_Sindhi, static_cast<int>(QLocale::Sindhi), 118},
    {sipName_Singapore, static_cast<int>(QLocale::Singapore), 115},
    {sipName_Singhalese, static_cast<int>(QLocale::Singhalese), 118},
    {sipName_Siswati, static_cast<int>(QLocale::Siswati), 118},
    {sipName_Slovak, static_cast<int>(QLocale::Slovak), 118},
    {sipName_Slovakia, static_cast<int>(QLocale::Slovakia), 115},
    {sipName_Slovenia, static_cast<int>(QLocale::Slovenia), 115},
    {sipName_Slovenian, static_cast<int>(QLocale::Slovenian), 118},
    {sipName_Soga, static_cast<int>(QLocale::Soga), 118},
    {sipName_SolomonIslands, static_cast<int>(QLocale::SolomonIslands), 115},
    {sipName_Somali, static_cast<int>(QLocale::Somali), 118},
    {sipName_Somalia, static_cast<int>(QLocale::Somalia), 115},
    {sipName_SouthAfrica, static_cast<int>(QLocale::SouthAfrica), 115},
    {sipName_SouthGeorgiaAndTheSouthSandwichIslands, static_cast<int>(QLocale::SouthGeorgiaAndTheSouthSandwichIslands), 115},
    {sipName_SouthNdebele, static_cast<int>(QLocale::SouthNdebele), 118},
    {sipName_Spain, static_cast<int>(QLocale::Spain), 115},
    {sipName_Spanish, static_cast<int>(QLocale::Spanish), 118},
    {sipName_SriLanka, static_cast<int>(QLocale::SriLanka), 115},
    {sipName_StHelena, static_cast<int>(QLocale::StHelena), 115},
    {sipName_StLucia, static_cast<int>(QLocale::StLucia), 115},
    {sipName_StPierreAndMiquelon, static_cast<int>(QLocale::StPierreAndMiquelon), 115},
    {sipName_StVincentAndTheGrenadines, static_cast<int>(QLocale::StVincentAndTheGrenadines), 115},
    {sipName_StandardQuotation, static_cast<int>(QLocale::StandardQuotation), 122},
    {sipName_Sudan, static_cast<int>(QLocale::Sudan), 115},
    {sipName_Sundanese, static_cast<int>(QLocale::Sundanese), 118},
    {sipName_Suriname, static_cast<int>(QLocale::Suriname), 115},
    {sipName_SvalbardAndJanMayenIslands, static_cast<int>(QLocale::SvalbardAndJanMayenIslands), 115},
    {sipName_Swahili, static_cast<int>(QLocale::Swahili), 118},
    {sipName_Swaziland, static_cast<int>(QLocale::Swaziland), 115},
    {sipName_Sweden, static_cast<int>(QLocale::Sweden), 115},
    {sipName_Swedish, static_cast<int>(QLocale::Swedish), 118},
    {sipName_SwissGerman, static_cast<int>(QLocale::SwissGerman), 118},
    {sipName_Switzerland, static_cast<int>(QLocale::Switzerland), 115},
    {sipName_Syriac, static_cast<int>(QLocale::Syriac), 118},
    {sipName_SyrianArabRepublic, static_cast<int>(QLocale::SyrianArabRepublic), 115},
    {sipName_Tachelhit, static_cast<int>(QLocale::Tachelhit), 118},
    {sipName_Tagalog, static_cast<int>(QLocale::Tagalog), 118},
    {sipName_Taita, static_cast<int>(QLocale::Taita), 118},
    {sipName_Taiwan, static_cast<int>(QLocale::Taiwan), 115},
    {sipName_Tajik, static_cast<int>(QLocale::Tajik), 118},
    {sipName_Tajikistan, static_cast<int>(QLocale::Tajikistan), 115},
    {sipName_Tamil, static_cast<int>(QLocale::Tamil), 118},
    {sipName_Tanzania, static_cast<int>(QLocale::Tanzania), 115},
    {sipName_Taroko, static_cast<int>(QLocale::Taroko), 118},
    {sipName_Tasawaq, static_cast<int>(QLocale::Tasawaq), 118},
    {sipName_Tatar, static_cast<int>(QLocale::Tatar), 118},
    {sipName_Telugu, static_cast<int>(QLocale::Telugu), 118},
    {sipName_Teso, static_cast<int>(QLocale::Teso), 118},
    {sipName_Thai, static_cast<int>(QLocale::Thai), 118},
    {sipName_Thailand, static_cast<int>(QLocale::Thailand), 115},
    {sipName_Tibetan, static_cast<int>(QLocale::Tibetan), 118},
    {sipName_TifinaghScript, static_cast<int>(QLocale::TifinaghScript), 123},
    {sipName_Tigre, static_cast<int>(QLocale::Tigre), 118},
    {sipName_Tigrinya, static_cast<int>(QLocale::Tigrinya), 118},
    {sipName_Togo, static_cast<int>(QLocale::Togo), 115},
    {sipName_Tokelau, static_cast<int>(QLocale::Tokelau), 115},
    {sipName_TongaCountry, static_cast<int>(QLocale::TongaCountry), 115},
    {sipName_TongaLanguage, static_cast<int>(QLocale::TongaLanguage), 118},
    {sipName_TraditionalChineseScript, static_cast<int>(QLocale::TraditionalChineseScript), 123},
    {sipName_TraditionalHanScript, static_cast<int>(QLocale::TraditionalHanScript), 123},
    {sipName_TrinidadAndTobago, static_cast<int>(QLocale::TrinidadAndTobago), 115},
    {sipName_Tsonga, static_cast<int>(QLocale::Tsonga), 118},
    {sipName_Tunisia, static_cast<int>(QLocale::Tunisia), 115},
    {sipName_Turkey, static_cast<int>(QLocale::Turkey), 115},
    {sipName_Turkish, static_cast<int>(QLocale::Turkish), 118},
    {sipName_Turkmen, static_cast<int>(QLocale::Turkmen), 118},
    {sipName_Turkmenistan, static_cast<int>(QLocale::Turkmenistan), 115},
    {sipName_TurksAndCaicosIslands, static_cast<int>(QLocale::TurksAndCaicosIslands), 115},
    {sipName_Tuvalu, static_cast<int>(QLocale::Tuvalu), 115},
    {sipName_Twi, static_cast<int>(QLocale::Twi), 118},
    {sipName_Tyap, static_cast<int>(QLocale::Tyap), 118},
    {sipName_USVirginIslands, static_cast<int>(QLocale::USVirginIslands), 115},
    {sipName_Uganda, static_cast<int>(QLocale::Uganda), 115},
    {sipName_Uigur, static_cast<int>(QLocale::Uigur), 118},
    {sipName_Ukraine, static_cast<int>(QLocale::Ukraine), 115},
    {sipName_Ukrainian, static_cast<int>(QLocale::Ukrainian), 118},
    {sipName_UnitedArabEmirates, static_cast<int>(QLocale::UnitedArabEmirates), 115},
    {sipName_UnitedKingdom, static_cast<int>(QLocale::UnitedKingdom), 115},
    {sipName_UnitedStates, static_cast<int>(QLocale::UnitedStates), 115},
    {sipName_UnitedStatesMinorOutlyingIslands, static_cast<int>(QLocale::UnitedStatesMinorOutlyingIslands), 115},
    {sipName_Urdu, static_cast<int>(QLocale::Urdu), 118},
    {sipName_Uruguay, static_cast<int>(QLocale::Uruguay), 115},
    {sipName_Uzbek, static_cast<int>(QLocale::Uzbek), 118},
    {sipName_Uzbekistan, static_cast<int>(QLocale::Uzbekistan), 115},
    {sipName_Vai, static_cast<int>(QLocale::Vai), 118},
    {sipName_Vanuatu, static_cast<int>(QLocale::Vanuatu), 115},
    {sipName_VaticanCityState, static_cast<int>(QLocale::VaticanCityState), 115},
    {sipName_Venda, static_cast<int>(QLocale::Venda), 118},
    {sipName_Venezuela, static_cast<int>(QLocale::Venezuela), 115},
    {sipName_VietNam, static_cast<int>(QLocale::VietNam), 115},
    {sipName_Vietnamese, static_cast<int>(QLocale::Vietnamese), 118},
    {sipName_Volapuk, static_cast<int>(QLocale::Volapuk), 118},
    {sipName_Vunjo, static_cast<int>(QLocale::Vunjo), 118},
    {sipName_Walamo, static_cast<int>(QLocale::Walamo), 118},
    {sipName_WallisAndFutunaIslands, static_cast<int>(QLocale::WallisAndFutunaIslands), 115},
    {sipName_Walser, static_cast<int>(QLocale::Walser), 118},
    {sipName_Welsh, static_cast<int>(QLocale::Welsh), 118},
    {sipName_WesternSahara, static_cast<int>(QLocale::WesternSahara), 115},
    {sipName_Wolof, static_cast<int>(QLocale::Wolof), 118},
    {sipName_Xhosa, static_cast<int>(QLocale::Xhosa), 118},
    {sipName_Yangben, static_cast<int>(QLocale::Yangben), 118},
    {sipName_Yemen, static_cast<int>(QLocale::Yemen), 115},
    {sipName_Yiddish, static_cast<int>(QLocale::Yiddish), 118},
    {sipName_Yoruba, static_cast<int>(QLocale::Yoruba), 118},
    {sipName_Yugoslavia, static_cast<int>(QLocale::Yugoslavia), 115},
    {sipName_Zambia, static_cast<int>(QLocale::Zambia), 115},
    {sipName_Zarma, static_cast<int>(QLocale::Zarma), 118},
    {sipName_Zhuang, static_cast<int>(QLocale::Zhuang), 118},
    {sipName_Zimbabwe, static_cast<int>(QLocale::Zimbabwe), 115},
    {sipName_Zulu, static_cast<int>(QLocale::Zulu), 118},
};

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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QLocale = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QLocale,
        {0}
    },
    {
        sipNameNr_QLocale,
        {0, 0, 1},
        56, methods_QLocale,
        511, enummembers_QLocale,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QLocale,
    sipNameNr_PyQt4_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
};

#line 755 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 94371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<qreal> *>(ptr);
    Py_END_ALLOW_THREADS
}



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 784 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
        return (PySequence_Check(sipPy) && PySequence_Size(sipPy) >= 0);

    QList<qreal> *ql = new QList<qreal>;
    SIP_SSIZE_T len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);

        PyErr_Clear();
        double val = itm ? PyFloat_AsDouble(itm) : -1.0;
            
        if (!itm || (val == -1.0 && PyErr_Occurred()))
        {
            Py_XDECREF(itm);
            delete ql;
            *sipIsErr = 1;

            return 0;
        }

        ql->append(val);

        Py_DECREF(itm);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 94444 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 759 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        PyObject *pobj;

        if ((pobj = PyFloat_FromDouble(sipCpp->value(i))) == NULL)
        {
            Py_DECREF(l);

            return NULL;
        }

        PyList_SET_ITEM(l, i, pobj);
    }

    return l;
#line 94476 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_2400 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_30002,
        {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 689 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 94507 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"



extern "C" {static void assign_QList_1900(void *, SIP_SSIZE_T, const void *);}
static void assign_QList_1900(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QList<uint> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QList<uint> *>(sipSrc);
}


extern "C" {static void *array_QList_1900(SIP_SSIZE_T);}
static void *array_QList_1900(SIP_SSIZE_T sipNrElem)
{
    return new QList<uint>[sipNrElem];
}


extern "C" {static void *copy_QList_1900(const void *, SIP_SSIZE_T);}
static void *copy_QList_1900(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QList<uint>(reinterpret_cast<const QList<uint> *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_1900(void *, int);}
static void release_QList_1900(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<uint> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_1900(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_1900(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<uint> **sipCppPtr = reinterpret_cast<QList<uint> **>(sipCppPtrV);

#line 718 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
        return (PySequence_Check(sipPy) && PySequence_Size(sipPy) >= 0);

    QList<unsigned> *ql = new QList<unsigned>;
    SIP_SSIZE_T len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);

        PyErr_Clear();
        unsigned long val = itm ? PyLong_AsUnsignedLong(itm) : (unsigned long)-1;
        
        if (!itm || (val == (unsigned long)-1 && PyErr_Occurred()))
        {
            Py_XDECREF(itm);
            delete ql;
            *sipIsErr = 1;

            return 0;
        }

        ql->append(val);

        Py_DECREF(itm);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 94580 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QList_1900(void *, PyObject *);}
static PyObject *convertFrom_QList_1900(void *sipCppV, PyObject *)
{
   QList<uint> *sipCpp = reinterpret_cast<QList<uint> *>(sipCppV);

#line 693 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        PyObject *pobj;

        if ((pobj = PyLong_FromUnsignedLong(sipCpp->value(i))) == NULL)
        {
            Py_DECREF(l);

            return NULL;
        }

        PyList_SET_ITEM(l, i, pobj);
    }

    return l;
#line 94612 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_1900 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_33362,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_1900,
    array_QList_1900,
    copy_QList_1900,
    release_QList_1900,
    convertTo_QList_1900,
    convertFrom_QList_1900
};

#line 623 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 94643 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<int> *>(ptr);
    Py_END_ALLOW_THREADS
}



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 652 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
        return (PySequence_Check(sipPy) && PySequence_Size(sipPy) >= 0);

    QList<int> *ql = new QList<int>;
    SIP_SSIZE_T len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);

        PyErr_Clear();
        long val = itm ? SIPLong_AsLong(itm) : -1;
        
        if (!itm || (val == -1 && PyErr_Occurred()))
        {
            Py_XDECREF(itm);
            delete ql;
            *sipIsErr = 1;

            return 0;
        }

        ql->append(val);

        Py_DECREF(itm);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 94716 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 627 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        PyObject *pobj;

        if ((pobj = SIPLong_FromLong(sipCpp->value(i))) == NULL)
        {
            Py_DECREF(l);

            return NULL;
        }

        PyList_SET_ITEM(l, i, pobj);
    }

    return l;
#line 94748 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_1800 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_36793,
        {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 410 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 94780 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"



extern "C" {static void assign_QList_0600QPair_2400_2400(void *, SIP_SSIZE_T, const void *);}
static void assign_QList_0600QPair_2400_2400(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QList<QPair<qreal,qreal> > *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QList<QPair<qreal,qreal> > *>(sipSrc);
}


extern "C" {static void *array_QList_0600QPair_2400_2400(SIP_SSIZE_T);}
static void *array_QList_0600QPair_2400_2400(SIP_SSIZE_T sipNrElem)
{
    return new QList<QPair<qreal,qreal> >[sipNrElem];
}


extern "C" {static void *copy_QList_0600QPair_2400_2400(const void *, SIP_SSIZE_T);}
static void *copy_QList_0600QPair_2400_2400(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QList<QPair<qreal,qreal> >(reinterpret_cast<const QList<QPair<qreal,qreal> > *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0600QPair_2400_2400(void *, int);}
static void release_QList_0600QPair_2400_2400(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<QPair<qreal,qreal> > *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0600QPair_2400_2400(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0600QPair_2400_2400(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<QPair<qreal,qreal> > **sipCppPtr = reinterpret_cast<QList<QPair<qreal,qreal> > **>(sipCppPtrV);

#line 441 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *seq = PySequence_ITEM(sipPy, i);

            if (!seq || !PySequence_Check(seq) || PySequence_Size(seq) != 2)
            {
                Py_XDECREF(seq);
                return 0;
            }
        }

        return 1;
    }

    QList<QPair<qreal, qreal> > *ql = new QList<QPair<qreal, qreal> >;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *seq = PySequence_ITEM(sipPy, i);
        PyObject *itm0 = PySequence_ITEM(seq, 0);
        PyObject *itm1 = PySequence_ITEM(seq, 1);

        Py_DECREF(seq);

        if (!itm0 || !itm1)
        {
            Py_XDECREF(itm0);
            Py_XDECREF(itm1);

            delete ql;
            *sipIsErr = 1;

            return 0;
        }

        qreal first = PyFloat_AsDouble(itm0);
        qreal second = PyFloat_AsDouble(itm1);
 
        Py_DECREF(itm0);
        Py_DECREF(itm1);

        ql->append(QPair<qreal, qreal>(first, second));
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 94878 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0600QPair_2400_2400(void *, PyObject *);}
static PyObject *convertFrom_QList_0600QPair_2400_2400(void *sipCppV, PyObject *)
{
   QList<QPair<qreal,qreal> > *sipCpp = reinterpret_cast<QList<QPair<qreal,qreal> > *>(sipCppV);

#line 415 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        const QPair<qreal, qreal> &p = sipCpp->at(i);
        PyObject *pobj;

        if ((pobj = Py_BuildValue((char *)"dd", p.first, p.second)) == NULL)
        {
            Py_DECREF(l);

            return NULL;
        }

        PyList_SET_ITEM(l, i, pobj);
    }

    return l;
#line 94911 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0600QPair_2400_2400 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_3043,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0600QPair_2400_2400,
    array_QList_0600QPair_2400_2400,
    copy_QList_0600QPair_2400_2400,
    release_QList_0600QPair_2400_2400,
    convertTo_QList_0600QPair_2400_2400,
    convertFrom_QList_0600QPair_2400_2400
};

#line 314 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 94943 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<QPair<int,int> > *>(ptr);
    Py_END_ALLOW_THREADS
}



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 345 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *seq = PySequence_ITEM(sipPy, i);

            if (!seq || !PySequence_Check(seq) || PySequence_Size(seq) != 2)
            {
                Py_XDECREF(seq);
                return 0;
            }

            Py_DECREF(seq);
        }

        return 1;
    }

    QList<QPair<int, int> > *ql = new QList<QPair<int, int> >;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *seq = PySequence_ITEM(sipPy, i);
        PyObject *itm0 = PySequence_ITEM(seq, 0);
        PyObject *itm1 = PySequence_ITEM(seq, 1);

        Py_DECREF(seq);

        if (!itm0 || !itm1)
        {
            Py_XDECREF(itm0);
            Py_XDECREF(itm1);

            delete ql;
            *sipIsErr = 1;

            return 0;
        }

        int first = SIPLong_AsLong(itm0);
        int second = SIPLong_AsLong(itm1);

        Py_DECREF(itm0);
        Py_DECREF(itm1);

        ql->append(QPair<int, int>(first, second));
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 95043 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 319 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        const QPair<int, int> &p = sipCpp->at(i);
        PyObject *pobj;

        if ((pobj = Py_BuildValue((char *)"ii", p.first, p.second)) == NULL)
        {
            Py_DECREF(l);

            return NULL;
        }

        PyList_SET_ITEM(l, i, pobj);
    }

    return l;
#line 95076 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0600QPair_1800_1800 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_6769,
        {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 108 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qline.sip"
#include <qline.h>
#line 95107 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qline.sip"
#include <qline.h>
#line 95111 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 114 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 95114 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->length();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLineF(sipCpp->unitVector());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->intersect(*a0,a1);
            Py_END_ALLOW_THREADS
            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_angle, "QLineF.angle(QLineF) -> float\n"
    "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* a0;
        const QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QLineF, &sipCpp, sipType_QLineF, &a0))
        {
            qreal sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->angle(*a0);
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

    {
        const QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineF, &sipCpp))
        {
            qreal sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->angle();
            Py_END_ALLOW_THREADS

            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->x1();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->y1();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->x2();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->y2();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPointF(sipCpp->p1());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPointF(sipCpp->p2());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dx();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dy();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLineF(sipCpp->normalVector());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->translate(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->translate(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLength(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPointF(sipCpp->pointAt(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLine(sipCpp->toLine());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLineF(QLineF::fromPolar(a0,a1));
            Py_END_ALLOW_THREADS

            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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAngle(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->angleTo(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLineF(sipCpp->translated(*a0));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLineF(sipCpp->translated(a0,a1));
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setP1(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setP2(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPoints(*a0,*a1);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLine(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QLineF::operator==(*a0);
            Py_END_ALLOW_THREADS

            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 140 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qline.sip"
        if (sipCpp->isNull())
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromString("PyQt4.QtCore.QLineF()");
        #else
            sipRes = PyString_FromString("PyQt4.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("PyQt4.QtCore.QLineF(%R, %R, %R, %R)",
                        x1, y1, x2, y2);
        #else
                sipRes = PyString_FromString("PyQt4.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 96033 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QLineF::operator!=(*a0);
            Py_END_ALLOW_THREADS

            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 127 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qline.sip"
        sipRes = !sipCpp->isNull();
#line 96092 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QLineF *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static PyObject *pickle_QLineF(void *);}
static PyObject *pickle_QLineF(void *sipCppV)
{
    QLineF *sipCpp = reinterpret_cast<QLineF *>(sipCppV);
    PyObject *sipRes;

#line 112 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qline.sip"
    sipRes = Py_BuildValue((char *)"dddd", sipCpp->x1(), sipCpp->y1(), sipCpp->x2(), sipCpp->y2());
#line 96133 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QLineF(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QLineF();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QLineF(*a0,*a1);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QLineF(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QLineF* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QLineF, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QLineF(*a0);
            Py_END_ALLOW_THREADS

            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), 93},
    {sipName_NoIntersection, static_cast<int>(QLineF::NoIntersection), 93},
    {sipName_UnboundedIntersection, static_cast<int>(QLineF::UnboundedIntersection), 93},
};

PyDoc_STRVAR(doc_QLineF, "\1QLineF(QLine)\n"
    "QLineF()\n"
    "QLineF(QPointF, QPointF)\n"
    "QLineF(float, float, float, float)\n"
    "QLineF(QLineF)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QLineF = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qline.sip"
#include <qline.h>
#line 96358 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 96362 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->x1();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->y1();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->x2();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->y2();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint(sipCpp->p1());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint(sipCpp->p2());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dx();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dy();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->translate(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
        QLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QLine, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->translate(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLine(sipCpp->translated(*a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLine(sipCpp->translated(a0,a1));
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setP1(*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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setP2(*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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPoints(*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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLine(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QLine::operator==(*a0);
            Py_END_ALLOW_THREADS

            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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qline.sip"
        sipRes = !sipCpp->isNull();
#line 96889 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qline.sip"
        if (sipCpp->isNull())
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromString("PyQt4.QtCore.QLine()");
        #else
            sipRes = PyString_FromString("PyQt4.QtCore.QLine()");
        #endif
        }
        else
        {
            sipRes =
        #if PY_MAJOR_VERSION >= 3
                PyUnicode_FromFormat
        #else
                PyString_FromFormat
        #endif
                    ("PyQt4.QtCore.QLine(%i, %i, %i, %i)",
                    sipCpp->x1(), sipCpp->y1(), sipCpp->x2(), sipCpp->y2());
        }
#line 96932 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QLine::operator!=(*a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QLine *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qline.sip"
    sipRes = Py_BuildValue((char *)"iiii", sipCpp->x1(), sipCpp->y1(), sipCpp->x2(), sipCpp->y2());
#line 97007 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QLine();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QPoint* a0;
        const QPoint* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J9", sipType_QPoint, &a0, sipType_QPoint, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QLine(*a0,*a1);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        int a0;
        int a1;
        int a2;
        int a3;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "iiii", &a0, &a1, &a2, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QLine(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QLine* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QLine, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QLine(*a0);
            Py_END_ALLOW_THREADS

            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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QLine = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlibraryinfo.sip"
#include <qlibraryinfo.h>
#line 97197 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 97201 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 97204 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QLibraryInfo::licensee());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QLibraryInfo::licensedProducts());
            Py_END_ALLOW_THREADS

            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_buildKey, "QLibraryInfo.buildKey() -> str");

extern "C" {static PyObject *meth_QLibraryInfo_buildKey(PyObject *, PyObject *);}
static PyObject *meth_QLibraryInfo_buildKey(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QLibraryInfo::buildKey());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLibraryInfo, sipName_buildKey, doc_QLibraryInfo_buildKey);

    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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QLibraryInfo::location(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDate(QLibraryInfo::buildDate());
            Py_END_ALLOW_THREADS

            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;
}


/* 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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QLibraryInfo *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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_buildKey), meth_QLibraryInfo_buildKey, METH_VARARGS, SIP_MLDOC_CAST(doc_QLibraryInfo_buildKey)},
    {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_BinariesPath, static_cast<int>(QLibraryInfo::BinariesPath), 90},
    {sipName_DataPath, static_cast<int>(QLibraryInfo::DataPath), 90},
    {sipName_DemosPath, static_cast<int>(QLibraryInfo::DemosPath), 90},
    {sipName_DocumentationPath, static_cast<int>(QLibraryInfo::DocumentationPath), 90},
    {sipName_ExamplesPath, static_cast<int>(QLibraryInfo::ExamplesPath), 90},
    {sipName_HeadersPath, static_cast<int>(QLibraryInfo::HeadersPath), 90},
    {sipName_ImportsPath, static_cast<int>(QLibraryInfo::ImportsPath), 90},
    {sipName_LibrariesPath, static_cast<int>(QLibraryInfo::LibrariesPath), 90},
    {sipName_PluginsPath, static_cast<int>(QLibraryInfo::PluginsPath), 90},
    {sipName_PrefixPath, static_cast<int>(QLibraryInfo::PrefixPath), 90},
    {sipName_SettingsPath, static_cast<int>(QLibraryInfo::SettingsPath), 90},
    {sipName_TranslationsPath, static_cast<int>(QLibraryInfo::TranslationsPath), 90},
};


pyqt4ClassTypeDef sipTypeDef_QtCore_QLibraryInfo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QLibraryInfo,
        {0}
    },
    {
        sipNameNr_QLibraryInfo,
        {0, 0, 1},
        5, methods_QLibraryInfo,
        12, enummembers_QLibraryInfo,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlibrary.sip"
#include <qlibrary.h>
#line 97456 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlibrary.sip"
#include <qlibrary.h>
#line 97460 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QLibrary::LoadHints::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 97482 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QLibrary::LoadHints::Int() != a0->operator QLibrary::LoadHints::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 97516 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QLibrary::LoadHints::Int() == a0->operator QLibrary::LoadHints::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 97556 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLibrary::LoadHints(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLibrary::LoadHints((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLibrary::LoadHints((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            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 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QLibrary::LoadHints(*a0 ^ a1);
#line 97665 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLibrary::LoadHints((*a0 | *a1));
            Py_END_ALLOW_THREADS
            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 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QLibrary::LoadHints(*a0 | a1);
#line 97717 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QLibrary::LoadHints::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QLibrary::LoadHints::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QLibrary::LoadHints::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QLibrary::LoadHints *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QLibrary::LoadHints(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QLibrary::LoadHints *>(a0),sipType_QLibrary_LoadHints,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QLibrary::LoadHints(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QLibrary::LoadHints();
            Py_END_ALLOW_THREADS

            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 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 98012 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_QLibrary_LoadHints = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QLibrary__LoadHints,
        {0}
    },
    {
        sipNameNr_LoadHints,
        {86, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QLibrary_LoadHints,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlibrary.sip"
#include <qlibrary.h>
#line 98093 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 98097 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 98100 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlibrary.sip"
#include <qlibrary.h>
#line 98103 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 98106 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 98109 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 98112 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 98115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 98118 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 98121 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 98124 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 98127 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 98130 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 98133 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 98136 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QLibrary, _clname)) ? this : QLibrary::qt_metacast(_clname);
}

void sipQLibrary::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQLibrary::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQLibrary::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQLibrary::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}


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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 98431 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQLibrary *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QLibrary, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 98476 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QLibrary, sipName_customEvent, doc_QLibrary_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLibrary_connectNotify, "QLibrary.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQLibrary *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QLibrary, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QLibrary, sipName_connectNotify, doc_QLibrary_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QLibrary_disconnectNotify, "QLibrary.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQLibrary *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QLibrary, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->errorString());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->fileName());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isLoaded();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->load();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLibrary::LoadHints(sipCpp->loadHints());
            Py_END_ALLOW_THREADS

            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))
        {
            void*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->resolve(a0);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return sipConvertFromVoidPtr(sipRes);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const char* a1;
        PyObject *a1Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1AA", sipType_QString,&a0, &a0State, &a1Keep, &a1))
        {
            void*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QLibrary::resolve(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            Py_DECREF(a1Keep);

            return sipConvertFromVoidPtr(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))
        {
            void*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QLibrary::resolve(*a0,a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            Py_DECREF(a2Keep);

            return sipConvertFromVoidPtr(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))
        {
            void*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QLibrary::resolve(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            Py_DECREF(a2Keep);

            return sipConvertFromVoidPtr(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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->unload();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QLibrary::isLibrary(*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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFileName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFileNameAndVersion(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFileNameAndVersion(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLoadHints(*a0);
            Py_END_ALLOW_THREADS
            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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQLibrary(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQLibrary(*a0,a1);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQLibrary(*a0,a1,a2);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQLibrary(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            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[] = {{141, 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_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), 87},
    {sipName_LoadArchiveMemberHint, static_cast<int>(QLibrary::LoadArchiveMemberHint), 87},
    {sipName_ResolveAllSymbolsHint, static_cast<int>(QLibrary::ResolveAllSymbolsHint), 87},
};

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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QLibrary = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QLibrary,
        {0}
    },
    {
        sipNameNr_QLibrary,
        {0, 0, 1},
        19, methods_QLibrary,
        3, 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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 99330 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 99334 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QIODevice::OpenMode::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 99356 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QIODevice::OpenMode::Int() != a0->operator QIODevice::OpenMode::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 99390 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QIODevice::OpenMode::Int() == a0->operator QIODevice::OpenMode::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 99430 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QIODevice::OpenMode(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QIODevice::OpenMode((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QIODevice::OpenMode((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            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 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QIODevice::OpenMode(*a0 ^ a1);
#line 99539 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QIODevice::OpenMode((*a0 | *a1));
            Py_END_ALLOW_THREADS
            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 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QIODevice::OpenMode(*a0 | a1);
#line 99591 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QIODevice::OpenMode::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QIODevice::OpenMode::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QIODevice::OpenMode::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QIODevice::OpenMode *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QIODevice::OpenMode(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QIODevice::OpenMode *>(a0),sipType_QIODevice_OpenMode,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QIODevice::OpenMode(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QIODevice::OpenMode();
            Py_END_ALLOW_THREADS

            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 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 99886 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_QIODevice_OpenMode = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QIODevice__OpenMode,
        {0}
    },
    {
        sipNameNr_OpenMode,
        {81, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QIODevice_OpenMode,
    sipNameNr_PyQt4_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
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qhistorystate.sip"
#include <qhistorystate.h>
#line 99967 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstate.sip"
#include <qstate.h>
#line 99971 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 99974 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 99977 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 99980 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 99983 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 99986 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 99989 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 99992 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 99995 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 99998 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 100001 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 100004 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 100007 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 100010 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 100013 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 100016 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() 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 char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QHistoryState, _clname)) ? this : QHistoryState::qt_metacast(_clname);
}

void sipQHistoryState::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQHistoryState::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQHistoryState::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQHistoryState::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 100355 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQHistoryState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QHistoryState, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 100400 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QHistoryState, sipName_customEvent, doc_QHistoryState_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHistoryState_connectNotify, "QHistoryState.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQHistoryState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QHistoryState, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QHistoryState, sipName_connectNotify, doc_QHistoryState_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QHistoryState_disconnectNotify, "QHistoryState.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQHistoryState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QHistoryState, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->defaultState();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDefaultState(a0);
            Py_END_ALLOW_THREADS

            sipKeepReference(sipSelf, -1, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHistoryState, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->historyType();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHistoryType(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_onEntry(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_onExit(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQHistoryState(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQHistoryState(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QHistoryState[] = {{15, 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_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), 80},
    {sipName_ShallowHistory, static_cast<int>(QHistoryState::ShallowHistory), 80},
};

PyDoc_STRVAR(doc_QHistoryState, "\1QHistoryState(QState parent=None)\n"
    "QHistoryState(QHistoryState.HistoryType, QState parent=None)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QHistoryState = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QHistoryState,
        {0}
    },
    {
        sipNameNr_QHistoryState,
        {0, 0, 1},
        15, 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,
    0
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfsfileengine.sip"
#include <qfsfileengine.h>
#line 100984 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 100988 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 100991 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 100994 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 401 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 100997 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractfileengine.sip"
#include <qabstractfileengine.h>
#line 101000 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractfileengine.sip"
#include <qabstractfileengine.h>
#line 101003 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 101006 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 101009 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 101012 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 79 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfile.sip"
#include <qfile.h>
#line 101015 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 79 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfile.sip"
#include <qfile.h>
#line 101018 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 305 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractfileengine.sip"
#include <qabstractfileengine.h>
#line 101021 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


class sipQFSFileEngine : public QFSFileEngine
{
public:
    sipQFSFileEngine();
    sipQFSFileEngine(const QString&);
    virtual ~sipQFSFileEngine();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_setError(QFile::FileError,const QString&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QAbstractFileEngineIterator* beginEntryList(QDir::Filters,const QStringList&);
    qint64 write(const char*,PY_LONG_LONG);
    qint64 readLine(char*,qint64);
    qint64 read(char*,qint64);
    int handle() const;
    void setFileName(const QString&);
    QDateTime fileTime(QAbstractFileEngine::FileTime) const;
    QString owner(QAbstractFileEngine::FileOwner) const;
    uint ownerId(QAbstractFileEngine::FileOwner) const;
    QString fileName(QAbstractFileEngine::FileName) const;
    bool setPermissions(uint);
    QAbstractFileEngine::FileFlags fileFlags(QAbstractFileEngine::FileFlags) const;
    QStringList entryList(QDir::Filters,const QStringList&) const;
    bool isRelativePath() const;
    bool caseSensitive() const;
    bool setSize(qint64);
    bool rmdir(const QString&,bool) const;
    bool mkdir(const QString&,bool) const;
    bool link(const QString&);
    bool rename(const QString&);
    bool copy(const QString&);
    bool remove();
    bool isSequential() const;
    bool seek(qint64);
    qint64 pos() const;
    qint64 size() const;
    bool flush();
    bool close();
    bool open(QIODevice::OpenMode);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQFSFileEngine(const sipQFSFileEngine &);
    sipQFSFileEngine &operator = (const sipQFSFileEngine &);

    char sipPyMethods[29];
};

sipQFSFileEngine::sipQFSFileEngine(): QFSFileEngine(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQFSFileEngine::sipQFSFileEngine(const QString& a0): QFSFileEngine(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQFSFileEngine::~sipQFSFileEngine()
{
    sipCommonDtor(sipPySelf);
}

QAbstractFileEngineIterator* sipQFSFileEngine::beginEntryList(QDir::Filters a0,const QStringList& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_beginEntryList);

    if (!sipMeth)
        return QFSFileEngine::beginEntryList(a0,a1);

    extern QAbstractFileEngineIterator* sipVH_QtCore_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDir::Filters,const QStringList&);

    return sipVH_QtCore_66(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

qint64 sipQFSFileEngine::write(const char*a0,PY_LONG_LONG a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_write);

    if (!sipMeth)
        return QFSFileEngine::write(a0,a1);

    extern PY_LONG_LONG sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*,PY_LONG_LONG);

    return sipVH_QtCore_20(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

qint64 sipQFSFileEngine::readLine(char*a0,qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_readLine);

    if (!sipMeth)
        return QFSFileEngine::readLine(a0,a1);

    extern PY_LONG_LONG sipVH_QtCore_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,PY_LONG_LONG);

    return sipVH_QtCore_21(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

qint64 sipQFSFileEngine::read(char*a0,qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_read);

    if (!sipMeth)
        return QFSFileEngine::read(a0,a1);

    extern PY_LONG_LONG sipVH_QtCore_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,PY_LONG_LONG);

    return sipVH_QtCore_21(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

int sipQFSFileEngine::handle() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_handle);

    if (!sipMeth)
        return QFSFileEngine::handle();

    extern int sipVH_QtCore_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_6(sipGILState, 0, sipPySelf, sipMeth);
}

void sipQFSFileEngine::setFileName(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setFileName);

    if (!sipMeth)
    {
        QFSFileEngine::setFileName(a0);
        return;
    }

    extern void sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    sipVH_QtCore_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QDateTime sipQFSFileEngine::fileTime(QAbstractFileEngine::FileTime a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_fileTime);

    if (!sipMeth)
        return QFSFileEngine::fileTime(a0);

    extern QDateTime sipVH_QtCore_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractFileEngine::FileTime);

    return sipVH_QtCore_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QString sipQFSFileEngine::owner(QAbstractFileEngine::FileOwner a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_owner);

    if (!sipMeth)
        return QFSFileEngine::owner(a0);

    extern QString sipVH_QtCore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractFileEngine::FileOwner);

    return sipVH_QtCore_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

uint sipQFSFileEngine::ownerId(QAbstractFileEngine::FileOwner a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_ownerId);

    if (!sipMeth)
        return QFSFileEngine::ownerId(a0);

    extern uint sipVH_QtCore_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractFileEngine::FileOwner);

    return sipVH_QtCore_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QString sipQFSFileEngine::fileName(QAbstractFileEngine::FileName a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_fileName);

    if (!sipMeth)
        return QFSFileEngine::fileName(a0);

    extern QString sipVH_QtCore_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractFileEngine::FileName);

    return sipVH_QtCore_37(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQFSFileEngine::setPermissions(uint a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setPermissions);

    if (!sipMeth)
        return QFSFileEngine::setPermissions(a0);

    extern bool sipVH_QtCore_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, uint);

    return sipVH_QtCore_38(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QAbstractFileEngine::FileFlags sipQFSFileEngine::fileFlags(QAbstractFileEngine::FileFlags a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_fileFlags);

    if (!sipMeth)
        return QFSFileEngine::fileFlags(a0);

    extern QAbstractFileEngine::FileFlags sipVH_QtCore_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractFileEngine::FileFlags);

    return sipVH_QtCore_39(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QStringList sipQFSFileEngine::entryList(QDir::Filters a0,const QStringList& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_entryList);

    if (!sipMeth)
        return QFSFileEngine::entryList(a0,a1);

    extern QStringList sipVH_QtCore_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDir::Filters,const QStringList&);

    return sipVH_QtCore_40(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipQFSFileEngine::isRelativePath() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_isRelativePath);

    if (!sipMeth)
        return QFSFileEngine::isRelativePath();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_7(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQFSFileEngine::caseSensitive() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_caseSensitive);

    if (!sipMeth)
        return QFSFileEngine::caseSensitive();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_7(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQFSFileEngine::setSize(qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_setSize);

    if (!sipMeth)
        return QFSFileEngine::setSize(a0);

    extern bool sipVH_QtCore_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, PY_LONG_LONG);

    return sipVH_QtCore_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQFSFileEngine::rmdir(const QString& a0,bool a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_rmdir);

    if (!sipMeth)
        return QFSFileEngine::rmdir(a0,a1);

    extern bool sipVH_QtCore_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,bool);

    return sipVH_QtCore_41(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipQFSFileEngine::mkdir(const QString& a0,bool a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_mkdir);

    if (!sipMeth)
        return QFSFileEngine::mkdir(a0,a1);

    extern bool sipVH_QtCore_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,bool);

    return sipVH_QtCore_41(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipQFSFileEngine::link(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_link);

    if (!sipMeth)
        return QFSFileEngine::link(a0);

    extern bool sipVH_QtCore_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return sipVH_QtCore_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQFSFileEngine::rename(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_rename);

    if (!sipMeth)
        return QFSFileEngine::rename(a0);

    extern bool sipVH_QtCore_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return sipVH_QtCore_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQFSFileEngine::copy(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_copy);

    if (!sipMeth)
        return QFSFileEngine::copy(a0);

    extern bool sipVH_QtCore_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return sipVH_QtCore_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQFSFileEngine::remove()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_remove);

    if (!sipMeth)
        return QFSFileEngine::remove();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_7(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQFSFileEngine::isSequential() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_isSequential);

    if (!sipMeth)
        return QFSFileEngine::isSequential();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_7(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQFSFileEngine::seek(qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_seek);

    if (!sipMeth)
        return QFSFileEngine::seek(a0);

    extern bool sipVH_QtCore_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, PY_LONG_LONG);

    return sipVH_QtCore_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

qint64 sipQFSFileEngine::pos() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_pos);

    if (!sipMeth)
        return QFSFileEngine::pos();

    extern PY_LONG_LONG sipVH_QtCore_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_22(sipGILState, 0, sipPySelf, sipMeth);
}

qint64 sipQFSFileEngine::size() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_size);

    if (!sipMeth)
        return QFSFileEngine::size();

    extern PY_LONG_LONG sipVH_QtCore_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_22(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQFSFileEngine::flush()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_flush);

    if (!sipMeth)
        return QFSFileEngine::flush();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_7(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQFSFileEngine::close()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_close);

    if (!sipMeth)
        return QFSFileEngine::close();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_7(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQFSFileEngine::open(QIODevice::OpenMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
        return QFSFileEngine::open(a0);

    extern bool sipVH_QtCore_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QIODevice::OpenMode);

    return sipVH_QtCore_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQFSFileEngine::sipProtect_setError(QFile::FileError a0,const QString& a1)
{
    QAbstractFileEngine::setError(a0,a1);
}


PyDoc_STRVAR(doc_QFSFileEngine_setError, "QFSFileEngine.setError(QFile.FileError, str)");

extern "C" {static PyObject *meth_QFSFileEngine_setError(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_setError(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QFile::FileError a0;
        const QString* a1;
        int a1State = 0;
        sipQFSFileEngine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QFSFileEngine, &sipCpp, sipType_QFile_FileError, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setError(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFSFileEngine, sipName_setError, doc_QFSFileEngine_setError);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_open, "QFSFileEngine.open(QIODevice.OpenMode) -> bool\n"
    "QFSFileEngine.open(QIODevice.OpenMode, int, QFile.FileHandleFlags) -> bool\n"
    "QFSFileEngine.open(QIODevice.OpenMode, int) -> bool");

extern "C" {static PyObject *meth_QFSFileEngine_open(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_open(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QIODevice::OpenMode* a0;
        int a0State = 0;
        QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFSFileEngine, &sipCpp, sipType_QIODevice_OpenMode, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QFSFileEngine::open(*a0) : sipCpp->open(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        QIODevice::OpenMode* a0;
        int a0State = 0;
        int a1;
        QFile::FileHandleFlags* a2;
        int a2State = 0;
        QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1iJ1", &sipSelf, sipType_QFSFileEngine, &sipCpp, sipType_QIODevice_OpenMode, &a0, &a0State, &a1, sipType_QFile_FileHandleFlags, &a2, &a2State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->open(*a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);
            sipReleaseType(a2,sipType_QFile_FileHandleFlags,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        QIODevice::OpenMode* a0;
        int a0State = 0;
        int a1;
        QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1i", &sipSelf, sipType_QFSFileEngine, &sipCpp, sipType_QIODevice_OpenMode, &a0, &a0State, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->open(*a0,a1);
            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_QFSFileEngine, sipName_open, doc_QFSFileEngine_open);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_close, "QFSFileEngine.close() -> bool");

extern "C" {static PyObject *meth_QFSFileEngine_close(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_close(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFSFileEngine, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QFSFileEngine::close() : sipCpp->close());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFSFileEngine, sipName_close, doc_QFSFileEngine_close);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_flush, "QFSFileEngine.flush() -> bool");

extern "C" {static PyObject *meth_QFSFileEngine_flush(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_flush(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFSFileEngine, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QFSFileEngine::flush() : sipCpp->flush());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFSFileEngine, sipName_flush, doc_QFSFileEngine_flush);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_size, "QFSFileEngine.size() -> int");

extern "C" {static PyObject *meth_QFSFileEngine_size(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_size(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFSFileEngine, &sipCpp))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QFSFileEngine::size() : sipCpp->size());
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFSFileEngine, sipName_size, doc_QFSFileEngine_size);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_pos, "QFSFileEngine.pos() -> int");

extern "C" {static PyObject *meth_QFSFileEngine_pos(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_pos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFSFileEngine, &sipCpp))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QFSFileEngine::pos() : sipCpp->pos());
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFSFileEngine, sipName_pos, doc_QFSFileEngine_pos);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_seek, "QFSFileEngine.seek(int) -> bool");

extern "C" {static PyObject *meth_QFSFileEngine_seek(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_seek(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qint64 a0;
        QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QFSFileEngine, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QFSFileEngine::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_QFSFileEngine, sipName_seek, doc_QFSFileEngine_seek);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_isSequential, "QFSFileEngine.isSequential() -> bool");

extern "C" {static PyObject *meth_QFSFileEngine_isSequential(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_isSequential(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFSFileEngine, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QFSFileEngine::isSequential() : sipCpp->isSequential());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFSFileEngine, sipName_isSequential, doc_QFSFileEngine_isSequential);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_remove, "QFSFileEngine.remove() -> bool");

extern "C" {static PyObject *meth_QFSFileEngine_remove(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_remove(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFSFileEngine, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QFSFileEngine::remove() : sipCpp->remove());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFSFileEngine, sipName_remove, doc_QFSFileEngine_remove);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_copy, "QFSFileEngine.copy(str) -> bool");

extern "C" {static PyObject *meth_QFSFileEngine_copy(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_copy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFSFileEngine, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QFSFileEngine::copy(*a0) : sipCpp->copy(*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_QFSFileEngine, sipName_copy, doc_QFSFileEngine_copy);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_rename, "QFSFileEngine.rename(str) -> bool");

extern "C" {static PyObject *meth_QFSFileEngine_rename(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_rename(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFSFileEngine, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QFSFileEngine::rename(*a0) : sipCpp->rename(*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_QFSFileEngine, sipName_rename, doc_QFSFileEngine_rename);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_link, "QFSFileEngine.link(str) -> bool");

extern "C" {static PyObject *meth_QFSFileEngine_link(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_link(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFSFileEngine, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QFSFileEngine::link(*a0) : sipCpp->link(*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_QFSFileEngine, sipName_link, doc_QFSFileEngine_link);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_mkdir, "QFSFileEngine.mkdir(str, bool) -> bool");

extern "C" {static PyObject *meth_QFSFileEngine_mkdir(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_mkdir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        bool a1;
        const QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1b", &sipSelf, sipType_QFSFileEngine, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QFSFileEngine::mkdir(*a0,a1) : sipCpp->mkdir(*a0,a1));
            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_QFSFileEngine, sipName_mkdir, doc_QFSFileEngine_mkdir);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_rmdir, "QFSFileEngine.rmdir(str, bool) -> bool");

extern "C" {static PyObject *meth_QFSFileEngine_rmdir(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_rmdir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        bool a1;
        const QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1b", &sipSelf, sipType_QFSFileEngine, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QFSFileEngine::rmdir(*a0,a1) : sipCpp->rmdir(*a0,a1));
            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_QFSFileEngine, sipName_rmdir, doc_QFSFileEngine_rmdir);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_setSize, "QFSFileEngine.setSize(int) -> bool");

extern "C" {static PyObject *meth_QFSFileEngine_setSize(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_setSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qint64 a0;
        QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QFSFileEngine, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QFSFileEngine::setSize(a0) : sipCpp->setSize(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFSFileEngine, sipName_setSize, doc_QFSFileEngine_setSize);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_caseSensitive, "QFSFileEngine.caseSensitive() -> bool");

extern "C" {static PyObject *meth_QFSFileEngine_caseSensitive(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_caseSensitive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFSFileEngine, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QFSFileEngine::caseSensitive() : sipCpp->caseSensitive());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFSFileEngine, sipName_caseSensitive, doc_QFSFileEngine_caseSensitive);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_isRelativePath, "QFSFileEngine.isRelativePath() -> bool");

extern "C" {static PyObject *meth_QFSFileEngine_isRelativePath(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_isRelativePath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFSFileEngine, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QFSFileEngine::isRelativePath() : sipCpp->isRelativePath());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFSFileEngine, sipName_isRelativePath, doc_QFSFileEngine_isRelativePath);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_entryList, "QFSFileEngine.entryList(QDir.Filters, list-of-str) -> list-of-str");

extern "C" {static PyObject *meth_QFSFileEngine_entryList(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_entryList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDir::Filters* a0;
        int a0State = 0;
        const QStringList* a1;
        int a1State = 0;
        const QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QFSFileEngine, &sipCpp, sipType_QDir_Filters, &a0, &a0State, sipType_QStringList,&a1, &a1State))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList((sipSelfWasArg ? sipCpp->QFSFileEngine::entryList(*a0,*a1) : sipCpp->entryList(*a0,*a1)));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QDir_Filters,a0State);
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFSFileEngine, sipName_entryList, doc_QFSFileEngine_entryList);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_fileFlags, "QFSFileEngine.fileFlags(QAbstractFileEngine.FileFlags) -> QAbstractFileEngine.FileFlags");

extern "C" {static PyObject *meth_QFSFileEngine_fileFlags(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_fileFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractFileEngine::FileFlags* a0;
        int a0State = 0;
        const QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFSFileEngine, &sipCpp, sipType_QAbstractFileEngine_FileFlags, &a0, &a0State))
        {
            QAbstractFileEngine::FileFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QAbstractFileEngine::FileFlags((sipSelfWasArg ? sipCpp->QFSFileEngine::fileFlags(*a0) : sipCpp->fileFlags(*a0)));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QAbstractFileEngine_FileFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QAbstractFileEngine_FileFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFSFileEngine, sipName_fileFlags, doc_QFSFileEngine_fileFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_setPermissions, "QFSFileEngine.setPermissions(int) -> bool");

extern "C" {static PyObject *meth_QFSFileEngine_setPermissions(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_setPermissions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        uint a0;
        QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bu", &sipSelf, sipType_QFSFileEngine, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QFSFileEngine::setPermissions(a0) : sipCpp->setPermissions(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFSFileEngine, sipName_setPermissions, doc_QFSFileEngine_setPermissions);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_fileName, "QFSFileEngine.fileName(QAbstractFileEngine.FileName) -> str");

extern "C" {static PyObject *meth_QFSFileEngine_fileName(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_fileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractFileEngine::FileName a0;
        const QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QFSFileEngine, &sipCpp, sipType_QAbstractFileEngine_FileName, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->QFSFileEngine::fileName(a0) : sipCpp->fileName(a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFSFileEngine, sipName_fileName, doc_QFSFileEngine_fileName);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_ownerId, "QFSFileEngine.ownerId(QAbstractFileEngine.FileOwner) -> int");

extern "C" {static PyObject *meth_QFSFileEngine_ownerId(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_ownerId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractFileEngine::FileOwner a0;
        const QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QFSFileEngine, &sipCpp, sipType_QAbstractFileEngine_FileOwner, &a0))
        {
            uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QFSFileEngine::ownerId(a0) : sipCpp->ownerId(a0));
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFSFileEngine, sipName_ownerId, doc_QFSFileEngine_ownerId);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_owner, "QFSFileEngine.owner(QAbstractFileEngine.FileOwner) -> str");

extern "C" {static PyObject *meth_QFSFileEngine_owner(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_owner(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractFileEngine::FileOwner a0;
        const QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QFSFileEngine, &sipCpp, sipType_QAbstractFileEngine_FileOwner, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->QFSFileEngine::owner(a0) : sipCpp->owner(a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFSFileEngine, sipName_owner, doc_QFSFileEngine_owner);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_fileTime, "QFSFileEngine.fileTime(QAbstractFileEngine.FileTime) -> QDateTime");

extern "C" {static PyObject *meth_QFSFileEngine_fileTime(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_fileTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractFileEngine::FileTime a0;
        const QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QFSFileEngine, &sipCpp, sipType_QAbstractFileEngine_FileTime, &a0))
        {
            QDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTime((sipSelfWasArg ? sipCpp->QFSFileEngine::fileTime(a0) : sipCpp->fileTime(a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFSFileEngine, sipName_fileTime, doc_QFSFileEngine_fileTime);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_setFileName, "QFSFileEngine.setFileName(str)");

extern "C" {static PyObject *meth_QFSFileEngine_setFileName(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_setFileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFSFileEngine, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QFSFileEngine::setFileName(*a0) : sipCpp->setFileName(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFSFileEngine, sipName_setFileName, doc_QFSFileEngine_setFileName);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_handle, "QFSFileEngine.handle() -> int");

extern "C" {static PyObject *meth_QFSFileEngine_handle(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_handle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFSFileEngine, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QFSFileEngine::handle() : sipCpp->handle());
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFSFileEngine, sipName_handle, doc_QFSFileEngine_handle);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_read, "QFSFileEngine.read(int) -> bytes");

extern "C" {static PyObject *meth_QFSFileEngine_read(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_read(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qint64 a0;
        QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QFSFileEngine, &sipCpp, &a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 65 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfsfileengine.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 = sipSelfWasArg ? sipCpp->QFSFileEngine::read(s, a0)
                                : 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 102453 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFSFileEngine, sipName_read, doc_QFSFileEngine_read);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_readLine, "QFSFileEngine.readLine(int) -> bytes");

extern "C" {static PyObject *meth_QFSFileEngine_readLine(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_readLine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qint64 a0;
        QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QFSFileEngine, &sipCpp, &a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 100 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfsfileengine.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 = sipSelfWasArg ? sipCpp->QFSFileEngine::readLine(s, a0)
                                : 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 102518 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFSFileEngine, sipName_readLine, doc_QFSFileEngine_readLine);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_write, "QFSFileEngine.write(str) -> int");

extern "C" {static PyObject *meth_QFSFileEngine_write(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_write(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const char* a0;
        SIP_SSIZE_T a1;
        QFSFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bk", &sipSelf, sipType_QFSFileEngine, &sipCpp, &a0, &a1))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QFSFileEngine::write(a0,(PY_LONG_LONG)a1) : sipCpp->write(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_QFSFileEngine, sipName_write, doc_QFSFileEngine_write);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_setCurrentPath, "QFSFileEngine.setCurrentPath(str) -> bool");

extern "C" {static PyObject *meth_QFSFileEngine_setCurrentPath(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_setCurrentPath(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QFSFileEngine::setCurrentPath(*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_QFSFileEngine, sipName_setCurrentPath, doc_QFSFileEngine_setCurrentPath);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_currentPath, "QFSFileEngine.currentPath(str fileName='') -> str");

extern "C" {static PyObject *meth_QFSFileEngine_currentPath(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_currentPath(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QString& a0def = QString();
        const QString* a0 = &a0def;
        int a0State = 0;

        static const char *sipKwdList[] = {
            sipName_fileName,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "|J1", sipType_QString,&a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QFSFileEngine::currentPath(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFSFileEngine, sipName_currentPath, doc_QFSFileEngine_currentPath);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_homePath, "QFSFileEngine.homePath() -> str");

extern "C" {static PyObject *meth_QFSFileEngine_homePath(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_homePath(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QFSFileEngine::homePath());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFSFileEngine, sipName_homePath, doc_QFSFileEngine_homePath);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_rootPath, "QFSFileEngine.rootPath() -> str");

extern "C" {static PyObject *meth_QFSFileEngine_rootPath(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_rootPath(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QFSFileEngine::rootPath());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFSFileEngine, sipName_rootPath, doc_QFSFileEngine_rootPath);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_tempPath, "QFSFileEngine.tempPath() -> str");

extern "C" {static PyObject *meth_QFSFileEngine_tempPath(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_tempPath(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QFSFileEngine::tempPath());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFSFileEngine, sipName_tempPath, doc_QFSFileEngine_tempPath);

    return NULL;
}


PyDoc_STRVAR(doc_QFSFileEngine_drives, "QFSFileEngine.drives() -> list-of-QFileInfo");

extern "C" {static PyObject *meth_QFSFileEngine_drives(PyObject *, PyObject *);}
static PyObject *meth_QFSFileEngine_drives(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QFileInfoList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFileInfoList(QFSFileEngine::drives());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100QFileInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFSFileEngine, sipName_drives, doc_QFSFileEngine_drives);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QFSFileEngine(void *, const sipTypeDef *);}
static void *cast_QFSFileEngine(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QFSFileEngine)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractFileEngine)->ctd_cast((QAbstractFileEngine *)(QFSFileEngine *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QFSFileEngine(void *, int);}
static void release_QFSFileEngine(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQFSFileEngine *>(sipCppV);
    else
        delete reinterpret_cast<QFSFileEngine *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QFSFileEngine(sipSimpleWrapper *);}
static void dealloc_QFSFileEngine(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQFSFileEngine *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QFSFileEngine(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QFSFileEngine(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QFSFileEngine(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQFSFileEngine *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQFSFileEngine();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQFSFileEngine(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QFSFileEngine[] = {{5, 255, 1}};


static PyMethodDef methods_QFSFileEngine[] = {
    {SIP_MLNAME_CAST(sipName_caseSensitive), meth_QFSFileEngine_caseSensitive, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_caseSensitive)},
    {SIP_MLNAME_CAST(sipName_close), meth_QFSFileEngine_close, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_close)},
    {SIP_MLNAME_CAST(sipName_copy), meth_QFSFileEngine_copy, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_copy)},
    {SIP_MLNAME_CAST(sipName_currentPath), (PyCFunction)meth_QFSFileEngine_currentPath, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFSFileEngine_currentPath)},
    {SIP_MLNAME_CAST(sipName_drives), meth_QFSFileEngine_drives, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_drives)},
    {SIP_MLNAME_CAST(sipName_entryList), meth_QFSFileEngine_entryList, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_entryList)},
    {SIP_MLNAME_CAST(sipName_fileFlags), meth_QFSFileEngine_fileFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_fileFlags)},
    {SIP_MLNAME_CAST(sipName_fileName), meth_QFSFileEngine_fileName, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_fileName)},
    {SIP_MLNAME_CAST(sipName_fileTime), meth_QFSFileEngine_fileTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_fileTime)},
    {SIP_MLNAME_CAST(sipName_flush), meth_QFSFileEngine_flush, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_flush)},
    {SIP_MLNAME_CAST(sipName_handle), meth_QFSFileEngine_handle, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_handle)},
    {SIP_MLNAME_CAST(sipName_homePath), meth_QFSFileEngine_homePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_homePath)},
    {SIP_MLNAME_CAST(sipName_isRelativePath), meth_QFSFileEngine_isRelativePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_isRelativePath)},
    {SIP_MLNAME_CAST(sipName_isSequential), meth_QFSFileEngine_isSequential, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_isSequential)},
    {SIP_MLNAME_CAST(sipName_link), meth_QFSFileEngine_link, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_link)},
    {SIP_MLNAME_CAST(sipName_mkdir), meth_QFSFileEngine_mkdir, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_mkdir)},
    {SIP_MLNAME_CAST(sipName_open), meth_QFSFileEngine_open, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_open)},
    {SIP_MLNAME_CAST(sipName_owner), meth_QFSFileEngine_owner, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_owner)},
    {SIP_MLNAME_CAST(sipName_ownerId), meth_QFSFileEngine_ownerId, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_ownerId)},
    {SIP_MLNAME_CAST(sipName_pos), meth_QFSFileEngine_pos, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_pos)},
    {SIP_MLNAME_CAST(sipName_read), meth_QFSFileEngine_read, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_read)},
    {SIP_MLNAME_CAST(sipName_readLine), meth_QFSFileEngine_readLine, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_readLine)},
    {SIP_MLNAME_CAST(sipName_remove), meth_QFSFileEngine_remove, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_remove)},
    {SIP_MLNAME_CAST(sipName_rename), meth_QFSFileEngine_rename, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_rename)},
    {SIP_MLNAME_CAST(sipName_rmdir), meth_QFSFileEngine_rmdir, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_rmdir)},
    {SIP_MLNAME_CAST(sipName_rootPath), meth_QFSFileEngine_rootPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_rootPath)},
    {SIP_MLNAME_CAST(sipName_seek), meth_QFSFileEngine_seek, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_seek)},
    {SIP_MLNAME_CAST(sipName_setCurrentPath), meth_QFSFileEngine_setCurrentPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_setCurrentPath)},
    {SIP_MLNAME_CAST(sipName_setError), (PyCFunction)meth_QFSFileEngine_setError, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setFileName), meth_QFSFileEngine_setFileName, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_setFileName)},
    {SIP_MLNAME_CAST(sipName_setPermissions), meth_QFSFileEngine_setPermissions, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_setPermissions)},
    {SIP_MLNAME_CAST(sipName_setSize), meth_QFSFileEngine_setSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_setSize)},
    {SIP_MLNAME_CAST(sipName_size), meth_QFSFileEngine_size, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_size)},
    {SIP_MLNAME_CAST(sipName_tempPath), meth_QFSFileEngine_tempPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_tempPath)},
    {SIP_MLNAME_CAST(sipName_write), meth_QFSFileEngine_write, METH_VARARGS, SIP_MLDOC_CAST(doc_QFSFileEngine_write)}
};

PyDoc_STRVAR(doc_QFSFileEngine, "\1QFSFileEngine()\n"
    "QFSFileEngine(str)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QFSFileEngine = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QFSFileEngine,
        {0}
    },
    {
        sipNameNr_QFSFileEngine,
        {0, 0, 1},
        35, methods_QFSFileEngine,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFSFileEngine,
    -1,
    -1,
    supers_QFSFileEngine,
    0,
    init_type_QFSFileEngine,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QFSFileEngine,
    0,
    0,
    0,
    release_QFSFileEngine,
    cast_QFSFileEngine,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfinalstate.sip"
#include <qfinalstate.h>
#line 102926 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstate.sip"
#include <qstate.h>
#line 102930 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 102933 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 102936 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 102939 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 102942 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 102945 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 102948 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 102951 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 102954 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 102957 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 102960 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 102963 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 102966 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 102969 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 102972 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() 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 char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QFinalState, _clname)) ? this : QFinalState::qt_metacast(_clname);
}

void sipQFinalState::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQFinalState::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQFinalState::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQFinalState::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 103305 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQFinalState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QFinalState, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 103350 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QFinalState, sipName_customEvent, doc_QFinalState_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFinalState_connectNotify, "QFinalState.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQFinalState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QFinalState, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QFinalState, sipName_connectNotify, doc_QFinalState_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QFinalState_disconnectNotify, "QFinalState.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQFinalState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QFinalState, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_onEntry(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_onExit(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQFinalState(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QFinalState[] = {{15, 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_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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QFinalState = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QFinalState,
        {0}
    },
    {
        sipNameNr_QFinalState,
        {0, 0, 1},
        11, 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
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfilesystemwatcher.sip"
#include <qfilesystemwatcher.h>
#line 103784 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 103788 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 103791 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 103794 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 103797 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 103800 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 103803 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 103806 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 103809 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 103812 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 103815 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 103818 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 103821 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 103824 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 103827 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QFileSystemWatcher, _clname)) ? this : QFileSystemWatcher::qt_metacast(_clname);
}

void sipQFileSystemWatcher::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQFileSystemWatcher::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQFileSystemWatcher::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQFileSystemWatcher::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}


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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 104110 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQFileSystemWatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QFileSystemWatcher, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 104155 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QFileSystemWatcher, sipName_customEvent, doc_QFileSystemWatcher_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemWatcher_connectNotify, "QFileSystemWatcher.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQFileSystemWatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QFileSystemWatcher, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QFileSystemWatcher, sipName_connectNotify, doc_QFileSystemWatcher_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemWatcher_disconnectNotify, "QFileSystemWatcher.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQFileSystemWatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QFileSystemWatcher, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_addPath, "QFileSystemWatcher.addPath(str)");

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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addPath(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemWatcher, sipName_addPath, doc_QFileSystemWatcher_addPath);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemWatcher_addPaths, "QFileSystemWatcher.addPaths(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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addPaths(*a0);
            Py_END_ALLOW_THREADS
            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->directories());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->files());
            Py_END_ALLOW_THREADS

            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)");

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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removePath(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemWatcher, sipName_removePath, doc_QFileSystemWatcher_removePath);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemWatcher_removePaths, "QFileSystemWatcher.removePaths(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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removePaths(*a0);
            Py_END_ALLOW_THREADS
            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_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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQFileSystemWatcher(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQFileSystemWatcher(*a0,a1);
            Py_END_ALLOW_THREADS
            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[] = {{141, 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_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 pyqt4QtSignal 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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QFileSystemWatcher = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QFileSystemWatcher,
        {0}
    },
    {
        sipNameNr_QFileSystemWatcher,
        {0, 0, 1},
        14, 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,
};

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 104715 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 104719 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 79 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfile.sip"
#include <qfile.h>
#line 104722 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 104725 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 401 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 104728 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 79 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfile.sip"
#include <qfile.h>
#line 104731 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFile(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFile(*a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFile(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_setFile, doc_QFileInfo_setFile);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_exists, "QFileInfo.exists() -> 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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->exists();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->refresh();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->filePath());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->absoluteFilePath());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->canonicalFilePath());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->fileName());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->baseName());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->completeBaseName());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->suffix());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->completeSuffix());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->path());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->absolutePath());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->canonicalPath());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDir(sipCpp->dir());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDir(sipCpp->absoluteDir());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isReadable();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isWritable();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isExecutable();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isHidden();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isRelative();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isAbsolute();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->makeAbsolute();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isFile();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDir();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isSymLink();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isRoot();
            Py_END_ALLOW_THREADS

            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_readLink, "QFileInfo.readLink() -> str");

extern "C" {static PyObject *meth_QFileInfo_readLink(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_readLink(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->readLink());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_readLink, doc_QFileInfo_readLink);

    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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->owner());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->ownerId();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->group());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->groupId();
            Py_END_ALLOW_THREADS

            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(QFile.Permissions) -> bool");

extern "C" {static PyObject *meth_QFileInfo_permission(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_permission(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QFile::Permissions* a0;
        int a0State = 0;
        const QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileInfo, &sipCpp, sipType_QFile_Permissions, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->permission(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QFile_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() -> QFile.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))
        {
            QFile::Permissions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFile::Permissions(sipCpp->permissions());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QFile_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->size();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTime(sipCpp->created());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTime(sipCpp->lastModified());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTime(sipCpp->lastRead());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->caching();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCaching(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->symLinkTarget());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->bundleName());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isBundle();
            Py_END_ALLOW_THREADS

            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;
}


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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QFileInfo::operator!=(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QFileInfo::operator==(*a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QFileInfo *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QFileInfo();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QFileInfo(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
        const QFile* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QFile, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QFileInfo(*a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QFileInfo(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipCpp;
        }
    }

    {
        const QFileInfo* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QFileInfo, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QFileInfo(*a0);
            Py_END_ALLOW_THREADS

            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_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_readLink), meth_QFileInfo_readLink, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_readLink)},
    {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_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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QFileInfo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QFileInfo,
        {0}
    },
    {
        sipNameNr_QFileInfo,
        {0, 0, 1},
        43, methods_QFileInfo,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFileInfo,
    sipNameNr_PyQt4_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
};

#line 79 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfile.sip"
#include <qfile.h>
#line 106336 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 79 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfile.sip"
#include <qfile.h>
#line 106340 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


extern "C" {static int slot_QFile_FileHandleFlags___bool__(PyObject *);}
static int slot_QFile_FileHandleFlags___bool__(PyObject *sipSelf)
{
    QFile::FileHandleFlags *sipCpp = reinterpret_cast<QFile::FileHandleFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFile_FileHandleFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QFile::FileHandleFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 106362 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QFile_FileHandleFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_QFile_FileHandleFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QFile::FileHandleFlags *sipCpp = reinterpret_cast<QFile::FileHandleFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFile_FileHandleFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QFile::FileHandleFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFile_FileHandleFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QFile::FileHandleFlags::Int() != a0->operator QFile::FileHandleFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 106396 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast<QFile::FileHandleFlags *>(a0),sipType_QFile_FileHandleFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,ne_slot,sipType_QFile_FileHandleFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QFile_FileHandleFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_QFile_FileHandleFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QFile::FileHandleFlags *sipCpp = reinterpret_cast<QFile::FileHandleFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFile_FileHandleFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QFile::FileHandleFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFile_FileHandleFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QFile::FileHandleFlags::Int() == a0->operator QFile::FileHandleFlags::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 106436 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast<QFile::FileHandleFlags *>(a0),sipType_QFile_FileHandleFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,eq_slot,sipType_QFile_FileHandleFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QFile_FileHandleFlags___invert__(PyObject *);}
static PyObject *slot_QFile_FileHandleFlags___invert__(PyObject *sipSelf)
{
    QFile::FileHandleFlags *sipCpp = reinterpret_cast<QFile::FileHandleFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFile_FileHandleFlags));

    if (!sipCpp)
        return 0;


    {
        {
            QFile::FileHandleFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFile::FileHandleFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QFile_FileHandleFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QFile_FileHandleFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_QFile_FileHandleFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QFile::FileHandleFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFile_FileHandleFlags, &a0, &a0State, &a1))
        {
            QFile::FileHandleFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFile::FileHandleFlags((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QFile_FileHandleFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QFile_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_QFile_FileHandleFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_QFile_FileHandleFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QFile::FileHandleFlags* a0;
        int a0State = 0;
        QFile::FileHandleFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QFile_FileHandleFlags, &a0, &a0State, sipType_QFile_FileHandleFlags, &a1, &a1State))
        {
            QFile::FileHandleFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFile::FileHandleFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QFile_FileHandleFlags,a0State);
            sipReleaseType(a1,sipType_QFile_FileHandleFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QFile_FileHandleFlags,NULL);
        }
    }

    {
        QFile::FileHandleFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFile_FileHandleFlags, &a0, &a0State, &a1))
        {
            QFile::FileHandleFlags*sipRes = 0;

#line 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QFile::FileHandleFlags(*a0 ^ a1);
#line 106545 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(a0,sipType_QFile_FileHandleFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QFile_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_QFile_FileHandleFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_QFile_FileHandleFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QFile::FileHandleFlags* a0;
        int a0State = 0;
        QFile::FileHandleFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QFile_FileHandleFlags, &a0, &a0State, sipType_QFile_FileHandleFlags, &a1, &a1State))
        {
            QFile::FileHandleFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFile::FileHandleFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QFile_FileHandleFlags,a0State);
            sipReleaseType(a1,sipType_QFile_FileHandleFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QFile_FileHandleFlags,NULL);
        }
    }

    {
        QFile::FileHandleFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFile_FileHandleFlags, &a0, &a0State, &a1))
        {
            QFile::FileHandleFlags*sipRes = 0;

#line 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QFile::FileHandleFlags(*a0 | a1);
#line 106597 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(a0,sipType_QFile_FileHandleFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QFile_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_QFile_FileHandleFlags___int__(PyObject *);}
static PyObject *slot_QFile_FileHandleFlags___int__(PyObject *sipSelf)
{
    QFile::FileHandleFlags *sipCpp = reinterpret_cast<QFile::FileHandleFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFile_FileHandleFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QFile_FileHandleFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QFile_FileHandleFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QFile_FileHandleFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QFile::FileHandleFlags *sipCpp = reinterpret_cast<QFile::FileHandleFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFile_FileHandleFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QFile::FileHandleFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFile_FileHandleFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QFile::FileHandleFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QFile_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_QFile_FileHandleFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_QFile_FileHandleFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QFile_FileHandleFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QFile::FileHandleFlags *sipCpp = reinterpret_cast<QFile::FileHandleFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFile_FileHandleFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QFile::FileHandleFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFile_FileHandleFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QFile::FileHandleFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QFile_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_QFile_FileHandleFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_QFile_FileHandleFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QFile_FileHandleFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QFile::FileHandleFlags *sipCpp = reinterpret_cast<QFile::FileHandleFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFile_FileHandleFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QFile::FileHandleFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            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_QFile_FileHandleFlags(void *, const sipTypeDef *);}
static void *cast_QFile_FileHandleFlags(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QFile_FileHandleFlags)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QFile_FileHandleFlags(void *, int);}
static void release_QFile_FileHandleFlags(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QFile::FileHandleFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QFile_FileHandleFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_QFile_FileHandleFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QFile::FileHandleFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QFile::FileHandleFlags *>(sipSrc);
}


extern "C" {static void *array_QFile_FileHandleFlags(SIP_SSIZE_T);}
static void *array_QFile_FileHandleFlags(SIP_SSIZE_T sipNrElem)
{
    return new QFile::FileHandleFlags[sipNrElem];
}


extern "C" {static void *copy_QFile_FileHandleFlags(const void *, SIP_SSIZE_T);}
static void *copy_QFile_FileHandleFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QFile::FileHandleFlags(reinterpret_cast<const QFile::FileHandleFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QFile_FileHandleFlags(sipSimpleWrapper *);}
static void dealloc_QFile_FileHandleFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QFile_FileHandleFlags(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QFile_FileHandleFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QFile_FileHandleFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QFile::FileHandleFlags *sipCpp = 0;

    {
        const QFile::FileHandleFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QFile_FileHandleFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QFile::FileHandleFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QFile::FileHandleFlags *>(a0),sipType_QFile_FileHandleFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QFile::FileHandleFlags(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QFile::FileHandleFlags();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QFile_FileHandleFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_QFile_FileHandleFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QFile::FileHandleFlags **sipCppPtr = reinterpret_cast<QFile::FileHandleFlags **>(sipCppPtrV);

#line 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QFile::FileHandleFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QFile_FileHandleFlag)) ||
            sipCanConvertToType(sipPy, sipType_QFile_FileHandleFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QFile_FileHandleFlag)))
{
    *sipCppPtr = new QFile::FileHandleFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QFile::FileHandleFlags *>(sipConvertToType(sipPy, sipType_QFile_FileHandleFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 106892 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QFile_FileHandleFlags[] = {
    {(void *)slot_QFile_FileHandleFlags___bool__, bool_slot},
    {(void *)slot_QFile_FileHandleFlags___ne__, ne_slot},
    {(void *)slot_QFile_FileHandleFlags___eq__, eq_slot},
    {(void *)slot_QFile_FileHandleFlags___invert__, invert_slot},
    {(void *)slot_QFile_FileHandleFlags___and__, and_slot},
    {(void *)slot_QFile_FileHandleFlags___xor__, xor_slot},
    {(void *)slot_QFile_FileHandleFlags___or__, or_slot},
    {(void *)slot_QFile_FileHandleFlags___int__, int_slot},
    {(void *)slot_QFile_FileHandleFlags___ixor__, ixor_slot},
    {(void *)slot_QFile_FileHandleFlags___ior__, ior_slot},
    {(void *)slot_QFile_FileHandleFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QFile_FileHandleFlags, "\1QFile.FileHandleFlags(QFile.FileHandleFlags)\n"
    "QFile.FileHandleFlags(int)\n"
    "QFile.FileHandleFlags()");


pyqt4ClassTypeDef sipTypeDef_QtCore_QFile_FileHandleFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QFile__FileHandleFlags,
        {0}
    },
    {
        sipNameNr_FileHandleFlags,
        {65, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFile_FileHandleFlags,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QFile_FileHandleFlags,
    init_type_QFile_FileHandleFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QFile_FileHandleFlags,
    assign_QFile_FileHandleFlags,
    array_QFile_FileHandleFlags,
    copy_QFile_FileHandleFlags,
    release_QFile_FileHandleFlags,
    cast_QFile_FileHandleFlags,
    convertTo_QFile_FileHandleFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 79 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfile.sip"
#include <qfile.h>
#line 106973 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 79 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfile.sip"
#include <qfile.h>
#line 106977 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


extern "C" {static int slot_QFile_Permissions___bool__(PyObject *);}
static int slot_QFile_Permissions___bool__(PyObject *sipSelf)
{
    QFile::Permissions *sipCpp = reinterpret_cast<QFile::Permissions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFile_Permissions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QFile::Permissions::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 106999 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QFile_Permissions___ne__(PyObject *,PyObject *);}
static PyObject *slot_QFile_Permissions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QFile::Permissions *sipCpp = reinterpret_cast<QFile::Permissions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFile_Permissions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QFile::Permissions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFile_Permissions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QFile::Permissions::Int() != a0->operator QFile::Permissions::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 107033 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast<QFile::Permissions *>(a0),sipType_QFile_Permissions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,ne_slot,sipType_QFile_Permissions,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QFile_Permissions___eq__(PyObject *,PyObject *);}
static PyObject *slot_QFile_Permissions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QFile::Permissions *sipCpp = reinterpret_cast<QFile::Permissions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFile_Permissions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QFile::Permissions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFile_Permissions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QFile::Permissions::Int() == a0->operator QFile::Permissions::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 107073 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast<QFile::Permissions *>(a0),sipType_QFile_Permissions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,eq_slot,sipType_QFile_Permissions,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QFile_Permissions___invert__(PyObject *);}
static PyObject *slot_QFile_Permissions___invert__(PyObject *sipSelf)
{
    QFile::Permissions *sipCpp = reinterpret_cast<QFile::Permissions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFile_Permissions));

    if (!sipCpp)
        return 0;


    {
        {
            QFile::Permissions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFile::Permissions(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QFile_Permissions,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QFile_Permissions___and__(PyObject *,PyObject *);}
static PyObject *slot_QFile_Permissions___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QFile::Permissions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFile_Permissions, &a0, &a0State, &a1))
        {
            QFile::Permissions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFile::Permissions((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QFile_Permissions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QFile_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_QFile_Permissions___xor__(PyObject *,PyObject *);}
static PyObject *slot_QFile_Permissions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QFile::Permissions* a0;
        int a0State = 0;
        QFile::Permissions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QFile_Permissions, &a0, &a0State, sipType_QFile_Permissions, &a1, &a1State))
        {
            QFile::Permissions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFile::Permissions((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QFile_Permissions,a0State);
            sipReleaseType(a1,sipType_QFile_Permissions,a1State);

            return sipConvertFromNewType(sipRes,sipType_QFile_Permissions,NULL);
        }
    }

    {
        QFile::Permissions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFile_Permissions, &a0, &a0State, &a1))
        {
            QFile::Permissions*sipRes = 0;

#line 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QFile::Permissions(*a0 ^ a1);
#line 107182 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(a0,sipType_QFile_Permissions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QFile_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_QFile_Permissions___or__(PyObject *,PyObject *);}
static PyObject *slot_QFile_Permissions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QFile::Permissions* a0;
        int a0State = 0;
        QFile::Permissions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QFile_Permissions, &a0, &a0State, sipType_QFile_Permissions, &a1, &a1State))
        {
            QFile::Permissions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFile::Permissions((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QFile_Permissions,a0State);
            sipReleaseType(a1,sipType_QFile_Permissions,a1State);

            return sipConvertFromNewType(sipRes,sipType_QFile_Permissions,NULL);
        }
    }

    {
        QFile::Permissions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFile_Permissions, &a0, &a0State, &a1))
        {
            QFile::Permissions*sipRes = 0;

#line 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QFile::Permissions(*a0 | a1);
#line 107234 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(a0,sipType_QFile_Permissions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QFile_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_QFile_Permissions___int__(PyObject *);}
static PyObject *slot_QFile_Permissions___int__(PyObject *sipSelf)
{
    QFile::Permissions *sipCpp = reinterpret_cast<QFile::Permissions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFile_Permissions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QFile_Permissions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QFile_Permissions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QFile_Permissions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QFile::Permissions *sipCpp = reinterpret_cast<QFile::Permissions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFile_Permissions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QFile::Permissions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFile_Permissions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QFile::Permissions::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QFile_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_QFile_Permissions___ior__(PyObject *,PyObject *);}
static PyObject *slot_QFile_Permissions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QFile_Permissions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QFile::Permissions *sipCpp = reinterpret_cast<QFile::Permissions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFile_Permissions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QFile::Permissions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFile_Permissions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QFile::Permissions::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QFile_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_QFile_Permissions___iand__(PyObject *,PyObject *);}
static PyObject *slot_QFile_Permissions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QFile_Permissions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QFile::Permissions *sipCpp = reinterpret_cast<QFile::Permissions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFile_Permissions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QFile::Permissions::operator&=(a0);
            Py_END_ALLOW_THREADS

            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_QFile_Permissions(void *, const sipTypeDef *);}
static void *cast_QFile_Permissions(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QFile_Permissions)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QFile_Permissions(void *, int);}
static void release_QFile_Permissions(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QFile::Permissions *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QFile_Permissions(void *, SIP_SSIZE_T, const void *);}
static void assign_QFile_Permissions(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QFile::Permissions *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QFile::Permissions *>(sipSrc);
}


extern "C" {static void *array_QFile_Permissions(SIP_SSIZE_T);}
static void *array_QFile_Permissions(SIP_SSIZE_T sipNrElem)
{
    return new QFile::Permissions[sipNrElem];
}


extern "C" {static void *copy_QFile_Permissions(const void *, SIP_SSIZE_T);}
static void *copy_QFile_Permissions(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QFile::Permissions(reinterpret_cast<const QFile::Permissions *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QFile_Permissions(sipSimpleWrapper *);}
static void dealloc_QFile_Permissions(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QFile_Permissions(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QFile_Permissions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QFile_Permissions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QFile::Permissions *sipCpp = 0;

    {
        const QFile::Permissions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QFile_Permissions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QFile::Permissions(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QFile::Permissions *>(a0),sipType_QFile_Permissions,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QFile::Permissions(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QFile::Permissions();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QFile_Permissions(PyObject *, void **, int *, PyObject *);}
static int convertTo_QFile_Permissions(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QFile::Permissions **sipCppPtr = reinterpret_cast<QFile::Permissions **>(sipCppPtrV);

#line 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QFile::Permissions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QFile_Permission)) ||
            sipCanConvertToType(sipPy, sipType_QFile_Permissions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QFile_Permission)))
{
    *sipCppPtr = new QFile::Permissions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QFile::Permissions *>(sipConvertToType(sipPy, sipType_QFile_Permissions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 107529 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QFile_Permissions[] = {
    {(void *)slot_QFile_Permissions___bool__, bool_slot},
    {(void *)slot_QFile_Permissions___ne__, ne_slot},
    {(void *)slot_QFile_Permissions___eq__, eq_slot},
    {(void *)slot_QFile_Permissions___invert__, invert_slot},
    {(void *)slot_QFile_Permissions___and__, and_slot},
    {(void *)slot_QFile_Permissions___xor__, xor_slot},
    {(void *)slot_QFile_Permissions___or__, or_slot},
    {(void *)slot_QFile_Permissions___int__, int_slot},
    {(void *)slot_QFile_Permissions___ixor__, ixor_slot},
    {(void *)slot_QFile_Permissions___ior__, ior_slot},
    {(void *)slot_QFile_Permissions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QFile_Permissions, "\1QFile.Permissions(QFile.Permissions)\n"
    "QFile.Permissions(int)\n"
    "QFile.Permissions()");


pyqt4ClassTypeDef sipTypeDef_QtCore_QFile_Permissions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QFile__Permissions,
        {0}
    },
    {
        sipNameNr_Permissions,
        {65, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFile_Permissions,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QFile_Permissions,
    init_type_QFile_Permissions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QFile_Permissions,
    assign_QFile_Permissions,
    array_QFile_Permissions,
    copy_QFile_Permissions,
    release_QFile_Permissions,
    cast_QFile_Permissions,
    convertTo_QFile_Permissions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 79 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfile.sip"
#include <qfile.h>
#line 107610 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 107614 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 107617 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractfileengine.sip"
#include <qabstractfileengine.h>
#line 107620 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 79 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfile.sip"
#include <qfile.h>
#line 107623 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 107626 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 79 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfile.sip"
#include <qfile.h>
#line 107629 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 107632 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 107635 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 107638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 107641 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 107644 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 107647 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 107650 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 107653 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 107656 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 107659 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 107662 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() 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 char*);
    void connectNotify(const char*);
    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 writeData(const char*,PY_LONG_LONG);
    qint64 readLineData(char*,qint64);
    qint64 readData(char*,qint64);
    QAbstractFileEngine* fileEngine() const;
    bool atEnd() const;
    bool seek(qint64);
    qint64 pos() const;
    qint64 size() const;
    void close();
    bool open(QIODevice::OpenMode);
    bool isSequential() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQFile(const sipQFile &);
    sipQFile &operator = (const sipQFile &);

    char sipPyMethods[24];
};

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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QFile, _clname)) ? this : QFile::qt_metacast(_clname);
}

void sipQFile::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQFile::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtCore_23(sipGILState, 0, 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_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtCore_23(sipGILState, 0, 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 *);

    return sipVH_QtCore_7(sipGILState, 0, 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_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_22(sipGILState, 0, 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_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_22(sipGILState, 0, 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 *);

    return sipVH_QtCore_7(sipGILState, 0, sipPySelf, sipMeth);
}

qint64 sipQFile::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 QFile::writeData(a0,a1);

    extern PY_LONG_LONG sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*,PY_LONG_LONG);

    return sipVH_QtCore_20(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

qint64 sipQFile::readLineData(char*a0,qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_readLineData);

    if (!sipMeth)
        return QFile::readLineData(a0,a1);

    extern PY_LONG_LONG sipVH_QtCore_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,PY_LONG_LONG);

    return sipVH_QtCore_21(sipGILState, 0, 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_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,PY_LONG_LONG);

    return sipVH_QtCore_21(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QAbstractFileEngine* sipQFile::fileEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_fileEngine);

    if (!sipMeth)
        return QFile::fileEngine();

    extern QAbstractFileEngine* sipVH_QtCore_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_16(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQFile::atEnd() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_atEnd);

    if (!sipMeth)
        return QFile::atEnd();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_7(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQFile::seek(qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_seek);

    if (!sipMeth)
        return QFile::seek(a0);

    extern bool sipVH_QtCore_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, PY_LONG_LONG);

    return sipVH_QtCore_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

qint64 sipQFile::pos() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_pos);

    if (!sipMeth)
        return QFile::pos();

    extern PY_LONG_LONG sipVH_QtCore_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_22(sipGILState, 0, sipPySelf, sipMeth);
}

qint64 sipQFile::size() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_size);

    if (!sipMeth)
        return QFile::size();

    extern PY_LONG_LONG sipVH_QtCore_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_22(sipGILState, 0, sipPySelf, sipMeth);
}

void sipQFile::close()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_close);

    if (!sipMeth)
    {
        QFile::close();
        return;
    }

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_11(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQFile::open(QIODevice::OpenMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
        return QFile::open(a0);

    extern bool sipVH_QtCore_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QIODevice::OpenMode);

    return sipVH_QtCore_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQFile::isSequential() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_isSequential);

    if (!sipMeth)
        return QFile::isSequential();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_7(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQFile::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQFile::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

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 ? QFile::readData(a0,a1) : readData(a0,a1));
}

qint64 sipQFile::sipProtectVirt_readLineData(bool sipSelfWasArg,char*a0,qint64 a1)
{
    return (sipSelfWasArg ? QFile::readLineData(a0,a1) : readLineData(a0,a1));
}

qint64 sipQFile::sipProtectVirt_writeData(bool sipSelfWasArg,const char*a0,PY_LONG_LONG a1)
{
    return (sipSelfWasArg ? QFile::writeData(a0,a1) : writeData(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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 108262 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QFile, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 108307 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QFile, sipName_customEvent, doc_QFile_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_connectNotify, "QFile.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QFile, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QFile, sipName_connectNotify, doc_QFile_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_disconnectNotify, "QFile.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QFile, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setOpenMode(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setErrorString(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_setErrorString, doc_QFile_setErrorString);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_error, "QFile.error() -> QFile.FileError");

extern "C" {static PyObject *meth_QFile_error(PyObject *, PyObject *);}
static PyObject *meth_QFile_error(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFile, &sipCpp))
        {
            QFile::FileError sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->error();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QFile_FileError);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_error, doc_QFile_error);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_unsetError, "QFile.unsetError()");

extern "C" {static PyObject *meth_QFile_unsetError(PyObject *, PyObject *);}
static PyObject *meth_QFile_unsetError(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFile, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->unsetError();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_unsetError, doc_QFile_unsetError);

    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;

    {
        const QFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFile, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->fileName());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFileName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(QFile::encodeName(*a0));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QFile::decodeName(*a0));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QFile::decodeName(a0));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->exists();
            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::exists(*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_exists, doc_QFile_exists);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_readLink, "QFile.readLink() -> str\n"
    "QFile.readLink(str) -> str");

extern "C" {static PyObject *meth_QFile_readLink(PyObject *, PyObject *);}
static PyObject *meth_QFile_readLink(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFile, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->readLink());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QFile::readLink(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_readLink, doc_QFile_readLink);

    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_isSequential, "QFile.isSequential() -> bool");

extern "C" {static PyObject *meth_QFile_isSequential(PyObject *, PyObject *);}
static PyObject *meth_QFile_isSequential(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))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QFile::isSequential() : sipCpp->isSequential());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_isSequential, doc_QFile_isSequential);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_open, "QFile.open(QIODevice.OpenMode) -> bool\n"
    "QFile.open(int, QIODevice.OpenMode) -> bool\n"
    "QFile.open(int, QIODevice.OpenMode, QFile.FileHandleFlags) -> bool");

extern "C" {static PyObject *meth_QFile_open(PyObject *, PyObject *);}
static PyObject *meth_QFile_open(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QIODevice::OpenMode* a0;
        int a0State = 0;
        QFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "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;
        QFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QFile, &sipCpp, &a0, sipType_QIODevice_OpenMode, &a1, &a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->open(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QIODevice_OpenMode,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        int a0;
        QIODevice::OpenMode* a1;
        int a1State = 0;
        QFile::FileHandleFlags* a2;
        int a2State = 0;
        QFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1J1", &sipSelf, sipType_QFile, &sipCpp, &a0, sipType_QIODevice_OpenMode, &a1, &a1State, sipType_QFile_FileHandleFlags, &a2, &a2State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->open(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QIODevice_OpenMode,a1State);
            sipReleaseType(a2,sipType_QFile_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_close, "QFile.close()");

extern "C" {static PyObject *meth_QFile_close(PyObject *, PyObject *);}
static PyObject *meth_QFile_close(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFile, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QFile::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_QFile, sipName_close, doc_QFile_close);

    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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QFile::size() : sipCpp->size());
            Py_END_ALLOW_THREADS

            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_pos, "QFile.pos() -> int");

extern "C" {static PyObject *meth_QFile_pos(PyObject *, PyObject *);}
static PyObject *meth_QFile_pos(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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QFile::pos() : sipCpp->pos());
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_pos, doc_QFile_pos);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_seek, "QFile.seek(int) -> bool");

extern "C" {static PyObject *meth_QFile_seek(PyObject *, PyObject *);}
static PyObject *meth_QFile_seek(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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QFile::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_QFile, sipName_seek, doc_QFile_seek);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_atEnd, "QFile.atEnd() -> bool");

extern "C" {static PyObject *meth_QFile_atEnd(PyObject *, PyObject *);}
static PyObject *meth_QFile_atEnd(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))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QFile::atEnd() : sipCpp->atEnd());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_atEnd, doc_QFile_atEnd);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_flush, "QFile.flush() -> bool");

extern "C" {static PyObject *meth_QFile_flush(PyObject *, PyObject *);}
static PyObject *meth_QFile_flush(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->flush();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_flush, doc_QFile_flush);

    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;

    {
        qint64 a0;
        QFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QFile, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->resize(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        qint64 a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1n", sipType_QString,&a0, &a0State, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QFile::resize(*a0,a1);
            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_resize, doc_QFile_resize);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_permissions, "QFile.permissions() -> QFile.Permissions\n"
    "QFile.permissions(str) -> QFile.Permissions");

extern "C" {static PyObject *meth_QFile_permissions(PyObject *, PyObject *);}
static PyObject *meth_QFile_permissions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFile, &sipCpp))
        {
            QFile::Permissions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFile::Permissions(sipCpp->permissions());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QFile_Permissions,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            QFile::Permissions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFile::Permissions(QFile::permissions(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QFile_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(QFile.Permissions) -> bool\n"
    "QFile.setPermissions(str, QFile.Permissions) -> bool");

extern "C" {static PyObject *meth_QFile_setPermissions(PyObject *, PyObject *);}
static PyObject *meth_QFile_setPermissions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QFile::Permissions* a0;
        int a0State = 0;
        QFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFile, &sipCpp, sipType_QFile_Permissions, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setPermissions(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QFile_Permissions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QFile::Permissions* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QString,&a0, &a0State, sipType_QFile_Permissions, &a1, &a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QFile::setPermissions(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QFile_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;
}


PyDoc_STRVAR(doc_QFile_handle, "QFile.handle() -> int");

extern "C" {static PyObject *meth_QFile_handle(PyObject *, PyObject *);}
static PyObject *meth_QFile_handle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFile, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->handle();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_handle, doc_QFile_handle);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_fileEngine, "QFile.fileEngine() -> QAbstractFileEngine");

extern "C" {static PyObject *meth_QFile_fileEngine(PyObject *, PyObject *);}
static PyObject *meth_QFile_fileEngine(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))
        {
            QAbstractFileEngine*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QFile::fileEngine() : sipCpp->fileEngine());
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QAbstractFileEngine,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_fileEngine, doc_QFile_fileEngine);

    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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->symLinkTarget());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QFile::symLinkTarget(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_symLinkTarget, doc_QFile_symLinkTarget);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_map, "QFile.map(int, int, QFile.MemoryMapFlags flags=QFile.NoOptions) -> sip.voidptr");

extern "C" {static PyObject *meth_QFile_map(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFile_map(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        qint64 a0;
        qint64 a1;
        QFile::MemoryMapFlags a2 = QFile::NoOptions;
        QFile *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_flags,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bnn|E", &sipSelf, sipType_QFile, &sipCpp, &a0, &a1, sipType_QFile_MemoryMapFlags, &a2))
        {
            void*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->map(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromVoidPtrAndSize(sipRes,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_map, doc_QFile_map);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_unmap, "QFile.unmap(sip.voidptr) -> bool");

extern "C" {static PyObject *meth_QFile_unmap(PyObject *, PyObject *);}
static PyObject *meth_QFile_unmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        void* a0;
        QFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bv", &sipSelf, sipType_QFile, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->unmap(reinterpret_cast<uchar *>(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_unmap, doc_QFile_unmap);

    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 200 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfile.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->QFile::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 109718 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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_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 238 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfile.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->QFile::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 109786 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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_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;
}


/* 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_QIODevice)->ctd_cast((QIODevice *)(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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQFile();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQFile(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQFile(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQFile(*a0,a1);
            Py_END_ALLOW_THREADS
            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[] = {{81, 255, 1}};


static PyMethodDef methods_QFile[] = {
    {SIP_MLNAME_CAST(sipName_atEnd), meth_QFile_atEnd, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_atEnd)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QFile_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_close), meth_QFile_close, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_close)},
    {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_error), meth_QFile_error, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_error)},
    {SIP_MLNAME_CAST(sipName_exists), meth_QFile_exists, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_exists)},
    {SIP_MLNAME_CAST(sipName_fileEngine), meth_QFile_fileEngine, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_fileEngine)},
    {SIP_MLNAME_CAST(sipName_fileName), meth_QFile_fileName, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_fileName)},
    {SIP_MLNAME_CAST(sipName_flush), meth_QFile_flush, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_flush)},
    {SIP_MLNAME_CAST(sipName_handle), meth_QFile_handle, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_handle)},
    {SIP_MLNAME_CAST(sipName_isSequential), meth_QFile_isSequential, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_isSequential)},
    {SIP_MLNAME_CAST(sipName_link), meth_QFile_link, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_link)},
    {SIP_MLNAME_CAST(sipName_map), (PyCFunction)meth_QFile_map, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFile_map)},
    {SIP_MLNAME_CAST(sipName_open), meth_QFile_open, METH_VARARGS, 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_pos), meth_QFile_pos, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_pos)},
    {SIP_MLNAME_CAST(sipName_readData), (PyCFunction)meth_QFile_readData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFile_readData)},
    {SIP_MLNAME_CAST(sipName_readLineData), (PyCFunction)meth_QFile_readLineData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFile_readLineData)},
    {SIP_MLNAME_CAST(sipName_readLink), meth_QFile_readLink, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_readLink)},
    {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_seek), meth_QFile_seek, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_seek)},
    {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_unmap), meth_QFile_unmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_unmap)},
    {SIP_MLNAME_CAST(sipName_unsetError), meth_QFile_unsetError, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_unsetError)},
    {SIP_MLNAME_CAST(sipName_writeData), (PyCFunction)meth_QFile_writeData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFile_writeData)}
};

static sipEnumMemberDef enummembers_QFile[] = {
    {sipName_AbortError, static_cast<int>(QFile::AbortError), 66},
    {sipName_AutoCloseHandle, static_cast<int>(QFile::AutoCloseHandle), 67},
    {sipName_CopyError, static_cast<int>(QFile::CopyError), 66},
    {sipName_DontCloseHandle, static_cast<int>(QFile::DontCloseHandle), 67},
    {sipName_ExeGroup, static_cast<int>(QFile::ExeGroup), 70},
    {sipName_ExeOther, static_cast<int>(QFile::ExeOther), 70},
    {sipName_ExeOwner, static_cast<int>(QFile::ExeOwner), 70},
    {sipName_ExeUser, static_cast<int>(QFile::ExeUser), 70},
    {sipName_FatalError, static_cast<int>(QFile::FatalError), 66},
    {sipName_NoError, static_cast<int>(QFile::NoError), 66},
    {sipName_NoOptions, static_cast<int>(QFile::NoOptions), 69},
    {sipName_OpenError, static_cast<int>(QFile::OpenError), 66},
    {sipName_PermissionsError, static_cast<int>(QFile::PermissionsError), 66},
    {sipName_PositionError, static_cast<int>(QFile::PositionError), 66},
    {sipName_ReadError, static_cast<int>(QFile::ReadError), 66},
    {sipName_ReadGroup, static_cast<int>(QFile::ReadGroup), 70},
    {sipName_ReadOther, static_cast<int>(QFile::ReadOther), 70},
    {sipName_ReadOwner, static_cast<int>(QFile::ReadOwner), 70},
    {sipName_ReadUser, static_cast<int>(QFile::ReadUser), 70},
    {sipName_RemoveError, static_cast<int>(QFile::RemoveError), 66},
    {sipName_RenameError, static_cast<int>(QFile::RenameError), 66},
    {sipName_ResizeError, static_cast<int>(QFile::ResizeError), 66},
    {sipName_ResourceError, static_cast<int>(QFile::ResourceError), 66},
    {sipName_TimeOutError, static_cast<int>(QFile::TimeOutError), 66},
    {sipName_UnspecifiedError, static_cast<int>(QFile::UnspecifiedError), 66},
    {sipName_WriteError, static_cast<int>(QFile::WriteError), 66},
    {sipName_WriteGroup, static_cast<int>(QFile::WriteGroup), 70},
    {sipName_WriteOther, static_cast<int>(QFile::WriteOther), 70},
    {sipName_WriteOwner, static_cast<int>(QFile::WriteOwner), 70},
    {sipName_WriteUser, static_cast<int>(QFile::WriteUser), 70},
};

PyDoc_STRVAR(doc_QFile, "\1QFile()\n"
    "QFile(str)\n"
    "QFile(QObject)\n"
    "QFile(str, QObject)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QFile = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QFile,
        {0}
    },
    {
        sipNameNr_QFile,
        {0, 0, 1},
        41, methods_QFile,
        30, enummembers_QFile,
        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
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qeventtransition.sip"
#include <qeventtransition.h>
#line 110095 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstate.sip"
#include <qstate.h>
#line 110099 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 110102 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 110105 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 110108 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 110111 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 110114 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 110117 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 110120 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 110123 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 110126 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 110129 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 110132 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 110135 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 110138 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 110141 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 110144 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 110147 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 110150 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 110153 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() 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 char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QEventTransition, _clname)) ? this : QEventTransition::qt_metacast(_clname);
}

void sipQEventTransition::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQEventTransition::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQEventTransition::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQEventTransition::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 110489 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QEventTransition, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 110534 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QEventTransition, sipName_customEvent, doc_QEventTransition_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QEventTransition_connectNotify, "QEventTransition.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QEventTransition, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QEventTransition, sipName_connectNotify, doc_QEventTransition_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QEventTransition_disconnectNotify, "QEventTransition.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QEventTransition, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->eventSource();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEventSource(a0);
            Py_END_ALLOW_THREADS

            sipKeepReference(sipSelf, 10, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->eventType();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEventType(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_eventTest(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_onTransition(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQEventTransition(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQEventTransition(a0,a1,a2);
            Py_END_ALLOW_THREADS

            sipKeepReference((PyObject *)sipSelf, 10, a0Keep);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QEventTransition[] = {{17, 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_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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QEventTransition = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QEventTransition,
        {0}
    },
    {
        sipNameNr_QEventTransition,
        {0, 0, 1},
        15, 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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 111119 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 111123 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QEventLoop::ProcessEventsFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 111145 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QEventLoop::ProcessEventsFlags::Int() != a0->operator QEventLoop::ProcessEventsFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 111179 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QEventLoop::ProcessEventsFlags::Int() == a0->operator QEventLoop::ProcessEventsFlags::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 111219 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QEventLoop::ProcessEventsFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QEventLoop::ProcessEventsFlags((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QEventLoop::ProcessEventsFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            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 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QEventLoop::ProcessEventsFlags(*a0 ^ a1);
#line 111328 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QEventLoop::ProcessEventsFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS
            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 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QEventLoop::ProcessEventsFlags(*a0 | a1);
#line 111380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QEventLoop::ProcessEventsFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QEventLoop::ProcessEventsFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QEventLoop::ProcessEventsFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QEventLoop::ProcessEventsFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QEventLoop::ProcessEventsFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QEventLoop::ProcessEventsFlags *>(a0),sipType_QEventLoop_ProcessEventsFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QEventLoop::ProcessEventsFlags(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QEventLoop::ProcessEventsFlags();
            Py_END_ALLOW_THREADS

            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 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 111675 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_QEventLoop_ProcessEventsFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QEventLoop__ProcessEventsFlags,
        {0}
    },
    {
        sipNameNr_ProcessEventsFlags,
        {60, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QEventLoop_ProcessEventsFlags,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 111756 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 111760 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 111763 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 111766 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 111769 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 111772 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 111775 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 111778 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 111781 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 111784 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 111787 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 111790 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 111793 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 111796 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 111799 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QEventLoop, _clname)) ? this : QEventLoop::qt_metacast(_clname);
}

void sipQEventLoop::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQEventLoop::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQEventLoop::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQEventLoop::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}


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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 112076 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQEventLoop *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QEventLoop, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 112121 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QEventLoop, sipName_customEvent, doc_QEventLoop_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QEventLoop_connectNotify, "QEventLoop.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQEventLoop *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QEventLoop, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QEventLoop, sipName_connectNotify, doc_QEventLoop_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QEventLoop_disconnectNotify, "QEventLoop.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQEventLoop *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QEventLoop, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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))
        {
            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isRunning();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->wakeUp();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->quit();
            Py_END_ALLOW_THREADS

            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;
}


/* 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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQEventLoop(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QEventLoop[] = {{141, 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_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_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), 61},
    {sipName_DeferredDeletion, static_cast<int>(QEventLoop::DeferredDeletion), 61},
    {sipName_ExcludeSocketNotifiers, static_cast<int>(QEventLoop::ExcludeSocketNotifiers), 61},
    {sipName_ExcludeUserInputEvents, static_cast<int>(QEventLoop::ExcludeUserInputEvents), 61},
    {sipName_WaitForMoreEvents, static_cast<int>(QEventLoop::WaitForMoreEvents), 61},
    {sipName_X11ExcludeTimers, static_cast<int>(QEventLoop::X11ExcludeTimers), 61},
};

PyDoc_STRVAR(doc_QEventLoop, "\1QEventLoop(QObject parent=None)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QEventLoop = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QEventLoop,
        {0}
    },
    {
        sipNameNr_QEventLoop,
        {0, 0, 1},
        15, methods_QEventLoop,
        6, 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
};

#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qelapsedtimer.sip"
#include <qelapsedtimer.h>
#line 112733 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QElapsedTimer::clockType();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QElapsedTimer::isMonotonic();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->start();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->restart();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->invalidate();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->elapsed();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasExpired(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->msecsSinceReference();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->msecsTo(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->secsTo(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nsecsElapsed();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = !operator<((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator<((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QElapsedTimer::operator!=(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QElapsedTimer::operator==(*a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QElapsedTimer *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QElapsedTimer();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QElapsedTimer* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QElapsedTimer, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QElapsedTimer(*a0);
            Py_END_ALLOW_THREADS

            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), 57},
    {sipName_MonotonicClock, static_cast<int>(QElapsedTimer::MonotonicClock), 57},
    {sipName_PerformanceCounter, static_cast<int>(QElapsedTimer::PerformanceCounter), 57},
    {sipName_SystemTime, static_cast<int>(QElapsedTimer::SystemTime), 57},
    {sipName_TickCounter, static_cast<int>(QElapsedTimer::TickCounter), 57},
};

PyDoc_STRVAR(doc_QElapsedTimer, "\1QElapsedTimer()\n"
    "QElapsedTimer(QElapsedTimer)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QElapsedTimer = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qeasingcurve.sip"
#include <qeasingcurve.h>
#line 113398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 38 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
        PyErr_Print();

    SIP_UNBLOCK_THREADS

    return res;
}
#line 113503 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->amplitude();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAmplitude(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->period();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPeriod(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->overshoot();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOvershoot(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->type();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setType(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_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 240 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 113780 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 270 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 113834 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->valueForProgress(a0);
            Py_END_ALLOW_THREADS

            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;
}


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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QEasingCurve::operator!=(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QEasingCurve::operator==(*a0);
            Py_END_ALLOW_THREADS
            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QEasingCurve *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QEasingCurve(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QEasingCurve* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QEasingCurve, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QEasingCurve(*a0);
            Py_END_ALLOW_THREADS
            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 143 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 114073 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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_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_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_CosineCurve, static_cast<int>(QEasingCurve::CosineCurve), 55},
    {sipName_Custom, static_cast<int>(QEasingCurve::Custom), 55},
    {sipName_InBack, static_cast<int>(QEasingCurve::InBack), 55},
    {sipName_InBounce, static_cast<int>(QEasingCurve::InBounce), 55},
    {sipName_InCirc, static_cast<int>(QEasingCurve::InCirc), 55},
    {sipName_InCubic, static_cast<int>(QEasingCurve::InCubic), 55},
    {sipName_InCurve, static_cast<int>(QEasingCurve::InCurve), 55},
    {sipName_InElastic, static_cast<int>(QEasingCurve::InElastic), 55},
    {sipName_InExpo, static_cast<int>(QEasingCurve::InExpo), 55},
    {sipName_InOutBack, static_cast<int>(QEasingCurve::InOutBack), 55},
    {sipName_InOutBounce, static_cast<int>(QEasingCurve::InOutBounce), 55},
    {sipName_InOutCirc, static_cast<int>(QEasingCurve::InOutCirc), 55},
    {sipName_InOutCubic, static_cast<int>(QEasingCurve::InOutCubic), 55},
    {sipName_InOutElastic, static_cast<int>(QEasingCurve::InOutElastic), 55},
    {sipName_InOutExpo, static_cast<int>(QEasingCurve::InOutExpo), 55},
    {sipName_InOutQuad, static_cast<int>(QEasingCurve::InOutQuad), 55},
    {sipName_InOutQuart, static_cast<int>(QEasingCurve::InOutQuart), 55},
    {sipName_InOutQuint, static_cast<int>(QEasingCurve::InOutQuint), 55},
    {sipName_InOutSine, static_cast<int>(QEasingCurve::InOutSine), 55},
    {sipName_InQuad, static_cast<int>(QEasingCurve::InQuad), 55},
    {sipName_InQuart, static_cast<int>(QEasingCurve::InQuart), 55},
    {sipName_InQuint, static_cast<int>(QEasingCurve::InQuint), 55},
    {sipName_InSine, static_cast<int>(QEasingCurve::InSine), 55},
    {sipName_Linear, static_cast<int>(QEasingCurve::Linear), 55},
    {sipName_OutBack, static_cast<int>(QEasingCurve::OutBack), 55},
    {sipName_OutBounce, static_cast<int>(QEasingCurve::OutBounce), 55},
    {sipName_OutCirc, static_cast<int>(QEasingCurve::OutCirc), 55},
    {sipName_OutCubic, static_cast<int>(QEasingCurve::OutCubic), 55},
    {sipName_OutCurve, static_cast<int>(QEasingCurve::OutCurve), 55},
    {sipName_OutElastic, static_cast<int>(QEasingCurve::OutElastic), 55},
    {sipName_OutExpo, static_cast<int>(QEasingCurve::OutExpo), 55},
    {sipName_OutInBack, static_cast<int>(QEasingCurve::OutInBack), 55},
    {sipName_OutInBounce, static_cast<int>(QEasingCurve::OutInBounce), 55},
    {sipName_OutInCirc, static_cast<int>(QEasingCurve::OutInCirc), 55},
    {sipName_OutInCubic, static_cast<int>(QEasingCurve::OutInCubic), 55},
    {sipName_OutInElastic, static_cast<int>(QEasingCurve::OutInElastic), 55},
    {sipName_OutInExpo, static_cast<int>(QEasingCurve::OutInExpo), 55},
    {sipName_OutInQuad, static_cast<int>(QEasingCurve::OutInQuad), 55},
    {sipName_OutInQuart, static_cast<int>(QEasingCurve::OutInQuart), 55},
    {sipName_OutInQuint, static_cast<int>(QEasingCurve::OutInQuint), 55},
    {sipName_OutInSine, static_cast<int>(QEasingCurve::OutInSine), 55},
    {sipName_OutQuad, static_cast<int>(QEasingCurve::OutQuad), 55},
    {sipName_OutQuart, static_cast<int>(QEasingCurve::OutQuart), 55},
    {sipName_OutQuint, static_cast<int>(QEasingCurve::OutQuint), 55},
    {sipName_OutSine, static_cast<int>(QEasingCurve::OutSine), 55},
    {sipName_SineCurve, static_cast<int>(QEasingCurve::SineCurve), 55},
};

PyDoc_STRVAR(doc_QEasingCurve, "\1QEasingCurve(QEasingCurve.Type type=QEasingCurve.Linear)\n"
    "QEasingCurve(QEasingCurve)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QEasingCurve = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QEasingCurve,
        {0}
    },
    {
        sipNameNr_QEasingCurve,
        {0, 0, 1},
        11, methods_QEasingCurve,
        46, enummembers_QEasingCurve,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QEasingCurve,
    sipNameNr_PyQt4_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
};

#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdiriterator.sip"
#include <qdiriterator.h>
#line 114208 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdiriterator.sip"
#include <qdiriterator.h>
#line 114212 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QDirIterator::IteratorFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 114234 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QDirIterator::IteratorFlags::Int() != a0->operator QDirIterator::IteratorFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 114268 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QDirIterator::IteratorFlags::Int() == a0->operator QDirIterator::IteratorFlags::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 114308 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDirIterator::IteratorFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDirIterator::IteratorFlags((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDirIterator::IteratorFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            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 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QDirIterator::IteratorFlags(*a0 ^ a1);
#line 114417 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDirIterator::IteratorFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS
            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 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QDirIterator::IteratorFlags(*a0 | a1);
#line 114469 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QDirIterator::IteratorFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QDirIterator::IteratorFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QDirIterator::IteratorFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDirIterator::IteratorFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDirIterator::IteratorFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QDirIterator::IteratorFlags *>(a0),sipType_QDirIterator_IteratorFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDirIterator::IteratorFlags(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDirIterator::IteratorFlags();
            Py_END_ALLOW_THREADS

            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 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 114764 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_QDirIterator_IteratorFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDirIterator__IteratorFlags,
        {0}
    },
    {
        sipNameNr_IteratorFlags,
        {50, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDirIterator_IteratorFlags,
    sipNameNr_PyQt4_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
};

#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdiriterator.sip"
#include <qdiriterator.h>
#line 114845 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 114849 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdiriterator.sip"
#include <qdiriterator.h>
#line 114852 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 114855 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 114858 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 114861 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 114864 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


class sipQDirIterator : public QDirIterator
{
public:
    sipQDirIterator(const QDir&,QDirIterator::IteratorFlags);
    sipQDirIterator(const QString&,QDirIterator::IteratorFlags);
    sipQDirIterator(const QString&,QDir::Filters,QDirIterator::IteratorFlags);
    sipQDirIterator(const QString&,const QStringList&,QDir::Filters,QDirIterator::IteratorFlags);
    ~sipQDirIterator();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQDirIterator(const sipQDirIterator &);
    sipQDirIterator &operator = (const sipQDirIterator &);
};

sipQDirIterator::sipQDirIterator(const QDir& a0,QDirIterator::IteratorFlags a1): QDirIterator(a0,a1), sipPySelf(0)
{
}

sipQDirIterator::sipQDirIterator(const QString& a0,QDirIterator::IteratorFlags a1): QDirIterator(a0,a1), sipPySelf(0)
{
}

sipQDirIterator::sipQDirIterator(const QString& a0,QDir::Filters a1,QDirIterator::IteratorFlags a2): QDirIterator(a0,a1,a2), sipPySelf(0)
{
}

sipQDirIterator::sipQDirIterator(const QString& a0,const QStringList& a1,QDir::Filters a2,QDirIterator::IteratorFlags a3): QDirIterator(a0,a1,a2,a3), sipPySelf(0)
{
}

sipQDirIterator::~sipQDirIterator()
{
    sipCommonDtor(sipPySelf);
}


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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->next());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasNext();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->fileName());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->filePath());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFileInfo(sipCpp->fileInfo());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->path());
            Py_END_ALLOW_THREADS

            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 sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQDirIterator *>(sipCppV);
    else
        delete reinterpret_cast<QDirIterator *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QDirIterator(sipSimpleWrapper *);}
static void dealloc_QDirIterator(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQDirIterator *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QDirIterator(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QDirIterator(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDirIterator(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQDirIterator *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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDirIterator(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QDirIterator_IteratorFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDirIterator(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QDirIterator_IteratorFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDirIterator(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QDir_Filters,a1State);
            sipReleaseType(a2,sipType_QDirIterator_IteratorFlags,a2State);

            sipCpp->sipPySelf = sipSelf;

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDirIterator(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            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);

            sipCpp->sipPySelf = sipSelf;

            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), 51},
    {sipName_NoIteratorFlags, static_cast<int>(QDirIterator::NoIteratorFlags), 51},
    {sipName_Subdirectories, static_cast<int>(QDirIterator::Subdirectories), 51},
};

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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QDirIterator = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 115320 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 115324 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QDir::SortFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 115346 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QDir::SortFlags::Int() != a0->operator QDir::SortFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 115380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QDir::SortFlags::Int() == a0->operator QDir::SortFlags::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 115420 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDir::SortFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDir::SortFlags((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDir::SortFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            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 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QDir::SortFlags(*a0 ^ a1);
#line 115529 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDir::SortFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS
            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 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QDir::SortFlags(*a0 | a1);
#line 115581 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QDir::SortFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QDir::SortFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QDir::SortFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDir::SortFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDir::SortFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QDir::SortFlags *>(a0),sipType_QDir_SortFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDir::SortFlags(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDir::SortFlags();
            Py_END_ALLOW_THREADS

            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 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 115876 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_QDir_SortFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDir__SortFlags,
        {0}
    },
    {
        sipNameNr_SortFlags,
        {45, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDir_SortFlags,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 115957 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 115961 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QDir::Filters::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 115983 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QDir::Filters::Int() != a0->operator QDir::Filters::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 116017 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QDir::Filters::Int() == a0->operator QDir::Filters::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 116057 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDir::Filters(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDir::Filters((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDir::Filters((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            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 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QDir::Filters(*a0 ^ a1);
#line 116166 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDir::Filters((*a0 | *a1));
            Py_END_ALLOW_THREADS
            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 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QDir::Filters(*a0 | a1);
#line 116218 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QDir::Filters::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QDir::Filters::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QDir::Filters::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDir::Filters *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDir::Filters(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QDir::Filters *>(a0),sipType_QDir_Filters,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDir::Filters(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDir::Filters();
            Py_END_ALLOW_THREADS

            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 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 116513 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_QDir_Filters = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDir__Filters,
        {0}
    },
    {
        sipNameNr_Filters,
        {45, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDir_Filters,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 116594 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 116598 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 116601 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 116604 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 116607 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 67 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 116610 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 116613 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 116616 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPath(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->path());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->absolutePath());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->canonicalPath());
            Py_END_ALLOW_THREADS

            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_addResourceSearchPath, "QDir.addResourceSearchPath(str)");

extern "C" {static PyObject *meth_QDir_addResourceSearchPath(PyObject *, PyObject *);}
static PyObject *meth_QDir_addResourceSearchPath(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            QDir::addResourceSearchPath(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_addResourceSearchPath, doc_QDir_addResourceSearchPath);

    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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->dirName());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->filePath(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->absoluteFilePath(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->relativeFilePath(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_relativeFilePath, doc_QDir_relativeFilePath);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_convertSeparators, "QDir.convertSeparators(str) -> str");

extern "C" {static PyObject *meth_QDir_convertSeparators(PyObject *, PyObject *);}
static PyObject *meth_QDir_convertSeparators(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QDir::convertSeparators(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_convertSeparators, doc_QDir_convertSeparators);

    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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->cd(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->cdUp();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->nameFilters());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNameFilters(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDir::Filters(sipCpp->filter());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFilter(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDir::SortFlags(sipCpp->sorting());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSorting(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->count();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(QDir::nameFiltersFromString(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->entryList(*a0,*a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->entryList(*a0,*a1,*a2));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFileInfoList(sipCpp->entryInfoList(*a0,*a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFileInfoList(sipCpp->entryInfoList(*a0,*a1,*a2));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->mkdir(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->rmdir(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->mkpath(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->rmpath(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isReadable();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->exists();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->exists(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isRoot();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QDir::isRelativePath(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QDir::isAbsolutePath(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isRelative();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isAbsolute();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->makeAbsolute();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->refresh();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFileInfoList(QDir::drives());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QChar(QDir::separator());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QDir::setCurrent(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDir(QDir::current());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QDir::currentPath());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDir(QDir::home());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QDir::homePath());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDir(QDir::root());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QDir::rootPath());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDir(QDir::temp());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QDir::tempPath());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QDir::match(*a0,*a1);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QDir::match(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QDir::cleanPath(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QDir::toNativeSeparators(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QDir::fromNativeSeparators(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            QDir::setSearchPaths(*a0,*a1);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            QDir::addSearchPath(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(QDir::searchPaths(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_searchPaths, doc_QDir_searchPaths);

    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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QDir::operator!=(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QDir::operator==(*a0);
            Py_END_ALLOW_THREADS

            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 142 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdir.sip"
        sipRes = bool(sipCpp->entryList().contains(*a0));
#line 118486 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 108 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 118525 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 118 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 118563 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 118594 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDir *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDir(*a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDir(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDir(*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(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_addResourceSearchPath), meth_QDir_addResourceSearchPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_addResourceSearchPath)},
    {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_convertSeparators), meth_QDir_convertSeparators, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_convertSeparators)},
    {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_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_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), 46},
    {sipName_AllDirs, static_cast<int>(QDir::AllDirs), 46},
    {sipName_AllEntries, static_cast<int>(QDir::AllEntries), 46},
    {sipName_CaseSensitive, static_cast<int>(QDir::CaseSensitive), 46},
    {sipName_Dirs, static_cast<int>(QDir::Dirs), 46},
    {sipName_DirsFirst, static_cast<int>(QDir::DirsFirst), 48},
    {sipName_DirsLast, static_cast<int>(QDir::DirsLast), 48},
    {sipName_Drives, static_cast<int>(QDir::Drives), 46},
    {sipName_Executable, static_cast<int>(QDir::Executable), 46},
    {sipName_Files, static_cast<int>(QDir::Files), 46},
    {sipName_Hidden, static_cast<int>(QDir::Hidden), 46},
    {sipName_IgnoreCase, static_cast<int>(QDir::IgnoreCase), 48},
    {sipName_LocaleAware, static_cast<int>(QDir::LocaleAware), 48},
    {sipName_Modified, static_cast<int>(QDir::Modified), 46},
    {sipName_Name, static_cast<int>(QDir::Name), 48},
    {sipName_NoDot, static_cast<int>(QDir::NoDot), 46},
    {sipName_NoDotAndDotDot, static_cast<int>(QDir::NoDotAndDotDot), 46},
    {sipName_NoDotDot, static_cast<int>(QDir::NoDotDot), 46},
    {sipName_NoFilter, static_cast<int>(QDir::NoFilter), 46},
    {sipName_NoSort, static_cast<int>(QDir::NoSort), 48},
    {sipName_NoSymLinks, static_cast<int>(QDir::NoSymLinks), 46},
    {sipName_PermissionMask, static_cast<int>(QDir::PermissionMask), 46},
    {sipName_Readable, static_cast<int>(QDir::Readable), 46},
    {sipName_Reversed, static_cast<int>(QDir::Reversed), 48},
    {sipName_Size, static_cast<int>(QDir::Size), 48},
    {sipName_SortByMask, static_cast<int>(QDir::SortByMask), 48},
    {sipName_System, static_cast<int>(QDir::System), 46},
    {sipName_Time, static_cast<int>(QDir::Time), 48},
    {sipName_Type, static_cast<int>(QDir::Type), 48},
    {sipName_TypeMask, static_cast<int>(QDir::TypeMask), 46},
    {sipName_Unsorted, static_cast<int>(QDir::Unsorted), 48},
    {sipName_Writable, static_cast<int>(QDir::Writable), 46},
};

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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QDir = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 401 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 118898 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 118902 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 245 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 118905 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 118908 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 118911 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 405 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#include <QHash>

#if PY_VERSION_HEX >= 0x02040000
#include <datetime.h>
#endif
#line 118918 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 555 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 118945 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDate(sipCpp->date());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTime(sipCpp->time());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->timeSpec();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toTime_t();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDate(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTime(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTimeSpec(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTime_t(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toString(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toString(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

    {
        int a0;
        const QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDateTime, &sipCpp, &a0))
        {
            QDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTime(sipCpp->addDays(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTime(sipCpp->addMonths(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTime(sipCpp->addYears(a0));
            Py_END_ALLOW_THREADS

            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;

    {
        int a0;
        const QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDateTime, &sipCpp, &a0))
        {
            QDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTime(sipCpp->addSecs(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTime(sipCpp->addMSecs(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTime(sipCpp->toTimeSpec(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTime(sipCpp->toLocalTime());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTime(sipCpp->toUTC());
            Py_END_ALLOW_THREADS

            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))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->daysTo(*a0);
            Py_END_ALLOW_THREADS
            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_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))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->secsTo(*a0);
            Py_END_ALLOW_THREADS
            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTime(QDateTime::currentDateTime());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTime(QDateTime::fromString(*a0,a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTime(QDateTime::fromString(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_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");

extern "C" {static PyObject *meth_QDateTime_fromTime_t(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_fromTime_t(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        uint a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "u", &a0))
        {
            QDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTime(QDateTime::fromTime_t(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toMSecsSinceEpoch();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMSecsSinceEpoch(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->msecsTo(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTime(QDateTime::currentDateTimeUtc());
            Py_END_ALLOW_THREADS

            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");

extern "C" {static PyObject *meth_QDateTime_fromMSecsSinceEpoch(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_fromMSecsSinceEpoch(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qint64 a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "n", &a0))
        {
            QDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTime(QDateTime::fromMSecsSinceEpoch(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QDateTime::currentMSecsSinceEpoch();
            Py_END_ALLOW_THREADS

            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;
}


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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QDateTime::operator>=(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QDateTime::operator>(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QDateTime::operator<=(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QDateTime::operator<(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QDateTime::operator!=(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QDateTime::operator==(*a0);
            Py_END_ALLOW_THREADS
            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 570 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
        sipRes = !sipCpp->isNull();
#line 120125 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 541 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
        if (sipIsAPIEnabled("QDateTime", 2, 0))
        {
            sipRes = qHash(sipCpp->toString(Qt::ISODate));
        }
        else
        {
            // Mimic Python's default behavour.
            sipRes = _Py_HashPointer(sipSelf);
        }
#line 120158 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 478 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
        if (sipCpp->isNull())
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromString("PyQt4.QtCore.QDateTime()");
        #else
            sipRes = PyString_FromString("PyQt4.QtCore.QDateTime()");
        #endif
        }
        else
        {
            QDate qd = sipCpp->date();
            QTime qt = sipCpp->time();
        
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromFormat("PyQt4.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(", PyQt4.QtCore.Qt.TimeSpec(%i)",
                                        (int)sipCpp->timeSpec()));
                }
            }
        
            qpycore_Unicode_ConcatAndDel(&sipRes, PyUnicode_FromString(")"));
        #else
            sipRes = PyString_FromFormat("PyQt4.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(", PyQt4.QtCore.Qt.TimeSpec(%i)",
                                        (int)sipCpp->timeSpec()));
                }
            }
        
            PyString_ConcatAndDel(&sipRes, PyString_FromString(")"));
        #endif
        }
#line 120241 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDateTime *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static PyObject *pickle_QDateTime(void *);}
static PyObject *pickle_QDateTime(void *sipCppV)
{
    QDateTime *sipCpp = reinterpret_cast<QDateTime *>(sipCppV);
    PyObject *sipRes;

#line 453 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 120287 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDateTime();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QDateTime* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QDateTime, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDateTime(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDateTime(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDateTime(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            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 468 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 120424 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            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 413 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#if PY_VERSION_HEX >= 0x02040000
    if (!PyDateTimeAPI)
        PyDateTime_IMPORT;
#endif

// Allow a Python datetime object whenever a QDateTime is expected.

if (sipIsErr == NULL)
    return (
#if PY_VERSION_HEX >= 0x02040000
            PyDateTime_Check(sipPy) ||
#endif
            sipCanConvertToType(sipPy, sipType_QDateTime, SIP_NO_CONVERTORS));

#if PY_VERSION_HEX >= 0x02040000
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);
}
#endif

*sipCppPtr = reinterpret_cast<QDateTime *>(sipConvertToType(sipPy, sipType_QDateTime, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 120477 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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), meth_QDateTime_fromMSecsSinceEpoch, METH_VARARGS, 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), meth_QDateTime_fromTime_t, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_fromTime_t)},
    {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_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_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_setTime_t), meth_QDateTime_setTime_t, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_setTime_t)},
    {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_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_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_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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QDateTime = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDateTime,
        {0}
    },
    {
        sipNameNr_QDateTime,
        {0, 0, 1},
        31, methods_QDateTime,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDateTime,
    sipNameNr_PyQt4_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
};

#line 245 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 120593 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 120597 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 120600 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 249 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#include <QHash>

#if PY_VERSION_HEX >= 0x02040000
#include <datetime.h>
#endif
#line 120607 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 357 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 120630 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QTime::isValid(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hour();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->minute();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->second();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->msec();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toString(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toString(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setHMS(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTime(sipCpp->addSecs(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->secsTo(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTime(sipCpp->addMSecs(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->msecsTo(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTime(QTime::currentTime());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTime(QTime::fromString(*a0,a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTime(QTime::fromString(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->start();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->restart();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->elapsed();
            Py_END_ALLOW_THREADS

            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;
}


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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QTime::operator>=(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QTime::operator>(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QTime::operator<=(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QTime::operator<(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QTime::operator!=(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QTime::operator==(*a0);
            Py_END_ALLOW_THREADS
            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 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
        sipRes = !sipCpp->isNull();
#line 121462 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 343 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
        if (sipIsAPIEnabled("QTime", 2, 0))
        {
            sipRes = qHash(sipCpp->toString(Qt::ISODate));
        }
        else
        {
            // Mimic Python's default behavour.
            sipRes = _Py_HashPointer(sipSelf);
        }
#line 121495 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 297 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
        if (sipCpp->isNull())
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromString("PyQt4.QtCore.QTime()");
        #else
            sipRes = PyString_FromString("PyQt4.QtCore.QTime()");
        #endif
        }
        else
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromFormat("PyQt4.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("PyQt4.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 121561 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QTime *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static PyObject *pickle_QTime(void *);}
static PyObject *pickle_QTime(void *sipCppV)
{
    QTime *sipCpp = reinterpret_cast<QTime *>(sipCppV);
    PyObject *sipRes;

#line 289 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
    sipRes = Py_BuildValue((char *)"iiii", sipCpp->hour(), sipCpp->minute(), sipCpp->second(), sipCpp->msec());
#line 121602 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QTime();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QTime(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QTime* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QTime, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QTime(*a0);
            Py_END_ALLOW_THREADS
            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 257 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#if PY_VERSION_HEX >= 0x02040000
    if (!PyDateTimeAPI)
        PyDateTime_IMPORT;
#endif

// Allow a Python time object whenever a QTime is expected.

if (sipIsErr == NULL)
    return (
#if PY_VERSION_HEX >= 0x02040000
            PyTime_Check(sipPy) ||
#endif
            sipCanConvertToType(sipPy, sipType_QTime, SIP_NO_CONVERTORS));

#if PY_VERSION_HEX >= 0x02040000
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);
}
#endif

*sipCppPtr = reinterpret_cast<QTime *>(sipConvertToType(sipPy, sipType_QTime, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 121732 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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_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_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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QTime = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QTime,
        {0}
    },
    {
        sipNameNr_QTime,
        {0, 0, 1},
        18, methods_QTime,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTime,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 121833 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 121837 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 121840 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#include <QHash>

#if PY_VERSION_HEX >= 0x02040000
#include <datetime.h>
#endif
#line 121847 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 118 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 121870 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        int a0;
        int a1;
        int a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "iii", &a0, &a1, &a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QDate::isValid(a0,a1,a2);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->year();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->month();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->day();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dayOfWeek();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dayOfYear();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->daysInMonth();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->daysInYear();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->weekNumber(&a0);
            Py_END_ALLOW_THREADS

            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) -> str\n"
    "QDate.shortMonthName(int, QDate.MonthNameType) -> str");

extern "C" {static PyObject *meth_QDate_shortMonthName(PyObject *, PyObject *);}
static PyObject *meth_QDate_shortMonthName(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QDate::shortMonthName(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        int a0;
        QDate::MonthNameType a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "iE", &a0, sipType_QDate_MonthNameType, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QDate::shortMonthName(a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_shortMonthName, doc_QDate_shortMonthName);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_shortDayName, "QDate.shortDayName(int) -> str\n"
    "QDate.shortDayName(int, QDate.MonthNameType) -> str");

extern "C" {static PyObject *meth_QDate_shortDayName(PyObject *, PyObject *);}
static PyObject *meth_QDate_shortDayName(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QDate::shortDayName(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        int a0;
        QDate::MonthNameType a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "iE", &a0, sipType_QDate_MonthNameType, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QDate::shortDayName(a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_shortDayName, doc_QDate_shortDayName);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_longMonthName, "QDate.longMonthName(int) -> str\n"
    "QDate.longMonthName(int, QDate.MonthNameType) -> str");

extern "C" {static PyObject *meth_QDate_longMonthName(PyObject *, PyObject *);}
static PyObject *meth_QDate_longMonthName(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QDate::longMonthName(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        int a0;
        QDate::MonthNameType a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "iE", &a0, sipType_QDate_MonthNameType, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QDate::longMonthName(a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_longMonthName, doc_QDate_longMonthName);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_longDayName, "QDate.longDayName(int) -> str\n"
    "QDate.longDayName(int, QDate.MonthNameType) -> str");

extern "C" {static PyObject *meth_QDate_longDayName(PyObject *, PyObject *);}
static PyObject *meth_QDate_longDayName(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QDate::longDayName(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        int a0;
        QDate::MonthNameType a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "iE", &a0, sipType_QDate_MonthNameType, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QDate::longDayName(a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toString(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toString(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_toString, doc_QDate_toString);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_setYMD, "QDate.setYMD(int, int, int) -> bool");

extern "C" {static PyObject *meth_QDate_setYMD(PyObject *, PyObject *);}
static PyObject *meth_QDate_setYMD(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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setYMD(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_setYMD, doc_QDate_setYMD);

    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;

    {
        int a0;
        const QDate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDate, &sipCpp, &a0))
        {
            QDate*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDate(sipCpp->addDays(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDate(sipCpp->addMonths(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDate(sipCpp->addYears(a0));
            Py_END_ALLOW_THREADS

            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))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->daysTo(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QDate *>(a0),sipType_QDate,a0State);

            return SIPLong_FromLong(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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDate(QDate::currentDate());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDate(QDate::fromString(*a0,a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDate(QDate::fromString(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QDate::isLeapYear(a0);
            Py_END_ALLOW_THREADS

            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_gregorianToJulian, "QDate.gregorianToJulian(int, int, int) -> int");

extern "C" {static PyObject *meth_QDate_gregorianToJulian(PyObject *, PyObject *);}
static PyObject *meth_QDate_gregorianToJulian(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "iii", &a0, &a1, &a2))
        {
            uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QDate::gregorianToJulian(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_gregorianToJulian, doc_QDate_gregorianToJulian);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_julianToGregorian, "QDate.julianToGregorian(int) -> (int, int, int)");

extern "C" {static PyObject *meth_QDate_julianToGregorian(PyObject *, PyObject *);}
static PyObject *meth_QDate_julianToGregorian(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        uint a0;
        int a1;
        int a2;
        int a3;

        if (sipParseArgs(&sipParseErr, sipArgs, "u", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            QDate::julianToGregorian(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(iii)",a1,a2,a3);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_julianToGregorian, doc_QDate_julianToGregorian);

    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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            QDate*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDate(QDate::fromJulianDay(a0));
            Py_END_ALLOW_THREADS

            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))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toJulianDay();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setDate(a0,a1,a2);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->getDate(&a0,&a1,&a2);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QDate::operator>=(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QDate::operator>(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QDate::operator<=(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QDate::operator<(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QDate::operator!=(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QDate::operator==(*a0);
            Py_END_ALLOW_THREADS
            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 129 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
        sipRes = !sipCpp->isNull();
#line 123109 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 104 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
        if (sipIsAPIEnabled("QDate", 2, 0))
        {
            sipRes = qHash(sipCpp->toString(Qt::ISODate));
        }
        else
        {
            // Mimic Python's default behavour.
            sipRes = _Py_HashPointer(sipSelf);
        }
#line 123142 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 81 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
        if (sipCpp->isNull())
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromString("PyQt4.QtCore.QDate()");
        #else
            sipRes = PyString_FromString("PyQt4.QtCore.QDate()");
        #endif
        }
        else
        {
            sipRes =
        #if PY_MAJOR_VERSION >= 3
                PyUnicode_FromFormat
        #else
                PyString_FromFormat
        #endif
                    ("PyQt4.QtCore.QDate(%i, %i, %i)", sipCpp->year(),
                    sipCpp->month(), sipCpp->day());
        }
#line 123185 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDate *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static PyObject *pickle_QDate(void *);}
static PyObject *pickle_QDate(void *sipCppV)
{
    QDate *sipCpp = reinterpret_cast<QDate *>(sipCppV);
    PyObject *sipRes;

#line 73 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
    sipRes = Py_BuildValue((char *)"iii", sipCpp->year(), sipCpp->month(), sipCpp->day());
#line 123226 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDate();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        int a0;
        int a1;
        int a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "iii", &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDate(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QDate* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QDate, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDate(*a0);
            Py_END_ALLOW_THREADS
            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 42 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#if PY_VERSION_HEX >= 0x02040000
    if (!PyDateTimeAPI)
        PyDateTime_IMPORT;
#endif

// Allow a Python date object whenever a QDate is expected.

if (sipIsErr == NULL)
    return (
#if PY_VERSION_HEX >= 0x02040000
            PyDate_Check(sipPy) ||
#endif
            sipCanConvertToType(sipPy, sipType_QDate, SIP_NO_CONVERTORS));

#if PY_VERSION_HEX >= 0x02040000
if (PyDate_Check(sipPy))
{
    *sipCppPtr = new QDate(PyDateTime_GET_YEAR(sipPy),
                           PyDateTime_GET_MONTH(sipPy),
                           PyDateTime_GET_DAY(sipPy));

    return sipGetState(sipTransferObj);
}
#endif

*sipCppPtr = reinterpret_cast<QDate *>(sipConvertToType(sipPy, sipType_QDate, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 123347 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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_gregorianToJulian), meth_QDate_gregorianToJulian, METH_VARARGS, SIP_MLDOC_CAST(doc_QDate_gregorianToJulian)},
    {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_julianToGregorian), meth_QDate_julianToGregorian, METH_VARARGS, SIP_MLDOC_CAST(doc_QDate_julianToGregorian)},
    {SIP_MLNAME_CAST(sipName_longDayName), meth_QDate_longDayName, METH_VARARGS, SIP_MLDOC_CAST(doc_QDate_longDayName)},
    {SIP_MLNAME_CAST(sipName_longMonthName), meth_QDate_longMonthName, METH_VARARGS, 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_setYMD), meth_QDate_setYMD, METH_VARARGS, SIP_MLDOC_CAST(doc_QDate_setYMD)},
    {SIP_MLNAME_CAST(sipName_shortDayName), meth_QDate_shortDayName, METH_VARARGS, SIP_MLDOC_CAST(doc_QDate_shortDayName)},
    {SIP_MLNAME_CAST(sipName_shortMonthName), meth_QDate_shortMonthName, METH_VARARGS, 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), 43},
    {sipName_StandaloneFormat, static_cast<int>(QDate::StandaloneFormat), 43},
};

PyDoc_STRVAR(doc_QDate, "\1QDate()\n"
    "QDate(int, int, int)\n"
    "QDate(QDate)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QDate = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDate,
        {0}
    },
    {
        sipNameNr_QDate,
        {0, 0, 1},
        30, methods_QDate,
        2, enummembers_QDate,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDate,
    sipNameNr_PyQt4_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
};

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 123465 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 123469 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 123472 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 123475 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbitarray.sip"
#include <qbitarray.h>
#line 123478 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 67 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 123481 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 123484 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 245 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 123487 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 401 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 123490 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qeasingcurve.sip"
#include <qeasingcurve.h>
#line 123493 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qline.sip"
#include <qline.h>
#line 123496 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 108 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qline.sip"
#include <qline.h>
#line 123499 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 123502 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 123505 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 114 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 123508 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 123511 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 163 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 123514 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 123517 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 123520 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 107 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 123523 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 123526 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 123529 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 102 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 123532 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 107 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/quuid.sip"
#include <quuid.h>
#line 123535 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 123538 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qhash.sip"
#include <qhash.h>
#line 123541 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 72 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 123544 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 123547 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmap.sip"
#include <qmap.h>
#line 123550 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 123553 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


class sipQDataStream : public QDataStream
{
public:
    sipQDataStream();
    sipQDataStream(QIODevice*);
    sipQDataStream(QByteArray*,QIODevice::OpenMode);
    sipQDataStream(const QByteArray&);
    ~sipQDataStream();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQDataStream(const sipQDataStream &);
    sipQDataStream &operator = (const sipQDataStream &);
};

sipQDataStream::sipQDataStream(): QDataStream(), sipPySelf(0)
{
}

sipQDataStream::sipQDataStream(QIODevice*a0): QDataStream(a0), sipPySelf(0)
{
}

sipQDataStream::sipQDataStream(QByteArray*a0,QIODevice::OpenMode a1): QDataStream(a0,a1), sipPySelf(0)
{
}

sipQDataStream::sipQDataStream(const QByteArray& a0): QDataStream(a0), sipPySelf(0)
{
}

sipQDataStream::~sipQDataStream()
{
    sipCommonDtor(sipPySelf);
}


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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->device();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDevice(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_QDataStream, sipName_setDevice, doc_QDataStream_setDevice);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_unsetDevice, "QDataStream.unsetDevice()");

extern "C" {static PyObject *meth_QDataStream_unsetDevice(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_unsetDevice(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->unsetDevice();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_unsetDevice, doc_QDataStream_unsetDevice);

    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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->atEnd();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->status();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStatus(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resetStatus();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->byteOrder();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setByteOrder(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->version();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setVersion(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_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 110 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 123960 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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() -> str");

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 117 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 123991 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPBytes_FromStringAndSize((char *)&sipRes,1);
        }
    }

    /* 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() -> str");

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 124 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 124022 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPBytes_FromStringAndSize((char *)&sipRes,1);
        }
    }

    /* 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 131 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 124053 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 138 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 124084 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 145 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 124119 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 152 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 124150 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 159 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 124181 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 166 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 124212 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 173 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 124243 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 180 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 124274 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 187 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 124305 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 194 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 124349 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 214 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 124379 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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(str)");

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, "Bc", &sipSelf, sipType_QDataStream, &sipCpp, &a0))
        {
#line 221 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 124410 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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(str)");

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, "Bc", &sipSelf, sipType_QDataStream, &sipCpp, &a0))
        {
#line 228 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 124441 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 235 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 124472 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 242 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 124503 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 249 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 124534 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 256 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 124565 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 263 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 124596 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 270 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 124627 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 277 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 124658 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 284 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 124689 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 291 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 124720 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 298 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 124751 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 305 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    sipRes = new QString;

    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> *sipRes;
    Py_END_ALLOW_THREADS
#line 124785 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 314 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << *a0;
    Py_END_ALLOW_THREADS
#line 124816 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 321 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    sipRes = new QStringList;

    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> *sipRes;
    Py_END_ALLOW_THREADS
#line 124851 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 330 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << *a0;
    Py_END_ALLOW_THREADS
#line 124882 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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() -> object");

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 337 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    sipRes = new QVariant;

    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> *sipRes;
    Py_END_ALLOW_THREADS
#line 124917 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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(object)");

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 346 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << *a0;
    Py_END_ALLOW_THREADS
#line 124948 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 353 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    sipRes = new QVariantList;

    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> *sipRes;
    Py_END_ALLOW_THREADS
#line 124983 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 362 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << *a0;
    Py_END_ALLOW_THREADS
#line 125014 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 369 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    sipRes = new QVariantMap;

    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> *sipRes;
    Py_END_ALLOW_THREADS
#line 125049 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 378 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << *a0;
    Py_END_ALLOW_THREADS
#line 125080 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 387 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    sipRes = new QVariantHash;

    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> *sipRes;
    Py_END_ALLOW_THREADS
#line 125115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 396 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << *a0;
    Py_END_ALLOW_THREADS
#line 125146 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 404 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 125189 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 420 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 125234 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->floatingPointPrecision();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFloatingPointPrecision(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_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 QChar* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QChar,&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 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 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);
        }
    }

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        QDataStream* a0;
        const QString* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QString,&a1))
        {
            QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        QDataStream* a0;
        const QStringList* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QStringList,&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);
        }
    }

    if (sipIsAPIEnabled(sipName_QVariant, 0, 2))
    {
        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;
        QChar* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QChar,&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;
        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;
        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);
        }
    }

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        QDataStream* a0;
        QString* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QString,&a1))
        {
            QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 >> *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        QDataStream* a0;
        QStringList* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QStringList,&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);
        }
    }

    if (sipIsAPIEnabled(sipName_QVariant, 0, 2))
    {
        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 sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQDataStream *>(sipCppV);
    else
        delete reinterpret_cast<QDataStream *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QDataStream(sipSimpleWrapper *);}
static void dealloc_QDataStream(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQDataStream *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QDataStream(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QDataStream(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDataStream(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQDataStream *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDataStream();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QIODevice* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QIODevice, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDataStream(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDataStream(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QIODevice_OpenMode,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QByteArray* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QByteArray, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDataStream(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            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_unsetDevice), meth_QDataStream_unsetDevice, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_unsetDevice)},
    {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), 38},
    {sipName_DoublePrecision, static_cast<int>(QDataStream::DoublePrecision), 39},
    {sipName_LittleEndian, static_cast<int>(QDataStream::LittleEndian), 38},
    {sipName_Ok, static_cast<int>(QDataStream::Ok), 40},
    {sipName_Qt_1_0, static_cast<int>(QDataStream::Qt_1_0), 41},
    {sipName_Qt_2_0, static_cast<int>(QDataStream::Qt_2_0), 41},
    {sipName_Qt_2_1, static_cast<int>(QDataStream::Qt_2_1), 41},
    {sipName_Qt_3_0, static_cast<int>(QDataStream::Qt_3_0), 41},
    {sipName_Qt_3_1, static_cast<int>(QDataStream::Qt_3_1), 41},
    {sipName_Qt_3_3, static_cast<int>(QDataStream::Qt_3_3), 41},
    {sipName_Qt_4_0, static_cast<int>(QDataStream::Qt_4_0), 41},
    {sipName_Qt_4_1, static_cast<int>(QDataStream::Qt_4_1), 41},
    {sipName_Qt_4_2, static_cast<int>(QDataStream::Qt_4_2), 41},
    {sipName_Qt_4_3, static_cast<int>(QDataStream::Qt_4_3), 41},
    {sipName_Qt_4_4, static_cast<int>(QDataStream::Qt_4_4), 41},
    {sipName_Qt_4_5, static_cast<int>(QDataStream::Qt_4_5), 41},
    {sipName_Qt_4_6, static_cast<int>(QDataStream::Qt_4_6), 41},
    {sipName_Qt_4_7, static_cast<int>(QDataStream::Qt_4_7), 41},
    {sipName_Qt_4_8, static_cast<int>(QDataStream::Qt_4_8), 41},
    {sipName_ReadCorruptData, static_cast<int>(QDataStream::ReadCorruptData), 40},
    {sipName_ReadPastEnd, static_cast<int>(QDataStream::ReadPastEnd), 40},
    {sipName_SinglePrecision, static_cast<int>(QDataStream::SinglePrecision), 39},
    {sipName_WriteFailed, static_cast<int>(QDataStream::WriteFailed), 40},
};

PyDoc_STRVAR(doc_QDataStream, "\1QDataStream()\n"
    "QDataStream(QIODevice)\n"
    "QDataStream(QByteArray, QIODevice.OpenMode)\n"
    "QDataStream(QByteArray)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QDataStream = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDataStream,
        {0}
    },
    {
        sipNameNr_QDataStream,
        {0, 0, 1},
        56, methods_QDataStream,
        23, enummembers_QDataStream,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDataStream,
    sipNameNr_PyQt4_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
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcryptographichash.sip"
#include <qcryptographichash.h>
#line 126404 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 126408 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->reset();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCryptographicHash, sipName_reset, doc_QCryptographicHash_reset);

    return NULL;
}


PyDoc_STRVAR(doc_QCryptographicHash_addData, "QCryptographicHash.addData(str)\n"
    "QCryptographicHash.addData(QByteArray)");

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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addData(a0,(int)a1);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addData(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->result());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(QCryptographicHash::hash(*a0,a1));
            Py_END_ALLOW_THREADS
            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QCryptographicHash *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QCryptographicHash(a0);
            Py_END_ALLOW_THREADS

            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), 36},
    {sipName_Md5, static_cast<int>(QCryptographicHash::Md5), 36},
    {sipName_Sha1, static_cast<int>(QCryptographicHash::Sha1), 36},
};

PyDoc_STRVAR(doc_QCryptographicHash, "\1QCryptographicHash(QCryptographicHash.Algorithm)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QCryptographicHash = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QCryptographicHash,
        {0}
    },
    {
        sipNameNr_QCryptographicHash,
        {0, 0, 1},
        4, methods_QCryptographicHash,
        3, enummembers_QCryptographicHash,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCryptographicHash,
    sipNameNr_PyQt4_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
};

#line 385 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 126675 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 126679 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 126682 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->propertyName());
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQDynamicPropertyChangeEvent *>(sipCppV);
    else
        delete reinterpret_cast<QDynamicPropertyChangeEvent *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDynamicPropertyChangeEvent(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDynamicPropertyChangeEvent(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDynamicPropertyChangeEvent[] = {{58, 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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QDynamicPropertyChangeEvent = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|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
};

#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 126896 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 126900 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 126903 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->child();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->added();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->polished();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->removed();
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQChildEvent *>(sipCppV);
    else
        delete reinterpret_cast<QChildEvent *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQChildEvent(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QChildEvent* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQChildEvent(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QChildEvent[] = {{58, 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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QChildEvent = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|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
};

#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 127206 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 127210 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->timerId();
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQTimerEvent *>(sipCppV);
    else
        delete reinterpret_cast<QTimerEvent *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQTimerEvent(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QTimerEvent* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQTimerEvent(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QTimerEvent[] = {{58, 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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QTimerEvent = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|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
};

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 127422 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->type();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->spontaneous();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAccepted(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isAccepted();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->accept();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->ignore();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QEvent::registerEventType(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQEvent *>(sipCppV);
    else
        delete reinterpret_cast<QEvent *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQEvent(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QEvent* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQEvent(*a0);
            Py_END_ALLOW_THREADS

            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_AccessibilityDescription, static_cast<int>(QEvent::AccessibilityDescription), 59},
    {sipName_AccessibilityHelp, static_cast<int>(QEvent::AccessibilityHelp), 59},
    {sipName_AccessibilityPrepare, static_cast<int>(QEvent::AccessibilityPrepare), 59},
    {sipName_ActionAdded, static_cast<int>(QEvent::ActionAdded), 59},
    {sipName_ActionChanged, static_cast<int>(QEvent::ActionChanged), 59},
    {sipName_ActionRemoved, static_cast<int>(QEvent::ActionRemoved), 59},
    {sipName_ActivationChange, static_cast<int>(QEvent::ActivationChange), 59},
    {sipName_ApplicationActivate, static_cast<int>(QEvent::ApplicationActivate), 59},
    {sipName_ApplicationActivated, static_cast<int>(QEvent::ApplicationActivated), 59},
    {sipName_ApplicationDeactivate, static_cast<int>(QEvent::ApplicationDeactivate), 59},
    {sipName_ApplicationDeactivated, static_cast<int>(QEvent::ApplicationDeactivated), 59},
    {sipName_ApplicationFontChange, static_cast<int>(QEvent::ApplicationFontChange), 59},
    {sipName_ApplicationLayoutDirectionChange, static_cast<int>(QEvent::ApplicationLayoutDirectionChange), 59},
    {sipName_ApplicationPaletteChange, static_cast<int>(QEvent::ApplicationPaletteChange), 59},
    {sipName_ApplicationWindowIconChange, static_cast<int>(QEvent::ApplicationWindowIconChange), 59},
    {sipName_ChildAdded, static_cast<int>(QEvent::ChildAdded), 59},
    {sipName_ChildPolished, static_cast<int>(QEvent::ChildPolished), 59},
    {sipName_ChildRemoved, static_cast<int>(QEvent::ChildRemoved), 59},
    {sipName_Clipboard, static_cast<int>(QEvent::Clipboard), 59},
    {sipName_Close, static_cast<int>(QEvent::Close), 59},
    {sipName_CloseSoftwareInputPanel, static_cast<int>(QEvent::CloseSoftwareInputPanel), 59},
    {sipName_ContentsRectChange, static_cast<int>(QEvent::ContentsRectChange), 59},
    {sipName_ContextMenu, static_cast<int>(QEvent::ContextMenu), 59},
    {sipName_CursorChange, static_cast<int>(QEvent::CursorChange), 59},
    {sipName_DeferredDelete, static_cast<int>(QEvent::DeferredDelete), 59},
    {sipName_DragEnter, static_cast<int>(QEvent::DragEnter), 59},
    {sipName_DragLeave, static_cast<int>(QEvent::DragLeave), 59},
    {sipName_DragMove, static_cast<int>(QEvent::DragMove), 59},
    {sipName_Drop, static_cast<int>(QEvent::Drop), 59},
    {sipName_DynamicPropertyChange, static_cast<int>(QEvent::DynamicPropertyChange), 59},
    {sipName_EnabledChange, static_cast<int>(QEvent::EnabledChange), 59},
    {sipName_Enter, static_cast<int>(QEvent::Enter), 59},
    {sipName_EnterWhatsThisMode, static_cast<int>(QEvent::EnterWhatsThisMode), 59},
    {sipName_FileOpen, static_cast<int>(QEvent::FileOpen), 59},
    {sipName_FocusIn, static_cast<int>(QEvent::FocusIn), 59},
    {sipName_FocusOut, static_cast<int>(QEvent::FocusOut), 59},
    {sipName_FontChange, static_cast<int>(QEvent::FontChange), 59},
    {sipName_Gesture, static_cast<int>(QEvent::Gesture), 59},
    {sipName_GestureOverride, static_cast<int>(QEvent::GestureOverride), 59},
    {sipName_GrabKeyboard, static_cast<int>(QEvent::GrabKeyboard), 59},
    {sipName_GrabMouse, static_cast<int>(QEvent::GrabMouse), 59},
    {sipName_GraphicsSceneContextMenu, static_cast<int>(QEvent::GraphicsSceneContextMenu), 59},
    {sipName_GraphicsSceneDragEnter, static_cast<int>(QEvent::GraphicsSceneDragEnter), 59},
    {sipName_GraphicsSceneDragLeave, static_cast<int>(QEvent::GraphicsSceneDragLeave), 59},
    {sipName_GraphicsSceneDragMove, static_cast<int>(QEvent::GraphicsSceneDragMove), 59},
    {sipName_GraphicsSceneDrop, static_cast<int>(QEvent::GraphicsSceneDrop), 59},
    {sipName_GraphicsSceneHelp, static_cast<int>(QEvent::GraphicsSceneHelp), 59},
    {sipName_GraphicsSceneHoverEnter, static_cast<int>(QEvent::GraphicsSceneHoverEnter), 59},
    {sipName_GraphicsSceneHoverLeave, static_cast<int>(QEvent::GraphicsSceneHoverLeave), 59},
    {sipName_GraphicsSceneHoverMove, static_cast<int>(QEvent::GraphicsSceneHoverMove), 59},
    {sipName_GraphicsSceneMouseDoubleClick, static_cast<int>(QEvent::GraphicsSceneMouseDoubleClick), 59},
    {sipName_GraphicsSceneMouseMove, static_cast<int>(QEvent::GraphicsSceneMouseMove), 59},
    {sipName_GraphicsSceneMousePress, static_cast<int>(QEvent::GraphicsSceneMousePress), 59},
    {sipName_GraphicsSceneMouseRelease, static_cast<int>(QEvent::GraphicsSceneMouseRelease), 59},
    {sipName_GraphicsSceneMove, static_cast<int>(QEvent::GraphicsSceneMove), 59},
    {sipName_GraphicsSceneResize, static_cast<int>(QEvent::GraphicsSceneResize), 59},
    {sipName_GraphicsSceneWheel, static_cast<int>(QEvent::GraphicsSceneWheel), 59},
    {sipName_Hide, static_cast<int>(QEvent::Hide), 59},
    {sipName_HideToParent, static_cast<int>(QEvent::HideToParent), 59},
    {sipName_HoverEnter, static_cast<int>(QEvent::HoverEnter), 59},
    {sipName_HoverLeave, static_cast<int>(QEvent::HoverLeave), 59},
    {sipName_HoverMove, static_cast<int>(QEvent::HoverMove), 59},
    {sipName_IconDrag, static_cast<int>(QEvent::IconDrag), 59},
    {sipName_IconTextChange, static_cast<int>(QEvent::IconTextChange), 59},
    {sipName_InputMethod, static_cast<int>(QEvent::InputMethod), 59},
    {sipName_KeyPress, static_cast<int>(QEvent::KeyPress), 59},
    {sipName_KeyRelease, static_cast<int>(QEvent::KeyRelease), 59},
    {sipName_KeyboardLayoutChange, static_cast<int>(QEvent::KeyboardLayoutChange), 59},
    {sipName_LanguageChange, static_cast<int>(QEvent::LanguageChange), 59},
    {sipName_LayoutDirectionChange, static_cast<int>(QEvent::LayoutDirectionChange), 59},
    {sipName_LayoutRequest, static_cast<int>(QEvent::LayoutRequest), 59},
    {sipName_Leave, static_cast<int>(QEvent::Leave), 59},
    {sipName_LeaveWhatsThisMode, static_cast<int>(QEvent::LeaveWhatsThisMode), 59},
    {sipName_LocaleChange, static_cast<int>(QEvent::LocaleChange), 59},
    {sipName_MacSizeChange, static_cast<int>(QEvent::MacSizeChange), 59},
    {sipName_MaxUser, static_cast<int>(QEvent::MaxUser), 59},
    {sipName_MenubarUpdated, static_cast<int>(QEvent::MenubarUpdated), 59},
    {sipName_MetaCall, static_cast<int>(QEvent::MetaCall), 59},
    {sipName_ModifiedChange, static_cast<int>(QEvent::ModifiedChange), 59},
    {sipName_MouseButtonDblClick, static_cast<int>(QEvent::MouseButtonDblClick), 59},
    {sipName_MouseButtonPress, static_cast<int>(QEvent::MouseButtonPress), 59},
    {sipName_MouseButtonRelease, static_cast<int>(QEvent::MouseButtonRelease), 59},
    {sipName_MouseMove, static_cast<int>(QEvent::MouseMove), 59},
    {sipName_MouseTrackingChange, static_cast<int>(QEvent::MouseTrackingChange), 59},
    {sipName_Move, static_cast<int>(QEvent::Move), 59},
    {sipName_NonClientAreaMouseButtonDblClick, static_cast<int>(QEvent::NonClientAreaMouseButtonDblClick), 59},
    {sipName_NonClientAreaMouseButtonPress, static_cast<int>(QEvent::NonClientAreaMouseButtonPress), 59},
    {sipName_NonClientAreaMouseButtonRelease, static_cast<int>(QEvent::NonClientAreaMouseButtonRelease), 59},
    {sipName_NonClientAreaMouseMove, static_cast<int>(QEvent::NonClientAreaMouseMove), 59},
    {sipName_None, static_cast<int>(QEvent::None), 59},
    {sipName_OkRequest, static_cast<int>(QEvent::OkRequest), 59},
    {sipName_Paint, static_cast<int>(QEvent::Paint), 59},
    {sipName_PaletteChange, static_cast<int>(QEvent::PaletteChange), 59},
    {sipName_ParentAboutToChange, static_cast<int>(QEvent::ParentAboutToChange), 59},
    {sipName_ParentChange, static_cast<int>(QEvent::ParentChange), 59},
    {sipName_PlatformPanel, static_cast<int>(QEvent::PlatformPanel), 59},
    {sipName_Polish, static_cast<int>(QEvent::Polish), 59},
    {sipName_PolishRequest, static_cast<int>(QEvent::PolishRequest), 59},
    {sipName_QueryWhatsThis, static_cast<int>(QEvent::QueryWhatsThis), 59},
    {sipName_RequestSoftwareInputPanel, static_cast<int>(QEvent::RequestSoftwareInputPanel), 59},
    {sipName_Resize, static_cast<int>(QEvent::Resize), 59},
    {sipName_Shortcut, static_cast<int>(QEvent::Shortcut), 59},
    {sipName_ShortcutOverride, static_cast<int>(QEvent::ShortcutOverride), 59},
    {sipName_Show, static_cast<int>(QEvent::Show), 59},
    {sipName_ShowToParent, static_cast<int>(QEvent::ShowToParent), 59},
    {sipName_SockAct, static_cast<int>(QEvent::SockAct), 59},
    {sipName_StateMachineSignal, static_cast<int>(QEvent::StateMachineSignal), 59},
    {sipName_StateMachineWrapped, static_cast<int>(QEvent::StateMachineWrapped), 59},
    {sipName_StatusTip, static_cast<int>(QEvent::StatusTip), 59},
    {sipName_StyleChange, static_cast<int>(QEvent::StyleChange), 59},
    {sipName_TabletEnterProximity, static_cast<int>(QEvent::TabletEnterProximity), 59},
    {sipName_TabletLeaveProximity, static_cast<int>(QEvent::TabletLeaveProximity), 59},
    {sipName_TabletMove, static_cast<int>(QEvent::TabletMove), 59},
    {sipName_TabletPress, static_cast<int>(QEvent::TabletPress), 59},
    {sipName_TabletRelease, static_cast<int>(QEvent::TabletRelease), 59},
    {sipName_Timer, static_cast<int>(QEvent::Timer), 59},
    {sipName_ToolBarChange, static_cast<int>(QEvent::ToolBarChange), 59},
    {sipName_ToolTip, static_cast<int>(QEvent::ToolTip), 59},
    {sipName_ToolTipChange, static_cast<int>(QEvent::ToolTipChange), 59},
    {sipName_TouchBegin, static_cast<int>(QEvent::TouchBegin), 59},
    {sipName_TouchEnd, static_cast<int>(QEvent::TouchEnd), 59},
    {sipName_TouchUpdate, static_cast<int>(QEvent::TouchUpdate), 59},
    {sipName_UngrabKeyboard, static_cast<int>(QEvent::UngrabKeyboard), 59},
    {sipName_UngrabMouse, static_cast<int>(QEvent::UngrabMouse), 59},
    {sipName_UpdateLater, static_cast<int>(QEvent::UpdateLater), 59},
    {sipName_UpdateRequest, static_cast<int>(QEvent::UpdateRequest), 59},
    {sipName_User, static_cast<int>(QEvent::User), 59},
    {sipName_WhatsThis, static_cast<int>(QEvent::WhatsThis), 59},
    {sipName_WhatsThisClicked, static_cast<int>(QEvent::WhatsThisClicked), 59},
    {sipName_Wheel, static_cast<int>(QEvent::Wheel), 59},
    {sipName_WinEventAct, static_cast<int>(QEvent::WinEventAct), 59},
    {sipName_WinIdChange, static_cast<int>(QEvent::WinIdChange), 59},
    {sipName_WindowActivate, static_cast<int>(QEvent::WindowActivate), 59},
    {sipName_WindowBlocked, static_cast<int>(QEvent::WindowBlocked), 59},
    {sipName_WindowDeactivate, static_cast<int>(QEvent::WindowDeactivate), 59},
    {sipName_WindowIconChange, static_cast<int>(QEvent::WindowIconChange), 59},
    {sipName_WindowStateChange, static_cast<int>(QEvent::WindowStateChange), 59},
    {sipName_WindowTitleChange, static_cast<int>(QEvent::WindowTitleChange), 59},
    {sipName_WindowUnblocked, static_cast<int>(QEvent::WindowUnblocked), 59},
    {sipName_ZOrderChange, static_cast<int>(QEvent::ZOrderChange), 59},
};

PyDoc_STRVAR(doc_QEvent, "\1QEvent(QEvent.Type)\n"
    "QEvent(QEvent)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QEvent = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QEvent,
        {0}
    },
    {
        sipNameNr_QEvent,
        {0, 0, 1},
        7, methods_QEvent,
        140, enummembers_QEvent,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QEvent,
    sipNameNr_PyQt4_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
};

#line 68 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreapplication.sip"
#include <qcoreapplication.h>
#line 127951 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 127955 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 127958 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 127961 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qtranslator.sip"
#include <qtranslator.h>
#line 127964 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 127967 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 127970 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 127973 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 127976 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 127979 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 127982 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 127985 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 127988 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 127991 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 127994 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 127997 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 128000 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;
    bool sipProtectVirt_event(bool,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QCoreApplication, _clname)) ? this : QCoreApplication::qt_metacast(_clname);
}

void sipQCoreApplication::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQCoreApplication::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQCoreApplication::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQCoreApplication::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 128299 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQCoreApplication *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QCoreApplication, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 128344 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QCoreApplication, sipName_customEvent, doc_QCoreApplication_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_connectNotify, "QCoreApplication.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQCoreApplication *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QCoreApplication, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QCoreApplication, sipName_connectNotify, doc_QCoreApplication_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_disconnectNotify, "QCoreApplication.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQCoreApplication *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QCoreApplication, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_argc, "QCoreApplication.argc() -> int");

extern "C" {static PyObject *meth_QCoreApplication_argc(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_argc(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QCoreApplication::argc();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_argc, doc_QCoreApplication_argc);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_argv, "QCoreApplication.argv() -> list-of-str");

extern "C" {static PyObject *meth_QCoreApplication_argv(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_argv(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 104 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreapplication.sip"
        // The Python interface returns a list of strings.
        
        int argc = QCoreApplication::argc();
        
        if ((sipRes = PyList_New(argc)) == NULL)
        {
            sipIsErr = 1;
        }
        else
        {
            char **argv = QCoreApplication::argv();
        
            for (int a = 0; a < argc; ++a)
            {
        #if PY_MAJOR_VERSION >= 3
                PyObject *arg_obj = PyUnicode_FromString(argv[a]);
        #else
                PyObject *arg_obj = PyString_FromString(argv[a]);
        #endif
        
                if (!arg_obj)
                {
                    Py_DECREF(sipRes);
                    sipIsErr = 1;
                    break;
                }
        
                PyList_SET_ITEM(sipRes, a, arg_obj);
            }
        }
#line 128607 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_argv, doc_QCoreApplication_argv);

    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))
        {
            Py_BEGIN_ALLOW_THREADS
            QCoreApplication::setOrganizationDomain(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QCoreApplication::organizationDomain());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            QCoreApplication::setOrganizationName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QCoreApplication::organizationName());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            QCoreApplication::setApplicationName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QCoreApplication::applicationName());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(QCoreApplication::arguments());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QCoreApplication::instance();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            QCoreApplication::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_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)\n"
    "QCoreApplication.postEvent(QObject, QEvent, int)");

extern "C" {static PyObject *meth_QCoreApplication_postEvent(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_postEvent(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        QEvent* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J:", sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            QCoreApplication::postEvent(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QObject* a0;
        QEvent* a1;
        int a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J:i", sipType_QObject, &a0, sipType_QEvent, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            QCoreApplication::postEvent(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_postEvent, doc_QCoreApplication_postEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_sendPostedEvents, "QCoreApplication.sendPostedEvents(QObject, int)\n"
    "QCoreApplication.sendPostedEvents()");

extern "C" {static PyObject *meth_QCoreApplication_sendPostedEvents(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_sendPostedEvents(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        int a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8i", sipType_QObject, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            QCoreApplication::sendPostedEvents(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            QCoreApplication::sendPostedEvents();
            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)\n"
    "QCoreApplication.removePostedEvents(QObject, int)");

extern "C" {static PyObject *meth_QCoreApplication_removePostedEvents(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_removePostedEvents(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_QObject, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            QCoreApplication::removePostedEvents(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QObject* a0;
        int a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8i", sipType_QObject, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            QCoreApplication::removePostedEvents(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QCoreApplication::hasPendingEvents();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QCoreApplication::startingUp();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QCoreApplication::closingDown();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QCoreApplication::applicationDirPath());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QCoreApplication::applicationFilePath());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            QCoreApplication::setLibraryPaths(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(QCoreApplication::libraryPaths());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            QCoreApplication::addLibraryPath(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            QCoreApplication::removeLibraryPath(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_removeLibraryPath, doc_QCoreApplication_removeLibraryPath);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_installTranslator, "QCoreApplication.installTranslator(QTranslator)");

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))
        {
            Py_BEGIN_ALLOW_THREADS
            QCoreApplication::installTranslator(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_QCoreApplication, sipName_installTranslator, doc_QCoreApplication_installTranslator);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_removeTranslator, "QCoreApplication.removeTranslator(QTranslator)");

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))
        {
            Py_BEGIN_ALLOW_THREADS
            QCoreApplication::removeTranslator(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_QCoreApplication, sipName_removeTranslator, doc_QCoreApplication_removeTranslator);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_translate, "QCoreApplication.translate(str, str, str disambiguation=None, QCoreApplication.Encoding encoding=QCoreApplication.CodecForTr) -> str\n"
    "QCoreApplication.translate(str, str, str, QCoreApplication.Encoding, int) -> 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;
        PyObject * a1;
        const char* a2 = 0;
        PyObject *a2Keep = 0;
        QCoreApplication::Encoding a3 = QCoreApplication::CodecForTr;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_disambiguation,
            sipName_encoding,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "AAP0|AAE", &a0Keep, &a0, &a1, &a2Keep, &a2, sipType_QCoreApplication_Encoding, &a3))
        {
            QString*sipRes = 0;
            int sipIsErr = 0;

#line 224 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreapplication.sip"
        const char *source = qpycore_encode(&a1, a3);
        
        if (source)
        {
            sipRes = new QString(QCoreApplication::translate(a0, source, a2, a3));
            Py_DECREF(a1);
        }
        else
        {
            sipIsErr = 1;
        }
#line 129537 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            Py_DECREF(a0Keep);
            Py_XDECREF(a2Keep);

            if (sipIsErr)
                return 0;

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        PyObject * a1;
        const char* a2;
        PyObject *a2Keep;
        QCoreApplication::Encoding a3;
        int a4;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "AAP0AAEi", &a0Keep, &a0, &a1, &a2Keep, &a2, sipType_QCoreApplication_Encoding, &a3, &a4))
        {
            QString*sipRes = 0;
            int sipIsErr = 0;

#line 243 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreapplication.sip"
        const char *source = qpycore_encode(&a1, a3);
        
        if (source)
        {
            sipRes = new QString(QCoreApplication::translate(a0, source, a2, a3, a4));
            Py_DECREF(a1);
        }
        else
        {
            sipIsErr = 1;
        }
#line 129574 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            Py_DECREF(a0Keep);
            Py_DECREF(a2Keep);

            if (sipIsErr)
                return 0;

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            QCoreApplication::setAttribute(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QCoreApplication::testAttribute(a0);
            Py_END_ALLOW_THREADS

            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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            QCoreApplication::quit();
            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            QCoreApplication::setApplicationVersion(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QCoreApplication::applicationVersion());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QCoreApplication::applicationPid();
            Py_END_ALLOW_THREADS

            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;
}


/* 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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QCoreApplication(sipSimpleWrapper *);}
static void dealloc_QCoreApplication(sipSimpleWrapper *sipSelf)
{
    if (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 74 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 = qpycore_ArgvToC(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.
            qpycore_UpdatePyArgv(a0, argc, argv);
        }
#line 129902 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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[] = {{141, 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_argc), meth_QCoreApplication_argc, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_argc)},
    {SIP_MLNAME_CAST(sipName_arguments), meth_QCoreApplication_arguments, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_arguments)},
    {SIP_MLNAME_CAST(sipName_argv), meth_QCoreApplication_argv, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_argv)},
    {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_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_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_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), meth_QCoreApplication_postEvent, METH_VARARGS, 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_removePostedEvents), meth_QCoreApplication_removePostedEvents, METH_VARARGS, 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), meth_QCoreApplication_sendPostedEvents, METH_VARARGS, 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_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_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)}
};

static sipEnumMemberDef enummembers_QCoreApplication[] = {
    {sipName_CodecForTr, static_cast<int>(QCoreApplication::CodecForTr), 34},
    {sipName_DefaultCodec, static_cast<int>(QCoreApplication::DefaultCodec), 34},
    {sipName_UnicodeUTF8, static_cast<int>(QCoreApplication::UnicodeUTF8), 34},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_QCoreApplication[] = {
    {"aboutToQuit()", "\1QCoreApplication.aboutToQuit", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QCoreApplication, "\1QCoreApplication(list-of-str)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QCoreApplication = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QCoreApplication,
        {0}
    },
    {
        sipNameNr_QCoreApplication,
        {0, 0, 1},
        47, methods_QCoreApplication,
        3, enummembers_QCoreApplication,
        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,
};

#line 116 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 130053 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 130057 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 67 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 130060 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 130063 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 120 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qchar.sip"
// This is needed by __hash__().
#include <qhash.h>
#line 130067 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


extern "C" {static PyObject *meth_QChar_0_digitValue(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_digitValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->digitValue();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        uint a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "u", &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QChar::digitValue(a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_digitValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_toLower(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_toLower(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            QChar*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QChar(sipCpp->toLower());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QChar,NULL);
        }
    }

    {
        uint a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "u", &a0))
        {
            uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QChar::toLower(a0);
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_toLower, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_toUpper(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_toUpper(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            QChar*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QChar(sipCpp->toUpper());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QChar,NULL);
        }
    }

    {
        uint a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "u", &a0))
        {
            uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QChar::toUpper(a0);
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_toUpper, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_category(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_category(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            QChar::Category sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->category();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QChar_Category);
        }
    }

    {
        uint a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "u", &a0))
        {
            QChar::Category sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QChar::category(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QChar_Category);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_category, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_direction(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_direction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            QChar::Direction sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->direction();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QChar_Direction);
        }
    }

    {
        uint a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "u", &a0))
        {
            QChar::Direction sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QChar::direction(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QChar_Direction);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_direction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_joining(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_joining(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            QChar::Joining sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->joining();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QChar_Joining);
        }
    }

    {
        uint a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "u", &a0))
        {
            QChar::Joining sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QChar::joining(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QChar_Joining);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_joining, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_hasMirrored(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_hasMirrored(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasMirrored();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_hasMirrored, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_isLower(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_isLower(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isLower();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_isLower, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_isUpper(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_isUpper(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isUpper();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_isUpper, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_mirroredChar(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_mirroredChar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            QChar*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QChar(sipCpp->mirroredChar());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QChar,NULL);
        }
    }

    {
        uint a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "u", &a0))
        {
            uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QChar::mirroredChar(a0);
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_mirroredChar, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_decomposition(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_decomposition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->decomposition());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        uint a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "u", &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QChar::decomposition(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_decomposition, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_decompositionTag(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_decompositionTag(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            QChar::Decomposition sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->decompositionTag();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QChar_Decomposition);
        }
    }

    {
        uint a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "u", &a0))
        {
            QChar::Decomposition sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QChar::decompositionTag(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QChar_Decomposition);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_decompositionTag, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_combiningClass(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_combiningClass(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            unsigned char sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->combiningClass();
            Py_END_ALLOW_THREADS

            return SIPBytes_FromStringAndSize((char *)&sipRes,1);
        }
    }

    {
        uint a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "u", &a0))
        {
            unsigned char sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QChar::combiningClass(a0);
            Py_END_ALLOW_THREADS

            return SIPBytes_FromStringAndSize((char *)&sipRes,1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_combiningClass, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_unicodeVersion(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_unicodeVersion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            QChar::UnicodeVersion sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->unicodeVersion();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QChar_UnicodeVersion);
        }
    }

    {
        uint a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "u", &a0))
        {
            QChar::UnicodeVersion sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QChar::unicodeVersion(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QChar_UnicodeVersion);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_unicodeVersion, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_toAscii(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_toAscii(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            char sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toAscii();
            Py_END_ALLOW_THREADS

            return SIPBytes_FromStringAndSize(&sipRes,1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_toAscii, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_unicode(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_unicode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            ushort sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->unicode();
            Py_END_ALLOW_THREADS

#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_QChar, sipName_unicode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_fromAscii(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_fromAscii(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "aA", &a0))
        {
            QChar*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QChar(QChar::fromAscii(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QChar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_fromAscii, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_isNull(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_isNull, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_isPrint(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_isPrint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isPrint();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_isPrint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_isPunct(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_isPunct(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isPunct();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_isPunct, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_isSpace(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_isSpace(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isSpace();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_isSpace, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_isMark(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_isMark(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isMark();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_isMark, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_isLetter(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_isLetter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isLetter();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_isLetter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_isNumber(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_isNumber(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNumber();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_isNumber, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_isLetterOrNumber(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_isLetterOrNumber(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isLetterOrNumber();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_isLetterOrNumber, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_isDigit(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_isDigit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDigit();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_isDigit, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_isSymbol(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_isSymbol(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isSymbol();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_isSymbol, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_cell(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_cell(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            uchar sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->cell();
            Py_END_ALLOW_THREADS

            return SIPBytes_FromStringAndSize((char *)&sipRes,1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_cell, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_row(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_row(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            uchar sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->row();
            Py_END_ALLOW_THREADS

            return SIPBytes_FromStringAndSize((char *)&sipRes,1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_row, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_toLatin1(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_toLatin1(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            char sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toLatin1();
            Py_END_ALLOW_THREADS

            return SIPBytes_FromStringAndSize(&sipRes,1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_toLatin1, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_fromLatin1(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_fromLatin1(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "aL", &a0))
        {
            QChar*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QChar(QChar::fromLatin1(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QChar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_fromLatin1, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_setCell(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_setCell(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        uchar a0;
        QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bc", &sipSelf, sipType_QChar, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCell(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_QChar, sipName_setCell, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_setRow(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_setRow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        uchar a0;
        QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bc", &sipSelf, sipType_QChar, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRow(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_QChar, sipName_setRow, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_toTitleCase(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_toTitleCase(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            QChar*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QChar(sipCpp->toTitleCase());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QChar,NULL);
        }
    }

    {
        uint a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "u", &a0))
        {
            uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QChar::toTitleCase(a0);
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_toTitleCase, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_toCaseFolded(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_toCaseFolded(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            QChar*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QChar(sipCpp->toCaseFolded());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QChar,NULL);
        }
    }

    {
        uint a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "u", &a0))
        {
            uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QChar::toCaseFolded(a0);
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_toCaseFolded, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_isTitleCase(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_isTitleCase(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isTitleCase();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_isTitleCase, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_isHighSurrogate(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_isHighSurrogate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isHighSurrogate();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        uint a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "u", &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QChar::isHighSurrogate(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_isHighSurrogate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_isLowSurrogate(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_isLowSurrogate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChar, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isLowSurrogate();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        uint a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "u", &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QChar::isLowSurrogate(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_isLowSurrogate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_surrogateToUcs4(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_surrogateToUcs4(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        ushort a0;
        ushort a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "tt", &a0, &a1))
        {
            uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QChar::surrogateToUcs4(a0,a1);
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    {
        QChar* a0;
        int a0State = 0;
        QChar* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QChar,&a0, &a0State, sipType_QChar,&a1, &a1State))
        {
            uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QChar::surrogateToUcs4(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QChar,a0State);
            sipReleaseType(a1,sipType_QChar,a1State);

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_surrogateToUcs4, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_highSurrogate(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_highSurrogate(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        uint a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "u", &a0))
        {
            ushort sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QChar::highSurrogate(a0);
            Py_END_ALLOW_THREADS

#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_QChar, sipName_highSurrogate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_lowSurrogate(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_lowSurrogate(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        uint a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "u", &a0))
        {
            ushort sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QChar::lowSurrogate(a0);
            Py_END_ALLOW_THREADS

#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_QChar, sipName_lowSurrogate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_requiresSurrogates(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_requiresSurrogates(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        uint a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "u", &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QChar::requiresSurrogates(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_requiresSurrogates, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QChar_0_currentUnicodeVersion(PyObject *, PyObject *);}
static PyObject *meth_QChar_0_currentUnicodeVersion(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QChar::UnicodeVersion sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QChar::currentUnicodeVersion();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QChar_UnicodeVersion);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChar, sipName_currentUnicodeVersion, NULL);

    return NULL;
}


extern "C" {static PyObject *slot_QChar_0___eq__(PyObject *,PyObject *);}
static PyObject *slot_QChar_0___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QChar *sipCpp = reinterpret_cast<QChar *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QChar));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QChar* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QChar,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator==((*sipCpp), *a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QChar,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,eq_slot,sipType_QChar,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QChar_0___ne__(PyObject *,PyObject *);}
static PyObject *slot_QChar_0___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QChar *sipCpp = reinterpret_cast<QChar *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QChar));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QChar* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QChar,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator!=((*sipCpp), *a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QChar,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,ne_slot,sipType_QChar,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QChar_0___lt__(PyObject *,PyObject *);}
static PyObject *slot_QChar_0___lt__(PyObject *sipSelf,PyObject *sipArg)
{
    QChar *sipCpp = reinterpret_cast<QChar *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QChar));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QChar* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QChar,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator<((*sipCpp), *a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QChar,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,lt_slot,sipType_QChar,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QChar_0___le__(PyObject *,PyObject *);}
static PyObject *slot_QChar_0___le__(PyObject *sipSelf,PyObject *sipArg)
{
    QChar *sipCpp = reinterpret_cast<QChar *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QChar));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QChar* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QChar,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator<=((*sipCpp), *a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QChar,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,le_slot,sipType_QChar,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QChar_0___gt__(PyObject *,PyObject *);}
static PyObject *slot_QChar_0___gt__(PyObject *sipSelf,PyObject *sipArg)
{
    QChar *sipCpp = reinterpret_cast<QChar *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QChar));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QChar* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QChar,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator>((*sipCpp), *a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QChar,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,gt_slot,sipType_QChar,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QChar_0___ge__(PyObject *,PyObject *);}
static PyObject *slot_QChar_0___ge__(PyObject *sipSelf,PyObject *sipArg)
{
    QChar *sipCpp = reinterpret_cast<QChar *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QChar));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QChar* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QChar,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator>=((*sipCpp), *a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QChar,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,ge_slot,sipType_QChar,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QChar_0___add__(PyObject *,PyObject *);}
static PyObject *slot_QChar_0___add__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QChar* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QChar,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((*a0 + *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QChar,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,add_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static long slot_QChar_0___hash__(PyObject *);}
static long slot_QChar_0___hash__(PyObject *sipSelf)
{
    QChar *sipCpp = reinterpret_cast<QChar *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QChar));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 158 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qchar.sip"
        sipRes = qHash(*sipCpp);
#line 131752 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QChar_0___str__(PyObject *);}
static PyObject *slot_QChar_0___str__(PyObject *sipSelf)
{
    QChar *sipCpp = reinterpret_cast<QChar *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QChar));

    if (!sipCpp)
        return 0;


    {
        {
            PyObject * sipRes = 0;

#line 153 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qchar.sip"
        sipRes = qpycore_PyObject_FromQString(QString(*sipCpp));
#line 131777 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QChar_0___repr__(PyObject *);}
static PyObject *slot_QChar_0___repr__(PyObject *sipSelf)
{
    QChar *sipCpp = reinterpret_cast<QChar *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QChar));

    if (!sipCpp)
        return 0;


    {
        {
            PyObject * sipRes = 0;

#line 142 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qchar.sip"
        sipRes =
        #if PY_MAJOR_VERSION >= 3
            PyUnicode_FromFormat
        #else
            PyString_FromFormat
        #endif
                ("PyQt4.QtCore.QChar(0x%04x)", sipCpp->unicode());
#line 131808 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QChar_0(void *, const sipTypeDef *);}
static void *cast_QChar_0(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QChar)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QChar_0(void *, int);}
static void release_QChar_0(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QChar *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static PyObject *pickle_QChar(void *);}
static PyObject *pickle_QChar(void *sipCppV)
{
    QChar *sipCpp = reinterpret_cast<QChar *>(sipCppV);
    PyObject *sipRes;

#line 125 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qchar.sip"
    sipRes = Py_BuildValue((char *)"(H)", sipCpp->unicode());
#line 131849 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

    return sipRes;
}


extern "C" {static void assign_QChar_0(void *, SIP_SSIZE_T, const void *);}
static void assign_QChar_0(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_0(SIP_SSIZE_T);}
static void *array_QChar_0(SIP_SSIZE_T sipNrElem)
{
    return new QChar[sipNrElem];
}


extern "C" {static void *copy_QChar_0(const void *, SIP_SSIZE_T);}
static void *copy_QChar_0(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QChar(reinterpret_cast<const QChar *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QChar_0(sipSimpleWrapper *);}
static void dealloc_QChar_0(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QChar_0(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QChar_0(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QChar_0(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QChar *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QChar();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        char a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "aL", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QChar(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        QLatin1Char* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QLatin1Char, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QChar(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        uchar a0;
        uchar a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "cc", &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QChar(a0,a1);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QChar(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        QChar::SpecialCharacter a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "XE", sipType_QChar_SpecialCharacter, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QChar(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QChar* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QChar, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QChar(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QChar_0[] = {
    {(void *)slot_QChar_0___eq__, eq_slot},
    {(void *)slot_QChar_0___ne__, ne_slot},
    {(void *)slot_QChar_0___lt__, lt_slot},
    {(void *)slot_QChar_0___le__, le_slot},
    {(void *)slot_QChar_0___gt__, gt_slot},
    {(void *)slot_QChar_0___ge__, ge_slot},
    {(void *)slot_QChar_0___add__, add_slot},
    {(void *)slot_QChar_0___hash__, hash_slot},
    {(void *)slot_QChar_0___str__, str_slot},
    {(void *)slot_QChar_0___repr__, repr_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QChar_0[] = {
    {SIP_MLNAME_CAST(sipName_category), meth_QChar_0_category, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cell), meth_QChar_0_cell, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_combiningClass), meth_QChar_0_combiningClass, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentUnicodeVersion), meth_QChar_0_currentUnicodeVersion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_decomposition), meth_QChar_0_decomposition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_decompositionTag), meth_QChar_0_decompositionTag, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_digitValue), meth_QChar_0_digitValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_direction), meth_QChar_0_direction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fromAscii), meth_QChar_0_fromAscii, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fromLatin1), meth_QChar_0_fromLatin1, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasMirrored), meth_QChar_0_hasMirrored, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_highSurrogate), meth_QChar_0_highSurrogate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDigit), meth_QChar_0_isDigit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isHighSurrogate), meth_QChar_0_isHighSurrogate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isLetter), meth_QChar_0_isLetter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isLetterOrNumber), meth_QChar_0_isLetterOrNumber, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isLowSurrogate), meth_QChar_0_isLowSurrogate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isLower), meth_QChar_0_isLower, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isMark), meth_QChar_0_isMark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QChar_0_isNull, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isNumber), meth_QChar_0_isNumber, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isPrint), meth_QChar_0_isPrint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isPunct), meth_QChar_0_isPunct, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSpace), meth_QChar_0_isSpace, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSymbol), meth_QChar_0_isSymbol, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isTitleCase), meth_QChar_0_isTitleCase, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isUpper), meth_QChar_0_isUpper, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_joining), meth_QChar_0_joining, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_lowSurrogate), meth_QChar_0_lowSurrogate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mirroredChar), meth_QChar_0_mirroredChar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_requiresSurrogates), meth_QChar_0_requiresSurrogates, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_row), meth_QChar_0_row, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCell), meth_QChar_0_setCell, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRow), meth_QChar_0_setRow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_surrogateToUcs4), meth_QChar_0_surrogateToUcs4, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toAscii), meth_QChar_0_toAscii, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toCaseFolded), meth_QChar_0_toCaseFolded, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toLatin1), meth_QChar_0_toLatin1, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toLower), meth_QChar_0_toLower, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toTitleCase), meth_QChar_0_toTitleCase, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toUpper), meth_QChar_0_toUpper, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unicode), meth_QChar_0_unicode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unicodeVersion), meth_QChar_0_unicodeVersion, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_QChar_0[] = {
    {sipName_ByteOrderMark, static_cast<int>(QChar::ByteOrderMark), 30},
    {sipName_ByteOrderSwapped, static_cast<int>(QChar::ByteOrderSwapped), 30},
    {sipName_Canonical, static_cast<int>(QChar::Canonical), 27},
    {sipName_Center, static_cast<int>(QChar::Center), 29},
    {sipName_Circle, static_cast<int>(QChar::Circle), 27},
    {sipName_Combining_Above, static_cast<int>(QChar::Combining_Above), 26},
    {sipName_Combining_AboveAttached, static_cast<int>(QChar::Combining_AboveAttached), 26},
    {sipName_Combining_AboveLeft, static_cast<int>(QChar::Combining_AboveLeft), 26},
    {sipName_Combining_AboveLeftAttached, static_cast<int>(QChar::Combining_AboveLeftAttached), 26},
    {sipName_Combining_AboveRight, static_cast<int>(QChar::Combining_AboveRight), 26},
    {sipName_Combining_AboveRightAttached, static_cast<int>(QChar::Combining_AboveRightAttached), 26},
    {sipName_Combining_Below, static_cast<int>(QChar::Combining_Below), 26},
    {sipName_Combining_BelowAttached, static_cast<int>(QChar::Combining_BelowAttached), 26},
    {sipName_Combining_BelowLeft, static_cast<int>(QChar::Combining_BelowLeft), 26},
    {sipName_Combining_BelowLeftAttached, static_cast<int>(QChar::Combining_BelowLeftAttached), 26},
    {sipName_Combining_BelowRight, static_cast<int>(QChar::Combining_BelowRight), 26},
    {sipName_Combining_BelowRightAttached, static_cast<int>(QChar::Combining_BelowRightAttached), 26},
    {sipName_Combining_DoubleAbove, static_cast<int>(QChar::Combining_DoubleAbove), 26},
    {sipName_Combining_DoubleBelow, static_cast<int>(QChar::Combining_DoubleBelow), 26},
    {sipName_Combining_IotaSubscript, static_cast<int>(QChar::Combining_IotaSubscript), 26},
    {sipName_Combining_Left, static_cast<int>(QChar::Combining_Left), 26},
    {sipName_Combining_LeftAttached, static_cast<int>(QChar::Combining_LeftAttached), 26},
    {sipName_Combining_Right, static_cast<int>(QChar::Combining_Right), 26},
    {sipName_Combining_RightAttached, static_cast<int>(QChar::Combining_RightAttached), 26},
    {sipName_Compat, static_cast<int>(QChar::Compat), 27},
    {sipName_DirAL, static_cast<int>(QChar::DirAL), 28},
    {sipName_DirAN, static_cast<int>(QChar::DirAN), 28},
    {sipName_DirB, static_cast<int>(QChar::DirB), 28},
    {sipName_DirBN, static_cast<int>(QChar::DirBN), 28},
    {sipName_DirCS, static_cast<int>(QChar::DirCS), 28},
    {sipName_DirEN, static_cast<int>(QChar::DirEN), 28},
    {sipName_DirES, static_cast<int>(QChar::DirES), 28},
    {sipName_DirET, static_cast<int>(QChar::DirET), 28},
    {sipName_DirL, static_cast<int>(QChar::DirL), 28},
    {sipName_DirLRE, static_cast<int>(QChar::DirLRE), 28},
    {sipName_DirLRO, static_cast<int>(QChar::DirLRO), 28},
    {sipName_DirNSM, static_cast<int>(QChar::DirNSM), 28},
    {sipName_DirON, static_cast<int>(QChar::DirON), 28},
    {sipName_DirPDF, static_cast<int>(QChar::DirPDF), 28},
    {sipName_DirR, static_cast<int>(QChar::DirR), 28},
    {sipName_DirRLE, static_cast<int>(QChar::DirRLE), 28},
    {sipName_DirRLO, static_cast<int>(QChar::DirRLO), 28},
    {sipName_DirS, static_cast<int>(QChar::DirS), 28},
    {sipName_DirWS, static_cast<int>(QChar::DirWS), 28},
    {sipName_Dual, static_cast<int>(QChar::Dual), 29},
    {sipName_Final, static_cast<int>(QChar::Final), 27},
    {sipName_Font, static_cast<int>(QChar::Font), 27},
    {sipName_Fraction, static_cast<int>(QChar::Fraction), 27},
    {sipName_Initial, static_cast<int>(QChar::Initial), 27},
    {sipName_Isolated, static_cast<int>(QChar::Isolated), 27},
    {sipName_Letter_Lowercase, static_cast<int>(QChar::Letter_Lowercase), 25},
    {sipName_Letter_Modifier, static_cast<int>(QChar::Letter_Modifier), 25},
    {sipName_Letter_Other, static_cast<int>(QChar::Letter_Other), 25},
    {sipName_Letter_Titlecase, static_cast<int>(QChar::Letter_Titlecase), 25},
    {sipName_Letter_Uppercase, static_cast<int>(QChar::Letter_Uppercase), 25},
    {sipName_LineSeparator, static_cast<int>(QChar::LineSeparator), 30},
    {sipName_Mark_Enclosing, static_cast<int>(QChar::Mark_Enclosing), 25},
    {sipName_Mark_NonSpacing, static_cast<int>(QChar::Mark_NonSpacing), 25},
    {sipName_Mark_SpacingCombining, static_cast<int>(QChar::Mark_SpacingCombining), 25},
    {sipName_Medial, static_cast<int>(QChar::Medial), 27},
    {sipName_Narrow, static_cast<int>(QChar::Narrow), 27},
    {sipName_Nbsp, static_cast<int>(QChar::Nbsp), 30},
    {sipName_NoBreak, static_cast<int>(QChar::NoBreak), 27},
    {sipName_NoCategory, static_cast<int>(QChar::NoCategory), 25},
    {sipName_NoDecomposition, static_cast<int>(QChar::NoDecomposition), 27},
    {sipName_Null, static_cast<int>(QChar::Null), 30},
    {sipName_Number_DecimalDigit, static_cast<int>(QChar::Number_DecimalDigit), 25},
    {sipName_Number_Letter, static_cast<int>(QChar::Number_Letter), 25},
    {sipName_Number_Other, static_cast<int>(QChar::Number_Other), 25},
    {sipName_ObjectReplacementCharacter, static_cast<int>(QChar::ObjectReplacementCharacter), 30},
    {sipName_OtherJoining, static_cast<int>(QChar::OtherJoining), 29},
    {sipName_Other_Control, static_cast<int>(QChar::Other_Control), 25},
    {sipName_Other_Format, static_cast<int>(QChar::Other_Format), 25},
    {sipName_Other_NotAssigned, static_cast<int>(QChar::Other_NotAssigned), 25},
    {sipName_Other_PrivateUse, static_cast<int>(QChar::Other_PrivateUse), 25},
    {sipName_Other_Surrogate, static_cast<int>(QChar::Other_Surrogate), 25},
    {sipName_ParagraphSeparator, static_cast<int>(QChar::ParagraphSeparator), 30},
    {sipName_Punctuation_Close, static_cast<int>(QChar::Punctuation_Close), 25},
    {sipName_Punctuation_Connector, static_cast<int>(QChar::Punctuation_Connector), 25},
    {sipName_Punctuation_Dash, static_cast<int>(QChar::Punctuation_Dash), 25},
    {sipName_Punctuation_Dask, static_cast<int>(QChar::Punctuation_Dask), 25},
    {sipName_Punctuation_FinalQuote, static_cast<int>(QChar::Punctuation_FinalQuote), 25},
    {sipName_Punctuation_InitialQuote, static_cast<int>(QChar::Punctuation_InitialQuote), 25},
    {sipName_Punctuation_Open, static_cast<int>(QChar::Punctuation_Open), 25},
    {sipName_Punctuation_Other, static_cast<int>(QChar::Punctuation_Other), 25},
    {sipName_ReplacementCharacter, static_cast<int>(QChar::ReplacementCharacter), 30},
    {sipName_Right, static_cast<int>(QChar::Right), 29},
    {sipName_Separator_Line, static_cast<int>(QChar::Separator_Line), 25},
    {sipName_Separator_Paragraph, static_cast<int>(QChar::Separator_Paragraph), 25},
    {sipName_Separator_Space, static_cast<int>(QChar::Separator_Space), 25},
    {sipName_Small, static_cast<int>(QChar::Small), 27},
    {sipName_Square, static_cast<int>(QChar::Square), 27},
    {sipName_Sub, static_cast<int>(QChar::Sub), 27},
    {sipName_Super, static_cast<int>(QChar::Super), 27},
    {sipName_Symbol_Currency, static_cast<int>(QChar::Symbol_Currency), 25},
    {sipName_Symbol_Math, static_cast<int>(QChar::Symbol_Math), 25},
    {sipName_Symbol_Modifier, static_cast<int>(QChar::Symbol_Modifier), 25},
    {sipName_Symbol_Other, static_cast<int>(QChar::Symbol_Other), 25},
    {sipName_Unicode_1_1, static_cast<int>(QChar::Unicode_1_1), 31},
    {sipName_Unicode_2_0, static_cast<int>(QChar::Unicode_2_0), 31},
    {sipName_Unicode_2_1_2, static_cast<int>(QChar::Unicode_2_1_2), 31},
    {sipName_Unicode_3_0, static_cast<int>(QChar::Unicode_3_0), 31},
    {sipName_Unicode_3_1, static_cast<int>(QChar::Unicode_3_1), 31},
    {sipName_Unicode_3_2, static_cast<int>(QChar::Unicode_3_2), 31},
    {sipName_Unicode_4_0, static_cast<int>(QChar::Unicode_4_0), 31},
    {sipName_Unicode_4_1, static_cast<int>(QChar::Unicode_4_1), 31},
    {sipName_Unicode_5_0, static_cast<int>(QChar::Unicode_5_0), 31},
    {sipName_Unicode_Unassigned, static_cast<int>(QChar::Unicode_Unassigned), 31},
    {sipName_Vertical, static_cast<int>(QChar::Vertical), 27},
    {sipName_Wide, static_cast<int>(QChar::Wide), 27},
};


pyqt4ClassTypeDef sipTypeDef_QtCore_QChar_0 = {
{
    {
        0,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QChar,
        {0}
    },
    {
        sipNameNr_QChar,
        {0, 0, 1},
        43, methods_QChar_0,
        110, enummembers_QChar_0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QChar_0,
    init_type_QChar_0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QChar_0,
    assign_QChar_0,
    array_QChar_0,
    copy_QChar_0,
    release_QChar_0,
    cast_QChar_0,
    0,
    0,
    0,
    pickle_QChar,
    0,
    0
},
    0,
    0,
    0
};

#line 67 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 132216 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"



extern "C" {static void assign_QChar_1(void *, SIP_SSIZE_T, const void *);}
static void assign_QChar_1(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_1(SIP_SSIZE_T);}
static void *array_QChar_1(SIP_SSIZE_T sipNrElem)
{
    return new QChar[sipNrElem];
}


extern "C" {static void *copy_QChar_1(const void *, SIP_SSIZE_T);}
static void *copy_QChar_1(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_1(void *, int);}
static void release_QChar_1(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QChar *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QChar_1(PyObject *, void **, int *, PyObject *);}
static int convertTo_QChar_1(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QChar **sipCppPtr = reinterpret_cast<QChar **>(sipCppPtrV);

#line 71 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 132293 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QChar_1(void *, PyObject *);}
static PyObject *convertFrom_QChar_1(void *sipCppV, PyObject *)
{
   QChar *sipCpp = reinterpret_cast<QChar *>(sipCppV);

#line 109 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qchar.sip"
    return qpycore_PyObject_FromQString(QString(*sipCpp));
#line 132304 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QChar_1 = {
    {
        1,
        &sipTypeDef_QtCore_QChar_0.super.ctd_base,
        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_1,
    array_QChar_1,
    copy_QChar_1,
    release_QChar_1,
    convertTo_QChar_1,
    convertFrom_QChar_1
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 132335 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"



extern "C" {static PyObject *meth_QLatin1Char_0_toLatin1(PyObject *, PyObject *);}
static PyObject *meth_QLatin1Char_0_toLatin1(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLatin1Char *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLatin1Char, &sipCpp))
        {
            char sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toLatin1();
            Py_END_ALLOW_THREADS

            return SIPBytes_FromStringAndSize(&sipRes,1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLatin1Char, sipName_toLatin1, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QLatin1Char_0_unicode(PyObject *, PyObject *);}
static PyObject *meth_QLatin1Char_0_unicode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLatin1Char *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLatin1Char, &sipCpp))
        {
            ushort sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->unicode();
            Py_END_ALLOW_THREADS

#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_QLatin1Char, sipName_unicode, NULL);

    return NULL;
}


extern "C" {static PyObject *slot_QLatin1Char_0___repr__(PyObject *);}
static PyObject *slot_QLatin1Char_0___repr__(PyObject *sipSelf)
{
    QLatin1Char *sipCpp = reinterpret_cast<QLatin1Char *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLatin1Char));

    if (!sipCpp)
        return 0;


    {
        {
            PyObject * sipRes = 0;

#line 42 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qchar.sip"
        char ch = sipCpp->toLatin1();
        PyObject *str = SIPBytes_FromStringAndSize(&ch, 1);
        
        if (str)
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromFormat("PyQt4.QtCore.QLatin1Char(%R)", str);
        #else
            sipRes = PyString_FromString("PyQt4.QtCore.QLatin1Char(");
            PyString_ConcatAndDel(&sipRes, PyObject_Repr(str));
            PyString_ConcatAndDel(&sipRes, PyString_FromString(")"));
        #endif
        
            Py_DECREF(str);
        }
#line 132426 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QLatin1Char_0(void *, const sipTypeDef *);}
static void *cast_QLatin1Char_0(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QLatin1Char)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QLatin1Char_0(void *, int);}
static void release_QLatin1Char_0(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QLatin1Char *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static PyObject *pickle_QLatin1Char(void *);}
static PyObject *pickle_QLatin1Char(void *sipCppV)
{
    QLatin1Char *sipCpp = reinterpret_cast<QLatin1Char *>(sipCppV);
    PyObject *sipRes;

#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qchar.sip"
    char ch = sipCpp->toLatin1();
    
    sipRes = Py_BuildValue((char *)"(s#)", &ch, 1);
#line 132469 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

    return sipRes;
}


extern "C" {static void dealloc_QLatin1Char_0(sipSimpleWrapper *);}
static void dealloc_QLatin1Char_0(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QLatin1Char_0(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QLatin1Char_0(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QLatin1Char_0(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QLatin1Char *sipCpp = 0;

    {
        char a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "aL", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QLatin1Char(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QLatin1Char* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QLatin1Char, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QLatin1Char(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QLatin1Char_0[] = {
    {(void *)slot_QLatin1Char_0___repr__, repr_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QLatin1Char_0[] = {
    {SIP_MLNAME_CAST(sipName_toLatin1), meth_QLatin1Char_0_toLatin1, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unicode), meth_QLatin1Char_0_unicode, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_QtCore_QLatin1Char_0 = {
{
    {
        0,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QLatin1Char,
        {0}
    },
    {
        sipNameNr_QLatin1Char,
        {0, 0, 1},
        2, methods_QLatin1Char_0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QLatin1Char_0,
    init_type_QLatin1Char_0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QLatin1Char_0,
    0,
    0,
    0,
    release_QLatin1Char_0,
    cast_QLatin1Char_0,
    0,
    0,
    0,
    pickle_QLatin1Char,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearraymatcher.sip"
#include <qbytearraymatcher.h>
#line 132588 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 132592 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPattern(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->indexIn(*a0,a1);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->pattern());
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QByteArrayMatcher *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QByteArrayMatcher();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QByteArray* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QByteArrayMatcher(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipCpp;
        }
    }

    {
        const QByteArrayMatcher* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QByteArrayMatcher, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QByteArrayMatcher(*a0);
            Py_END_ALLOW_THREADS

            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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QByteArrayMatcher = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 132862 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 132866 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 132869 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 132886 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resize(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->fill(a0,a1);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clear();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->indexOf(*a0,a1);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->indexOf(*a0,a1);
            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->lastIndexOf(*a0,a1);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->lastIndexOf(*a0,a1);
            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->count(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->count();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->left(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->right(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->mid(a0,a1));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->startsWith(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->endsWith(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->truncate(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->chop(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->toLower());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->toUpper());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->trimmed());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->simplified());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->leftJustified(a0,a1,a2));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->rightJustified(a0,a1,a2));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->prepend(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->append(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->append(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->insert(a0,*a1);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->insert(a0,*a1);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->remove(a0,a1);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->replace(a0,a1,*a2);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->replace(*a0,*a1);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->replace(*a0,*a1);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QByteArray>(sipCpp->split(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toShort(&a0,a1);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toUShort(&a0,a1);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toInt(&a0,a1);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toUInt(&a0,a1);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toLong(&a0,a1);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toULong(&a0,a1);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toLongLong(&a0,a1);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toULongLong(&a0,a1);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toFloat(&a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toDouble(&a0);
            Py_END_ALLOW_THREADS

            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");

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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->toBase64());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->setNum(a0,a1);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->setNum(a0,a1,a2);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->setNum(a0,a1);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->setNum(a0,a1);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(QByteArray::number(a0,a1));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(QByteArray::number(a0,a1,a2));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(QByteArray::number(a0,a1));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(QByteArray::number(a0,a1));
            Py_END_ALLOW_THREADS

            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");

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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(QByteArray::fromBase64(*a0));
            Py_END_ALLOW_THREADS
            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(QByteArray::fromRawData(a0,(int)a1));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(QByteArray::fromHex(*a0));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->length();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->size();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->at(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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 362 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 134689 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->capacity();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->reserve(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->squeeze();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->push_back(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->push_front(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contains(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->toHex());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->toPercentEncoding(*a0,*a1,a2));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(QByteArray::fromPercentEncoding(*a0,a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->repeated(a0));
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->swap(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray((*a0 + *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);
            sipReleaseType(const_cast<QByteArray *>(a1),sipType_QByteArray,a1State);

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    {
        const QByteArray* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QByteArray, &a0, &a0State, sipType_QString,&a1, &a1State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((*a0 + *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QString,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 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
        QByteArray orig(*sipCpp);
        
        sipCpp->clear();
        
        while (a0-- > 0)
            *sipCpp += orig;
#line 135128 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 343 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
        sipRes = new QByteArray();
        
        while (a0-- > 0)
            *sipRes += *sipCpp;
#line 135157 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 314 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
        if (sipCpp->isNull())
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromString("PyQt4.QtCore.QByteArray()");
        #else
            sipRes = PyString_FromString("PyQt4.QtCore.QByteArray()");
        #endif
        }
        else
        {
            PyObject *str = QByteArrayToPyStr(sipCpp);
        
            if (str)
            {
        #if PY_MAJOR_VERSION >= 3
                sipRes = PyUnicode_FromFormat("PyQt4.QtCore.QByteArray(%R)", str);
        #else
                sipRes = PyString_FromString("PyQt4.QtCore.QByteArray(");
                PyString_ConcatAndDel(&sipRes, PyObject_Repr(str));
                PyString_ConcatAndDel(&sipRes, PyString_FromString(")"));
        #endif
        
                Py_DECREF(str);
            }
        }
#line 135206 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 299 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 135241 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 294 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
        sipRes = qHash(*sipCpp);
#line 135266 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 288 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
        // It looks like you can't assign QBool to int.
        sipRes = bool(sipCpp->contains(*a0));
#line 135297 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 254 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 135336 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 264 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 135374 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 135405 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QByteArray::operator>=(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator>=((*sipCpp), *a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QByteArray::operator<=(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator<=((*sipCpp), *a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QByteArray::operator>(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator>((*sipCpp), *a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QByteArray::operator<(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator<((*sipCpp), *a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QByteArray::operator!=(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator!=((*sipCpp), *a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QByteArray::operator==(*a0);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator==((*sipCpp), *a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QByteArray::operator+=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QByteArray::operator+=(*a0);
            Py_END_ALLOW_THREADS
            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QByteArray *>(sipCppV);

    Py_END_ALLOW_THREADS
}


#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 135 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
    sipRes = PyBuffer_FillInfo(sipBuffer, sipSelf, sipCpp->data(), sipCpp->size(), 0, sipFlags);
#line 135814 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 139 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 135839 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 152 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
    if (sipLenPtr)
        *sipLenPtr = sipCpp->size();
    
    sipRes = 1;
#line 135858 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 159 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 135883 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 172 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 135902 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QByteArray();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        int a0;
        char a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "iaA", &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QByteArray(a0,a1);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QByteArray* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QByteArray(*a0);
            Py_END_ALLOW_THREADS
            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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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.
//
// Qt uses QByteArray to represent binary data and also '\0' terminated C
// strings.  If we only allowed a bytes object to be automatically converted to
// a QByteArray then we would force such strings to be either explicitly
// specified as bytes (ie. have a leading 'b') or wrapped in a call to the
// QByteArray ctor - neither of which is very Pythonic.  We therefore allow a
// Latin-1 encoded str object to be automatcially converted to a QByteArray.
// For consistency we also allow a Python v2.x unicode object to be similarly
// converted.

if (sipIsErr == NULL)
    return (
#if PY_VERSION_HEX >= 0x02060000
            PyByteArray_Check(sipPy) ||
#endif
            PyUnicode_Check(sipPy) || SIPBytes_Check(sipPy) ||
            sipCanConvertToType(sipPy, sipType_QByteArray, SIP_NO_CONVERTORS));

#if PY_VERSION_HEX >= 0x02060000
if (PyByteArray_Check(sipPy))
{
    *sipCppPtr = new QByteArray(PyByteArray_AS_STRING(sipPy),
            PyByteArray_GET_SIZE(sipPy));

    return sipGetState(sipTransferObj);
}
#endif

if (PyUnicode_Check(sipPy))
{
    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 136072 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)}
};

PyDoc_STRVAR(doc_QByteArray, "\1QByteArray()\n"
    "QByteArray(int, str)\n"
    "QByteArray(QByteArray)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QByteArray = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QByteArray,
        {0}
    },
    {
        sipNameNr_QByteArray,
        {0, 0, 1},
        58, methods_QByteArray,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QByteArray,
    sipNameNr_PyQt4_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
};

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbuffer.sip"
#include <qbuffer.h>
#line 136220 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 136224 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 136227 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 136230 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 136233 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 136236 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 136239 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 136242 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 136245 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 136248 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 136251 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 136254 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 136257 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 136260 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 136263 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;
    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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);

    /*
     * 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 char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QBuffer, _clname)) ? this : 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,PY_LONG_LONG);

    return sipVH_QtCore_21(sipGILState, 0, 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_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtCore_23(sipGILState, 0, 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_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtCore_23(sipGILState, 0, 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_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_22(sipGILState, 0, 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_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_22(sipGILState, 0, 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 *);

    return sipVH_QtCore_7(sipGILState, 0, 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 *);

    return sipVH_QtCore_7(sipGILState, 0, sipPySelf, sipMeth);
}

void sipQBuffer::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQBuffer::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*,PY_LONG_LONG);

    return sipVH_QtCore_20(sipGILState, 0, 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_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,PY_LONG_LONG);

    return sipVH_QtCore_21(sipGILState, 0, 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 *);

    return sipVH_QtCore_7(sipGILState, 0, 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 *);

    return sipVH_QtCore_7(sipGILState, 0, 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_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, PY_LONG_LONG);

    return sipVH_QtCore_32(sipGILState, 0, 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_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_22(sipGILState, 0, 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_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_22(sipGILState, 0, 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 *);

    sipVH_QtCore_11(sipGILState, 0, 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);

    return sipVH_QtCore_15(sipGILState, 0, 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();
}

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 char*a0)
{
    (sipSelfWasArg ? QBuffer::connectNotify(a0) : connectNotify(a0));
}

void sipQBuffer::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 136835 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQBuffer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QBuffer, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 136880 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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 234 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 137064 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setOpenMode(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setErrorString(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->buffer();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->data());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBuffer(a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setData(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setData(a0,(int)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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QBuffer::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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QBuffer::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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QBuffer::size() : sipCpp->size());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QBuffer::pos() : sipCpp->pos());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QBuffer::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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QBuffer::atEnd() : sipCpp->atEnd());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QBuffer::canReadLine() : sipCpp->canReadLine());
            Py_END_ALLOW_THREADS

            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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 137544 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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(SIGNAL())");

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));

    {
        char* a0;
        sipQBuffer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QBuffer, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QBuffer, sipName_connectNotify, doc_QBuffer_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QBuffer_disconnectNotify, "QBuffer.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQBuffer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QBuffer, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQBuffer(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQBuffer(a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QByteArray,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QBuffer[] = {{81, 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_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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QBuffer = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QBuffer,
        {0}
    },
    {
        sipNameNr_QBuffer,
        {0, 0, 1},
        24, 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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 137840 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 137844 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 137847 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 137850 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 137853 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 137856 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 137859 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 137862 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 137865 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 137868 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 137871 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 137874 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 137877 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 137880 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 137883 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() 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 char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QIODevice, _clname)) ? this : QIODevice::qt_metacast(_clname);
}

void sipQIODevice::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQIODevice::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*,PY_LONG_LONG);

    return sipVH_QtCore_20(sipGILState, 0, 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_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,PY_LONG_LONG);

    return sipVH_QtCore_21(sipGILState, 0, 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_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,PY_LONG_LONG);

    return sipVH_QtCore_31(sipGILState, 0, 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_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtCore_23(sipGILState, 0, 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_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtCore_23(sipGILState, 0, 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 *);

    return sipVH_QtCore_7(sipGILState, 0, 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_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_22(sipGILState, 0, 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_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_22(sipGILState, 0, 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 *);

    return sipVH_QtCore_7(sipGILState, 0, 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 *);

    return sipVH_QtCore_7(sipGILState, 0, 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_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, PY_LONG_LONG);

    return sipVH_QtCore_32(sipGILState, 0, 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_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_22(sipGILState, 0, 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_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_22(sipGILState, 0, 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 *);

    sipVH_QtCore_11(sipGILState, 0, 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);

    return sipVH_QtCore_15(sipGILState, 0, 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 *);

    return sipVH_QtCore_7(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQIODevice::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQIODevice::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 138455 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQIODevice *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QIODevice, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 138500 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QIODevice, sipName_customEvent, doc_QIODevice_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_connectNotify, "QIODevice.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQIODevice *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QIODevice, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QIODevice, sipName_connectNotify, doc_QIODevice_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_disconnectNotify, "QIODevice.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQIODevice *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QIODevice, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QIODevice::OpenMode(sipCpp->openMode());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTextModeEnabled(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isTextModeEnabled();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isOpen();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isReadable();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isWritable();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QIODevice::isSequential() : sipCpp->isSequential());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QIODevice::pos() : sipCpp->pos());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QIODevice::size() : sipCpp->size());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QIODevice::atEnd() : sipCpp->atEnd());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QIODevice::reset() : sipCpp->reset());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QIODevice::bytesAvailable() : sipCpp->bytesAvailable());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QIODevice::bytesToWrite() : sipCpp->bytesToWrite());
            Py_END_ALLOW_THREADS

            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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 139216 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 139325 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QIODevice::canReadLine() : sipCpp->canReadLine());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->ungetChar(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->putChar(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->getChar(&a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->errorString());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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 169 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 139671 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 234 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 139739 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_writeData(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setOpenMode(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setErrorString(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQIODevice();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QObject* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQIODevice(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QIODevice[] = {{141, 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_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), 83},
    {sipName_NotOpen, static_cast<int>(QIODevice::NotOpen), 83},
    {sipName_ReadOnly, static_cast<int>(QIODevice::ReadOnly), 83},
    {sipName_ReadWrite, static_cast<int>(QIODevice::ReadWrite), 83},
    {sipName_Text, static_cast<int>(QIODevice::Text), 83},
    {sipName_Truncate, static_cast<int>(QIODevice::Truncate), 83},
    {sipName_Unbuffered, static_cast<int>(QIODevice::Unbuffered), 83},
    {sipName_WriteOnly, static_cast<int>(QIODevice::WriteOnly), 83},
};


/* Define this type's signals. */
static const pyqt4QtSignal 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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QIODevice = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QIODevice,
        {0}
    },
    {
        sipNameNr_QIODevice,
        {0, 0, 1},
        41, 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,
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbitarray.sip"
#include <qbitarray.h>
#line 140067 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbitarray.sip"
// This is needed by __hash__().
#include <qhash.h>
#line 140072 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->size();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->count();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        bool a0;
        const QBitArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QBitArray, &sipCpp, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->count(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resize(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->detach();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDetached();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clear();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->fill(a0,a1,a2);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->fill(a0,a1);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->truncate(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->testBit(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBit(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        bool a1;
        QBitArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bib", &sipSelf, sipType_QBitArray, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBit(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearBit(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toggleBit(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->at(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->swap(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QBitArray((*a0 | *a1));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QBitArray((*a0 & *a1));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QBitArray((*a0 ^ *a1));
            Py_END_ALLOW_THREADS

            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 79 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbitarray.sip"
        sipRes = qHash(*sipCpp);
#line 140704 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 140739 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QBitArray::operator!=(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QBitArray::operator==(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QBitArray(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QBitArray::operator^=(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QBitArray::operator|=(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QBitArray::operator&=(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(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 140989 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QBitArray *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QBitArray();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QBitArray(a0,a1);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QBitArray* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QBitArray, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QBitArray(*a0);
            Py_END_ALLOW_THREADS

            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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QBitArray = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbasictimer.sip"
#include <qbasictimer.h>
#line 141203 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 141207 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isActive();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->timerId();
            Py_END_ALLOW_THREADS

            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, QObject)");

extern "C" {static PyObject *meth_QBasicTimer_start(PyObject *, PyObject *);}
static PyObject *meth_QBasicTimer_start(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QObject* a1;
        QBasicTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ8", &sipSelf, sipType_QBasicTimer, &sipCpp, &a0, sipType_QObject, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->start(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->stop();
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QBasicTimer *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QBasicTimer();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QBasicTimer* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QBasicTimer, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QBasicTimer(*a0);
            Py_END_ALLOW_THREADS

            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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QBasicTimer = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qanimationgroup.sip"
#include <qanimationgroup.h>
#line 141480 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 141484 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 141487 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 141490 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 141493 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 141496 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 141499 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 141502 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 141505 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 141508 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 141511 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 141514 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 141517 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 141520 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 141523 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() 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 char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QAnimationGroup, _clname)) ? this : QAnimationGroup::qt_metacast(_clname);
}

void sipQAnimationGroup::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQAnimationGroup::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractAnimation::Direction);

    sipVH_QtCore_19(sipGILState, 0, 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);

    sipVH_QtCore_3(sipGILState, 0, 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);

    sipVH_QtCore_4(sipGILState, 0, 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 *);

    return sipVH_QtCore_6(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAnimationGroup::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAnimationGroup::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 141894 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QAnimationGroup, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 141939 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QAnimationGroup, sipName_customEvent, doc_QAnimationGroup_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAnimationGroup_connectNotify, "QAnimationGroup.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QAnimationGroup, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QAnimationGroup, sipName_connectNotify, doc_QAnimationGroup_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAnimationGroup_disconnectNotify, "QAnimationGroup.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QAnimationGroup, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateCurrentTime(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateState(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateDirection(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->animationAt(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->animationCount();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->indexOfAnimation(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addAnimation(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertAnimation(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeAnimation(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->takeAnimation(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clear();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQAnimationGroup(a0);
            Py_END_ALLOW_THREADS

            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_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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QAnimationGroup = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QAnimationGroup,
        {0}
    },
    {
        sipNameNr_QAnimationGroup,
        {0, 0, 1},
        20, 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
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstracttransition.sip"
#include <qabstracttransition.h>
#line 142654 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstate.sip"
#include <qstate.h>
#line 142658 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 142661 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 142664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 142667 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 142670 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 142673 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 142676 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 142679 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 142682 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 142685 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 142688 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 142691 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 142694 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 142697 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 142700 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 142703 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 142706 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 142709 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 142712 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() 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 char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QAbstractTransition, _clname)) ? this : QAbstractTransition::qt_metacast(_clname);
}

void sipQAbstractTransition::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQAbstractTransition::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAbstractTransition::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAbstractTransition::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 143039 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQAbstractTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QAbstractTransition, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 143084 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QAbstractTransition, sipName_customEvent, doc_QAbstractTransition_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTransition_connectNotify, "QAbstractTransition.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQAbstractTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QAbstractTransition, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QAbstractTransition, sipName_connectNotify, doc_QAbstractTransition_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTransition_disconnectNotify, "QAbstractTransition.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQAbstractTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QAbstractTransition, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sourceState();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->targetState();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTargetState(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QAbstractState*>(sipCpp->targetStates());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTargetStates(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->machine();
            Py_END_ALLOW_THREADS

            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 42 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 143485 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 58 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
        {
            SIP_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 143531 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QAbstractAnimation*>(sipCpp->animations());
            Py_END_ALLOW_THREADS

            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;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_eventTest(a0);
            Py_END_ALLOW_THREADS

            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;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_onTransition(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQAbstractTransition(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAbstractTransition[] = {{141, 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_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 pyqt4QtSignal signals_QAbstractTransition[] = {
    {"triggered()", "\1QAbstractTransition.triggered", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QAbstractTransition, "\1QAbstractTransition(QState sourceState=None)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QAbstractTransition = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QAbstractTransition,
        {0}
    },
    {
        sipNameNr_QAbstractTransition,
        {0, 0, 1},
        20, 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,
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 143845 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstate.sip"
#include <qstate.h>
#line 143849 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 143852 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 143855 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 143858 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 143861 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 143864 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 143867 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 143870 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 143873 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 143876 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 143879 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 143882 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 143885 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 143888 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 143891 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() 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 char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QAbstractState, _clname)) ? this : QAbstractState::qt_metacast(_clname);
}

void sipQAbstractState::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQAbstractState::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAbstractState::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAbstractState::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 144218 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQAbstractState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QAbstractState, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 144263 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QAbstractState, sipName_customEvent, doc_QAbstractState_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractState_connectNotify, "QAbstractState.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQAbstractState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QAbstractState, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QAbstractState, sipName_connectNotify, doc_QAbstractState_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractState_disconnectNotify, "QAbstractState.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQAbstractState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QAbstractState, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->parentState();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->machine();
            Py_END_ALLOW_THREADS

            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_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;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_onEntry(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_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;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_onExit(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQAbstractState(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAbstractState[] = {{141, 255, 1}};


static PyMethodDef methods_QAbstractState[] = {
    {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_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 pyqt4QtSignal signals_QAbstractState[] = {
    {"exited()", "\1QAbstractState.exited", 0, 0},
    {"entered()", "\1QAbstractState.entered", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QAbstractState, "\1QAbstractState(QState parent=None)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QAbstractState = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QAbstractState,
        {0}
    },
    {
        sipNameNr_QAbstractState,
        {0, 0, 1},
        13, 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,
};

#line 357 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 144777 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 144781 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 144784 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 144787 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 144790 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 139 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qhash.sip"
#include <qhash.h>
#line 144793 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 144796 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 144799 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 144802 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 144805 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 144808 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 144811 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 144814 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 144817 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 144820 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 139 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmap.sip"
#include <qmap.h>
#line 144823 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 144826 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 144829 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 144832 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 144835 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 144838 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 144841 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 144844 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 144847 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 144850 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 144853 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;
    void sipProtect_resetInternalData();
    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_reset();
    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_setRoleNames(const QHash<int,QByteArray>&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    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;
    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;
    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[32];
};

sipQAbstractListModel::sipQAbstractListModel(QObject*a0): QAbstractListModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractListModel::~sipQAbstractListModel()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQAbstractListModel::metaObject() const
{
    return 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QAbstractListModel, _clname)) ? this : QAbstractListModel::qt_metacast(_clname);
}

void sipQAbstractListModel::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQAbstractListModel::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQAbstractListModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
        QAbstractListModel::revert();
        return;
    }

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_11(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQAbstractListModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return QAbstractListModel::submit();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_7(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipQAbstractListModel::span(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return QAbstractListModel::span(a0);

    extern QSize sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtCore_47(sipGILState, 0, 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[10]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return QAbstractListModel::match(a0,a1,a2,a3,a4);

    extern QList<QModelIndex> sipVH_QtCore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags);

    return sipVH_QtCore_48(sipGILState, 0, 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[11]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return QAbstractListModel::buddy(a0);

    extern QModelIndex sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtCore_44(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQAbstractListModel::sort(int a0,Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
        QAbstractListModel::sort(a0,a1);
        return;
    }

    extern void sipVH_QtCore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::SortOrder);

    sipVH_QtCore_49(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

Qt::ItemFlags sipQAbstractListModel::flags(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return QAbstractListModel::flags(a0);

    extern Qt::ItemFlags sipVH_QtCore_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtCore_50(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQAbstractListModel::canFetchMore(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return QAbstractListModel::canFetchMore(a0);

    extern bool sipVH_QtCore_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtCore_42(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQAbstractListModel::fetchMore(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
        QAbstractListModel::fetchMore(a0);
        return;
    }

    extern void sipVH_QtCore_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    sipVH_QtCore_51(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQAbstractListModel::removeColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return QAbstractListModel::removeColumns(a0,a1,a2);

    extern bool sipVH_QtCore_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return sipVH_QtCore_52(sipGILState, 0, 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[17],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return QAbstractListModel::removeRows(a0,a1,a2);

    extern bool sipVH_QtCore_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return sipVH_QtCore_52(sipGILState, 0, 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[18],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return QAbstractListModel::insertColumns(a0,a1,a2);

    extern bool sipVH_QtCore_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return sipVH_QtCore_52(sipGILState, 0, 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[19],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return QAbstractListModel::insertRows(a0,a1,a2);

    extern bool sipVH_QtCore_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return sipVH_QtCore_52(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

Qt::DropActions sipQAbstractListModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return QAbstractListModel::supportedDropActions();

    extern Qt::DropActions sipVH_QtCore_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_53(sipGILState, 0, sipPySelf, sipMeth);
}

QMimeData* sipQAbstractListModel::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 QAbstractListModel::mimeData(a0);

    extern QMimeData* sipVH_QtCore_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QModelIndex>&);

    return sipVH_QtCore_54(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QStringList sipQAbstractListModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return QAbstractListModel::mimeTypes();

    extern QStringList sipVH_QtCore_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_27(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQAbstractListModel::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 QAbstractListModel::setItemData(a0,a1);

    extern bool sipVH_QtCore_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QMap<int,QVariant>&);

    return sipVH_QtCore_55(sipGILState, 0, 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[24]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return QAbstractListModel::itemData(a0);

    extern QMap<int,QVariant> sipVH_QtCore_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtCore_56(sipGILState, 0, 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[25],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return QAbstractListModel::setHeaderData(a0,a1,a2,a3);

    extern bool sipVH_QtCore_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,const QVariant&,int);

    return sipVH_QtCore_57(sipGILState, 0, 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[26]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return QAbstractListModel::headerData(a0,a1,a2);

    extern QVariant sipVH_QtCore_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,int);

    return sipVH_QtCore_58(sipGILState, 0, 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[27],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return QAbstractListModel::setData(a0,a1,a2);

    extern bool sipVH_QtCore_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QVariant&,int);

    return sipVH_QtCore_59(sipGILState, 0, 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[28]),sipPySelf,sipName_QAbstractListModel,sipName_data);

    if (!sipMeth)
        return QVariant();

    extern QVariant sipVH_QtCore_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int);

    return sipVH_QtCore_60(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

int sipQAbstractListModel::rowCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,sipName_QAbstractListModel,sipName_rowCount);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtCore_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtCore_43(sipGILState, 0, 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[30],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return QAbstractListModel::dropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);

    return sipVH_QtCore_45(sipGILState, 0, 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[31]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return QAbstractListModel::index(a0,a1,a2);

    extern QModelIndex sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return sipVH_QtCore_46(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAbstractListModel::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAbstractListModel::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

void sipQAbstractListModel::sipProtect_resetInternalData()
{
    QAbstractItemModel::resetInternalData();
}

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_reset()
{
    QAbstractItemModel::reset();
}

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_setRoleNames(const QHash<int,QByteArray>& a0)
{
    QAbstractItemModel::setRoleNames(a0);
}


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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 145677 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QAbstractListModel, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 145722 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QAbstractListModel, sipName_customEvent, doc_QAbstractListModel_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_connectNotify, "QAbstractListModel.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QAbstractListModel, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QAbstractListModel, sipName_connectNotify, doc_QAbstractListModel_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_disconnectNotify, "QAbstractListModel.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QAbstractListModel, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_resetInternalData();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_resetInternalData, doc_QAbstractListModel_resetInternalData);

    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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_encodeData(*a0,*a1);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_decodeData(a0,a1,*a2,*a3);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginInsertRows(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endInsertRows();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginRemoveRows(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endRemoveRows();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginInsertColumns(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endInsertColumns();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginRemoveColumns(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endRemoveColumns();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndexList(sipCpp->sipProtect_persistentIndexList());
            Py_END_ALLOW_THREADS

            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_reset, "QAbstractListModel.reset()");

extern "C" {static PyObject *meth_QAbstractListModel_reset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_reset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractListModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_reset();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_reset, doc_QAbstractListModel_reset);

    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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_changePersistentIndex(*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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_changePersistentIndexList(*a0,*a1);
            Py_END_ALLOW_THREADS
            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 243 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 146419 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_beginMoveRows(*a0,a1,a2,*a3,a4);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endMoveRows();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_beginMoveColumns(*a0,a1,a2,*a3,a4);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endMoveColumns();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_beginResetModel, doc_QAbstractListModel_beginResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_endResetModel, "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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_endResetModel, doc_QAbstractListModel_endResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_setRoleNames, "QAbstractListModel.setRoleNames(dict-of-int-QByteArray)");

extern "C" {static PyObject *meth_QAbstractListModel_setRoleNames(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_setRoleNames(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QHash<int,QByteArray>* a0;
        int a0State = 0;
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QAbstractListModel, &sipCpp, sipType_QHash_1800_0100QByteArray,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setRoleNames(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QHash<int,QByteArray> *>(a0),sipType_QHash_1800_0100QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_setRoleNames, doc_QAbstractListModel_setRoleNames);

    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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->QAbstractListModel::index(a0,a1,*a2) : sipCpp->index(a0,a1,*a2)));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractListModel::dropMimeData(a0,a1,a2,a3,*a4) : sipCpp->dropMimeData(a0,a1,a2,a3,*a4));
            Py_END_ALLOW_THREADS

            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;
}


extern "C" {static PyObject *meth_QAbstractListModel_parent(PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_parent(PyObject *, PyObject *)
{

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(NULL, sipName_QAbstractListModel, sipName_parent, NULL);

    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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQAbstractListModel(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAbstractListModel[] = {{13, 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_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_parent), meth_QAbstractListModel_parent, METH_VARARGS, NULL},
    {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_reset), (PyCFunction)meth_QAbstractListModel_reset, 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_setRoleNames), (PyCFunction)meth_QAbstractListModel_setRoleNames, 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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QAbstractListModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|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
};

#line 339 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 146927 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 146931 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 146934 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 146937 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 146940 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 139 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qhash.sip"
#include <qhash.h>
#line 146943 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 146946 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 146949 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 146952 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 146955 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 146958 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 146961 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 146964 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 146967 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 146970 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 139 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmap.sip"
#include <qmap.h>
#line 146973 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 146976 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 146979 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 146982 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 146985 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 146988 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 146991 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 146994 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 146997 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 147000 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 147003 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;
    void sipProtect_resetInternalData();
    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_reset();
    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_setRoleNames(const QHash<int,QByteArray>&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    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;
    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;
    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[33];
};

sipQAbstractTableModel::sipQAbstractTableModel(QObject*a0): QAbstractTableModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractTableModel::~sipQAbstractTableModel()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQAbstractTableModel::metaObject() const
{
    return 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QAbstractTableModel, _clname)) ? this : QAbstractTableModel::qt_metacast(_clname);
}

void sipQAbstractTableModel::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQAbstractTableModel::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQAbstractTableModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
        QAbstractTableModel::revert();
        return;
    }

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_11(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQAbstractTableModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return QAbstractTableModel::submit();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_7(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipQAbstractTableModel::span(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return QAbstractTableModel::span(a0);

    extern QSize sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtCore_47(sipGILState, 0, 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[10]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return QAbstractTableModel::match(a0,a1,a2,a3,a4);

    extern QList<QModelIndex> sipVH_QtCore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags);

    return sipVH_QtCore_48(sipGILState, 0, 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[11]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return QAbstractTableModel::buddy(a0);

    extern QModelIndex sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtCore_44(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQAbstractTableModel::sort(int a0,Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
        QAbstractTableModel::sort(a0,a1);
        return;
    }

    extern void sipVH_QtCore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::SortOrder);

    sipVH_QtCore_49(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

Qt::ItemFlags sipQAbstractTableModel::flags(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return QAbstractTableModel::flags(a0);

    extern Qt::ItemFlags sipVH_QtCore_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtCore_50(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQAbstractTableModel::canFetchMore(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return QAbstractTableModel::canFetchMore(a0);

    extern bool sipVH_QtCore_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtCore_42(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQAbstractTableModel::fetchMore(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
        QAbstractTableModel::fetchMore(a0);
        return;
    }

    extern void sipVH_QtCore_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    sipVH_QtCore_51(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQAbstractTableModel::removeColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return QAbstractTableModel::removeColumns(a0,a1,a2);

    extern bool sipVH_QtCore_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return sipVH_QtCore_52(sipGILState, 0, 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[17],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return QAbstractTableModel::removeRows(a0,a1,a2);

    extern bool sipVH_QtCore_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return sipVH_QtCore_52(sipGILState, 0, 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[18],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return QAbstractTableModel::insertColumns(a0,a1,a2);

    extern bool sipVH_QtCore_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return sipVH_QtCore_52(sipGILState, 0, 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[19],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return QAbstractTableModel::insertRows(a0,a1,a2);

    extern bool sipVH_QtCore_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return sipVH_QtCore_52(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

Qt::DropActions sipQAbstractTableModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return QAbstractTableModel::supportedDropActions();

    extern Qt::DropActions sipVH_QtCore_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_53(sipGILState, 0, sipPySelf, sipMeth);
}

QMimeData* sipQAbstractTableModel::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 QAbstractTableModel::mimeData(a0);

    extern QMimeData* sipVH_QtCore_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QModelIndex>&);

    return sipVH_QtCore_54(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QStringList sipQAbstractTableModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return QAbstractTableModel::mimeTypes();

    extern QStringList sipVH_QtCore_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_27(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQAbstractTableModel::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 QAbstractTableModel::setItemData(a0,a1);

    extern bool sipVH_QtCore_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QMap<int,QVariant>&);

    return sipVH_QtCore_55(sipGILState, 0, 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[24]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return QAbstractTableModel::itemData(a0);

    extern QMap<int,QVariant> sipVH_QtCore_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtCore_56(sipGILState, 0, 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[25],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return QAbstractTableModel::setHeaderData(a0,a1,a2,a3);

    extern bool sipVH_QtCore_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,const QVariant&,int);

    return sipVH_QtCore_57(sipGILState, 0, 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[26]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return QAbstractTableModel::headerData(a0,a1,a2);

    extern QVariant sipVH_QtCore_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,int);

    return sipVH_QtCore_58(sipGILState, 0, 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[27],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return QAbstractTableModel::setData(a0,a1,a2);

    extern bool sipVH_QtCore_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QVariant&,int);

    return sipVH_QtCore_59(sipGILState, 0, 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[28]),sipPySelf,sipName_QAbstractTableModel,sipName_data);

    if (!sipMeth)
        return QVariant();

    extern QVariant sipVH_QtCore_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int);

    return sipVH_QtCore_60(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

int sipQAbstractTableModel::columnCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,sipName_QAbstractTableModel,sipName_columnCount);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtCore_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtCore_43(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipQAbstractTableModel::rowCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,sipName_QAbstractTableModel,sipName_rowCount);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtCore_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtCore_43(sipGILState, 0, 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[31],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return QAbstractTableModel::dropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);

    return sipVH_QtCore_45(sipGILState, 0, 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[32]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return QAbstractTableModel::index(a0,a1,a2);

    extern QModelIndex sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return sipVH_QtCore_46(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAbstractTableModel::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAbstractTableModel::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

void sipQAbstractTableModel::sipProtect_resetInternalData()
{
    QAbstractItemModel::resetInternalData();
}

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_reset()
{
    QAbstractItemModel::reset();
}

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_setRoleNames(const QHash<int,QByteArray>& a0)
{
    QAbstractItemModel::setRoleNames(a0);
}


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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 147843 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QAbstractTableModel, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 147888 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QAbstractTableModel, sipName_customEvent, doc_QAbstractTableModel_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_connectNotify, "QAbstractTableModel.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QAbstractTableModel, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QAbstractTableModel, sipName_connectNotify, doc_QAbstractTableModel_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_disconnectNotify, "QAbstractTableModel.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QAbstractTableModel, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_resetInternalData();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_resetInternalData, doc_QAbstractTableModel_resetInternalData);

    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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_encodeData(*a0,*a1);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_decodeData(a0,a1,*a2,*a3);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginInsertRows(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endInsertRows();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginRemoveRows(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endRemoveRows();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginInsertColumns(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endInsertColumns();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginRemoveColumns(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endRemoveColumns();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndexList(sipCpp->sipProtect_persistentIndexList());
            Py_END_ALLOW_THREADS

            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_reset, "QAbstractTableModel.reset()");

extern "C" {static PyObject *meth_QAbstractTableModel_reset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_reset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractTableModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_reset();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_reset, doc_QAbstractTableModel_reset);

    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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_changePersistentIndex(*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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_changePersistentIndexList(*a0,*a1);
            Py_END_ALLOW_THREADS
            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 243 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 148585 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_beginMoveRows(*a0,a1,a2,*a3,a4);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endMoveRows();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_beginMoveColumns(*a0,a1,a2,*a3,a4);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endMoveColumns();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_beginResetModel, doc_QAbstractTableModel_beginResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_endResetModel, "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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_endResetModel, doc_QAbstractTableModel_endResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_setRoleNames, "QAbstractTableModel.setRoleNames(dict-of-int-QByteArray)");

extern "C" {static PyObject *meth_QAbstractTableModel_setRoleNames(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_setRoleNames(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QHash<int,QByteArray>* a0;
        int a0State = 0;
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QAbstractTableModel, &sipCpp, sipType_QHash_1800_0100QByteArray,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setRoleNames(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QHash<int,QByteArray> *>(a0),sipType_QHash_1800_0100QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_setRoleNames, doc_QAbstractTableModel_setRoleNames);

    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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->QAbstractTableModel::index(a0,a1,*a2) : sipCpp->index(a0,a1,*a2)));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractTableModel::dropMimeData(a0,a1,a2,a3,*a4) : sipCpp->dropMimeData(a0,a1,a2,a3,*a4));
            Py_END_ALLOW_THREADS

            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;
}


extern "C" {static PyObject *meth_QAbstractTableModel_parent(PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_parent(PyObject *, PyObject *)
{

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(NULL, sipName_QAbstractTableModel, sipName_parent, NULL);

    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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQAbstractTableModel(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAbstractTableModel[] = {{13, 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_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_parent), meth_QAbstractTableModel_parent, METH_VARARGS, NULL},
    {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_reset), (PyCFunction)meth_QAbstractTableModel_reset, 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_setRoleNames), (PyCFunction)meth_QAbstractTableModel_setRoleNames, 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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QAbstractTableModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|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
};

#line 122 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 149081 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 149085 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 139 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qhash.sip"
#include <qhash.h>
#line 149088 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 149091 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 149094 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 149097 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 149100 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 149103 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 149106 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 149109 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 149112 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 149115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 149118 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 149121 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 149124 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 139 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qmap.sip"
#include <qmap.h>
#line 149127 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 149130 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 149133 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 149136 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 149139 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 149142 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 149145 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 149148 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 149151 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 149154 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 149157 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;
    void sipProtect_resetInternalData();
    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_reset();
    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_setRoleNames(const QHash<int,QByteArray>&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    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 parent(const QModelIndex&) const;
    QModelIndex index(int,int,const QModelIndex&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQAbstractItemModel(const sipQAbstractItemModel &);
    sipQAbstractItemModel &operator = (const sipQAbstractItemModel &);

    char sipPyMethods[35];
};

sipQAbstractItemModel::sipQAbstractItemModel(QObject*a0): QAbstractItemModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractItemModel::~sipQAbstractItemModel()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQAbstractItemModel::metaObject() const
{
    return 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QAbstractItemModel, _clname)) ? this : QAbstractItemModel::qt_metacast(_clname);
}

void sipQAbstractItemModel::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemModel::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
        QAbstractItemModel::revert();
        return;
    }

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_11(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQAbstractItemModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return QAbstractItemModel::submit();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_7(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipQAbstractItemModel::span(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return QAbstractItemModel::span(a0);

    extern QSize sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtCore_47(sipGILState, 0, 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[10]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return QAbstractItemModel::match(a0,a1,a2,a3,a4);

    extern QList<QModelIndex> sipVH_QtCore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags);

    return sipVH_QtCore_48(sipGILState, 0, 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[11]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return QAbstractItemModel::buddy(a0);

    extern QModelIndex sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtCore_44(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemModel::sort(int a0,Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
        QAbstractItemModel::sort(a0,a1);
        return;
    }

    extern void sipVH_QtCore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::SortOrder);

    sipVH_QtCore_49(sipGILState, 0, 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[13]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return QAbstractItemModel::flags(a0);

    extern Qt::ItemFlags sipVH_QtCore_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtCore_50(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQAbstractItemModel::canFetchMore(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return QAbstractItemModel::canFetchMore(a0);

    extern bool sipVH_QtCore_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtCore_42(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemModel::fetchMore(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
        QAbstractItemModel::fetchMore(a0);
        return;
    }

    extern void sipVH_QtCore_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    sipVH_QtCore_51(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQAbstractItemModel::removeColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return QAbstractItemModel::removeColumns(a0,a1,a2);

    extern bool sipVH_QtCore_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return sipVH_QtCore_52(sipGILState, 0, 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[17],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return QAbstractItemModel::removeRows(a0,a1,a2);

    extern bool sipVH_QtCore_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return sipVH_QtCore_52(sipGILState, 0, 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[18],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return QAbstractItemModel::insertColumns(a0,a1,a2);

    extern bool sipVH_QtCore_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return sipVH_QtCore_52(sipGILState, 0, 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[19],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return QAbstractItemModel::insertRows(a0,a1,a2);

    extern bool sipVH_QtCore_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return sipVH_QtCore_52(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

Qt::DropActions sipQAbstractItemModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return QAbstractItemModel::supportedDropActions();

    extern Qt::DropActions sipVH_QtCore_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_53(sipGILState, 0, 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[21],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return QAbstractItemModel::dropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);

    return sipVH_QtCore_45(sipGILState, 0, 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[22]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return QAbstractItemModel::mimeData(a0);

    extern QMimeData* sipVH_QtCore_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QModelIndex>&);

    return sipVH_QtCore_54(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QStringList sipQAbstractItemModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return QAbstractItemModel::mimeTypes();

    extern QStringList sipVH_QtCore_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_27(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQAbstractItemModel::setItemData(const QModelIndex& a0,const QMap<int,QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return QAbstractItemModel::setItemData(a0,a1);

    extern bool sipVH_QtCore_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QMap<int,QVariant>&);

    return sipVH_QtCore_55(sipGILState, 0, 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[25]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return QAbstractItemModel::itemData(a0);

    extern QMap<int,QVariant> sipVH_QtCore_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtCore_56(sipGILState, 0, 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[26],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return QAbstractItemModel::setHeaderData(a0,a1,a2,a3);

    extern bool sipVH_QtCore_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,const QVariant&,int);

    return sipVH_QtCore_57(sipGILState, 0, 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[27]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return QAbstractItemModel::headerData(a0,a1,a2);

    extern QVariant sipVH_QtCore_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,int);

    return sipVH_QtCore_58(sipGILState, 0, 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[28],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return QAbstractItemModel::setData(a0,a1,a2);

    extern bool sipVH_QtCore_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QVariant&,int);

    return sipVH_QtCore_59(sipGILState, 0, 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[29]),sipPySelf,sipName_QAbstractItemModel,sipName_data);

    if (!sipMeth)
        return QVariant();

    extern QVariant sipVH_QtCore_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int);

    return sipVH_QtCore_60(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractItemModel::hasChildren(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_hasChildren);

    if (!sipMeth)
        return QAbstractItemModel::hasChildren(a0);

    extern bool sipVH_QtCore_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtCore_42(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipQAbstractItemModel::columnCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,sipName_QAbstractItemModel,sipName_columnCount);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtCore_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtCore_43(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipQAbstractItemModel::rowCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,sipName_QAbstractItemModel,sipName_rowCount);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtCore_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtCore_43(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipQAbstractItemModel::parent(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,sipName_QAbstractItemModel,sipName_parent);

    if (!sipMeth)
        return QModelIndex();

    extern QModelIndex sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtCore_44(sipGILState, 0, 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[34]),sipPySelf,sipName_QAbstractItemModel,sipName_index);

    if (!sipMeth)
        return QModelIndex();

    extern QModelIndex sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return sipVH_QtCore_46(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAbstractItemModel::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAbstractItemModel::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

void sipQAbstractItemModel::sipProtect_resetInternalData()
{
    QAbstractItemModel::resetInternalData();
}

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_reset()
{
    QAbstractItemModel::reset();
}

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_setRoleNames(const QHash<int,QByteArray>& a0)
{
    QAbstractItemModel::setRoleNames(a0);
}


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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 150029 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QAbstractItemModel, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 150074 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QAbstractItemModel, sipName_customEvent, doc_QAbstractItemModel_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_connectNotify, "QAbstractItemModel.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QAbstractItemModel, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QAbstractItemModel, sipName_connectNotify, doc_QAbstractItemModel_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_disconnectNotify, "QAbstractItemModel.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QAbstractItemModel, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasIndex(a0,a1,*a2);
            Py_END_ALLOW_THREADS

            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;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex(sipCpp->index(a0,a1,*a2));
            Py_END_ALLOW_THREADS

            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;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex(sipCpp->parent(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    {
        const QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemModel, &sipCpp))
        {
            QObject*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->parent();
            Py_END_ALLOW_THREADS

            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;

    {
        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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex(sipCpp->sibling(a0,a1,*a2));
            Py_END_ALLOW_THREADS

            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;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->rowCount(*a0);
            Py_END_ALLOW_THREADS

            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;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->columnCount(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractItemModel::hasChildren(*a0) : sipCpp->hasChildren(*a0));
            Py_END_ALLOW_THREADS

            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) -> object");

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;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->data(*a0,a1));
            Py_END_ALLOW_THREADS

            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, object, 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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractItemModel::setData(*a0,*a1,a2) : sipCpp->setData(*a0,*a1,a2));
            Py_END_ALLOW_THREADS
            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) -> object");

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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->QAbstractItemModel::headerData(a0,a1,a2) : sipCpp->headerData(a0,a1,a2)));
            Py_END_ALLOW_THREADS

            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, object, 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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractItemModel::setHeaderData(a0,a1,*a2,a3) : sipCpp->setHeaderData(a0,a1,*a2,a3));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QMap<int,QVariant>((sipSelfWasArg ? sipCpp->QAbstractItemModel::itemData(*a0) : sipCpp->itemData(*a0)));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractItemModel::setItemData(*a0,*a1) : sipCpp->setItemData(*a0,*a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList((sipSelfWasArg ? sipCpp->QAbstractItemModel::mimeTypes() : sipCpp->mimeTypes()));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractItemModel::mimeData(*a0) : sipCpp->mimeData(*a0));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractItemModel::dropMimeData(a0,a1,a2,a3,*a4) : sipCpp->dropMimeData(a0,a1,a2,a3,*a4));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::DropActions((sipSelfWasArg ? sipCpp->QAbstractItemModel::supportedDropActions() : sipCpp->supportedDropActions()));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractItemModel::insertRows(a0,a1,*a2) : sipCpp->insertRows(a0,a1,*a2));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractItemModel::insertColumns(a0,a1,*a2) : sipCpp->insertColumns(a0,a1,*a2));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractItemModel::removeRows(a0,a1,*a2) : sipCpp->removeRows(a0,a1,*a2));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractItemModel::removeColumns(a0,a1,*a2) : sipCpp->removeColumns(a0,a1,*a2));
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QAbstractItemModel::fetchMore(*a0) : sipCpp->fetchMore(*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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractItemModel::canFetchMore(*a0) : sipCpp->canFetchMore(*a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::ItemFlags((sipSelfWasArg ? sipCpp->QAbstractItemModel::flags(*a0) : sipCpp->flags(*a0)));
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QAbstractItemModel::sort(a0,a1) : sipCpp->sort(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->QAbstractItemModel::buddy(*a0) : sipCpp->buddy(*a0)));
            Py_END_ALLOW_THREADS

            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, object, 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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndexList((sipSelfWasArg ? sipCpp->QAbstractItemModel::match(*a0,a1,*a2,a3,*a4) : sipCpp->match(*a0,a1,*a2,a3,*a4)));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->QAbstractItemModel::span(*a0) : sipCpp->span(*a0)));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractItemModel::submit() : sipCpp->submit());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QAbstractItemModel::revert() : sipCpp->revert());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_revert, doc_QAbstractItemModel_revert);

    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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_resetInternalData();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_resetInternalData, doc_QAbstractItemModel_resetInternalData);

    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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_encodeData(*a0,*a1);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_decodeData(a0,a1,*a2,*a3);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginInsertRows(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endInsertRows();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginRemoveRows(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endRemoveRows();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginInsertColumns(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endInsertColumns();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginRemoveColumns(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endRemoveColumns();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndexList(sipCpp->sipProtect_persistentIndexList());
            Py_END_ALLOW_THREADS

            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_reset, "QAbstractItemModel.reset()");

extern "C" {static PyObject *meth_QAbstractItemModel_reset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_reset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_reset();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_reset, doc_QAbstractItemModel_reset);

    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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_changePersistentIndex(*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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_changePersistentIndexList(*a0,*a1);
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->insertRow(a0,*a1);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->insertColumn(a0,*a1);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->removeRow(a0,*a1);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->removeColumn(a0,*a1);
            Py_END_ALLOW_THREADS

            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_setSupportedDragActions, "QAbstractItemModel.setSupportedDragActions(Qt.DropActions)");

extern "C" {static PyObject *meth_QAbstractItemModel_setSupportedDragActions(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_setSupportedDragActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::DropActions* a0;
        int a0State = 0;
        QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_Qt_DropActions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSupportedDragActions(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Qt_DropActions,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_setSupportedDragActions, doc_QAbstractItemModel_setSupportedDragActions);

    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;

    {
        const QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemModel, &sipCpp))
        {
            Qt::DropActions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::DropActions(sipCpp->supportedDragActions());
            Py_END_ALLOW_THREADS

            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;

    {
        const QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemModel, &sipCpp))
        {
            QHash<int,QByteArray>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QHash<int,QByteArray>(sipCpp->roleNames());
            Py_END_ALLOW_THREADS

            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 243 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 152114 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_beginMoveRows(*a0,a1,a2,*a3,a4);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endMoveRows();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_beginMoveColumns(*a0,a1,a2,*a3,a4);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endMoveColumns();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_beginResetModel, doc_QAbstractItemModel_beginResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_endResetModel, "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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_endResetModel, doc_QAbstractItemModel_endResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_setRoleNames, "QAbstractItemModel.setRoleNames(dict-of-int-QByteArray)");

extern "C" {static PyObject *meth_QAbstractItemModel_setRoleNames(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_setRoleNames(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QHash<int,QByteArray>* a0;
        int a0State = 0;
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QHash_1800_0100QByteArray,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setRoleNames(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QHash<int,QByteArray> *>(a0),sipType_QHash_1800_0100QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_setRoleNames, doc_QAbstractItemModel_setRoleNames);

    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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQAbstractItemModel(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAbstractItemModel[] = {{141, 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_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_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_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_reset), (PyCFunction)meth_QAbstractItemModel_reset, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_reset)},
    {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_setRoleNames), (PyCFunction)meth_QAbstractItemModel_setRoleNames, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_setRoleNames)},
    {SIP_MLNAME_CAST(sipName_setSupportedDragActions), meth_QAbstractItemModel_setSupportedDragActions, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemModel_setSupportedDragActions)},
    {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}
};


/* Define this type's signals. */
static const pyqt4QtSignal 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()", "\1QAbstractItemModel.layoutChanged", 0, 0},
    {"layoutAboutToBeChanged()", "\1QAbstractItemModel.layoutAboutToBeChanged", 0, 0},
    {"headerDataChanged(Qt::Orientation,int,int)", "\1QAbstractItemModel.headerDataChanged[Qt.Orientation, int, int]", 0, 0},
    {"dataChanged(QModelIndex,QModelIndex)", "\1QAbstractItemModel.dataChanged[QModelIndex, QModelIndex]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QAbstractItemModel, "\1QAbstractItemModel(QObject parent=None)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QAbstractItemModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QAbstractItemModel,
        {0}
    },
    {
        sipNameNr_QAbstractItemModel,
        {0, 0, 1},
        68, methods_QAbstractItemModel,
        0, 0,
        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,
};

#line 78 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 152570 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 152574 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 122 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 152577 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 152580 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 152583 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->row();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->column();
            Py_END_ALLOW_THREADS

            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) -> object");

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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->data(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::ItemFlags(sipCpp->flags());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex(sipCpp->parent());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex(sipCpp->sibling(a0,a1));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex(sipCpp->child(a0,a1));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->model();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            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;
}


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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = !sipCpp->QPersistentModelIndex::operator<(*a0);
            Py_END_ALLOW_THREADS

            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 111 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractitemmodel.sip"
        sipRes = qHash(*sipCpp);
#line 152905 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QPersistentModelIndex::operator!=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QModelIndex* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QModelIndex, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QPersistentModelIndex::operator!=(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QPersistentModelIndex::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QModelIndex* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QModelIndex, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QPersistentModelIndex::operator==(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QPersistentModelIndex::operator<(*a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QPersistentModelIndex *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QPersistentModelIndex();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QModelIndex* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QModelIndex, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QPersistentModelIndex(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QPersistentModelIndex* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QPersistentModelIndex, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QPersistentModelIndex(*a0);
            Py_END_ALLOW_THREADS

            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)}
};

PyDoc_STRVAR(doc_QPersistentModelIndex, "\1QPersistentModelIndex()\n"
    "QPersistentModelIndex(QModelIndex)\n"
    "QPersistentModelIndex(QPersistentModelIndex)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QPersistentModelIndex = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QPersistentModelIndex,
        {0}
    },
    {
        sipNameNr_QPersistentModelIndex,
        {0, 0, 1},
        9, methods_QPersistentModelIndex,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QPersistentModelIndex,
    sipNameNr_PyQt4_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
};

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 153231 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 78 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 153235 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 122 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 153238 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 153241 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 153244 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex(sipCpp->child(a0,a1));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->row();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->column();
            Py_END_ALLOW_THREADS

            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) -> object");

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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->data(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::ItemFlags(sipCpp->flags());
            Py_END_ALLOW_THREADS

            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 46 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractitemmodel.sip"
        sipRes = reinterpret_cast<PyObject *>(sipCpp->internalPointer());
        
        if (!sipRes)
            sipRes = Py_None;
        
        Py_INCREF(sipRes);
#line 153420 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 56 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 153452 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->model();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex(sipCpp->parent());
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex(sipCpp->sibling(a0,a1));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = !sipCpp->QModelIndex::operator<(*a0);
            Py_END_ALLOW_THREADS

            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 71 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractitemmodel.sip"
        sipRes = qHash(*sipCpp);
#line 153632 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QModelIndex::operator!=(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QModelIndex::operator<(*a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QModelIndex::operator==(*a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QModelIndex *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QModelIndex();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QModelIndex* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QModelIndex, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QModelIndex(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QPersistentModelIndex* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QPersistentModelIndex, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QModelIndex(a0->operator const QModelIndex&());
            Py_END_ALLOW_THREADS

            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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QModelIndex = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};

#line 305 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractfileengine.sip"
#include <qabstractfileengine.h>
#line 153930 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 153934 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 153937 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 153940 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 153943 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


class sipQAbstractFileEngineIterator : public QAbstractFileEngineIterator
{
public:
    sipQAbstractFileEngineIterator(QDir::Filters,const QStringList&);
    virtual ~sipQAbstractFileEngineIterator();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QFileInfo currentFileInfo() const;
    QString currentFileName() const;
    bool hasNext() const;
    QString next();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQAbstractFileEngineIterator(const sipQAbstractFileEngineIterator &);
    sipQAbstractFileEngineIterator &operator = (const sipQAbstractFileEngineIterator &);

    char sipPyMethods[4];
};

sipQAbstractFileEngineIterator::sipQAbstractFileEngineIterator(QDir::Filters a0,const QStringList& a1): QAbstractFileEngineIterator(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractFileEngineIterator::~sipQAbstractFileEngineIterator()
{
    sipCommonDtor(sipPySelf);
}

QFileInfo sipQAbstractFileEngineIterator::currentFileInfo() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_currentFileInfo);

    if (!sipMeth)
        return QAbstractFileEngineIterator::currentFileInfo();

    extern QFileInfo sipVH_QtCore_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_61(sipGILState, 0, sipPySelf, sipMeth);
}

QString sipQAbstractFileEngineIterator::currentFileName() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,sipName_QAbstractFileEngineIterator,sipName_currentFileName);

    if (!sipMeth)
        return QString();

    extern QString sipVH_QtCore_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_62(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQAbstractFileEngineIterator::hasNext() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,sipName_QAbstractFileEngineIterator,sipName_hasNext);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_7(sipGILState, 0, sipPySelf, sipMeth);
}

QString sipQAbstractFileEngineIterator::next()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,sipName_QAbstractFileEngineIterator,sipName_next);

    if (!sipMeth)
        return QString();

    extern QString sipVH_QtCore_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_62(sipGILState, 0, sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QAbstractFileEngineIterator_next, "QAbstractFileEngineIterator.next() -> str");

extern "C" {static PyObject *meth_QAbstractFileEngineIterator_next(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngineIterator_next(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        QAbstractFileEngineIterator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractFileEngineIterator, &sipCpp))
        {
            QString*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractFileEngineIterator, sipName_next);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->next());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngineIterator, sipName_next, doc_QAbstractFileEngineIterator_next);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngineIterator_hasNext, "QAbstractFileEngineIterator.hasNext() -> bool");

extern "C" {static PyObject *meth_QAbstractFileEngineIterator_hasNext(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngineIterator_hasNext(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QAbstractFileEngineIterator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractFileEngineIterator, &sipCpp))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractFileEngineIterator, sipName_hasNext);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasNext();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngineIterator, sipName_hasNext, doc_QAbstractFileEngineIterator_hasNext);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngineIterator_path, "QAbstractFileEngineIterator.path() -> str");

extern "C" {static PyObject *meth_QAbstractFileEngineIterator_path(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngineIterator_path(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractFileEngineIterator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractFileEngineIterator, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->path());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngineIterator, sipName_path, doc_QAbstractFileEngineIterator_path);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngineIterator_nameFilters, "QAbstractFileEngineIterator.nameFilters() -> list-of-str");

extern "C" {static PyObject *meth_QAbstractFileEngineIterator_nameFilters(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngineIterator_nameFilters(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractFileEngineIterator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractFileEngineIterator, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->nameFilters());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngineIterator, sipName_nameFilters, doc_QAbstractFileEngineIterator_nameFilters);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngineIterator_filters, "QAbstractFileEngineIterator.filters() -> QDir.Filters");

extern "C" {static PyObject *meth_QAbstractFileEngineIterator_filters(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngineIterator_filters(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractFileEngineIterator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractFileEngineIterator, &sipCpp))
        {
            QDir::Filters*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDir::Filters(sipCpp->filters());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDir_Filters,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngineIterator, sipName_filters, doc_QAbstractFileEngineIterator_filters);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngineIterator_currentFileName, "QAbstractFileEngineIterator.currentFileName() -> str");

extern "C" {static PyObject *meth_QAbstractFileEngineIterator_currentFileName(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngineIterator_currentFileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QAbstractFileEngineIterator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractFileEngineIterator, &sipCpp))
        {
            QString*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractFileEngineIterator, sipName_currentFileName);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->currentFileName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngineIterator, sipName_currentFileName, doc_QAbstractFileEngineIterator_currentFileName);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngineIterator_currentFileInfo, "QAbstractFileEngineIterator.currentFileInfo() -> QFileInfo");

extern "C" {static PyObject *meth_QAbstractFileEngineIterator_currentFileInfo(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngineIterator_currentFileInfo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QAbstractFileEngineIterator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractFileEngineIterator, &sipCpp))
        {
            QFileInfo*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFileInfo((sipSelfWasArg ? sipCpp->QAbstractFileEngineIterator::currentFileInfo() : sipCpp->currentFileInfo()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QFileInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngineIterator, sipName_currentFileInfo, doc_QAbstractFileEngineIterator_currentFileInfo);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngineIterator_currentFilePath, "QAbstractFileEngineIterator.currentFilePath() -> str");

extern "C" {static PyObject *meth_QAbstractFileEngineIterator_currentFilePath(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngineIterator_currentFilePath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractFileEngineIterator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractFileEngineIterator, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->currentFilePath());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngineIterator, sipName_currentFilePath, doc_QAbstractFileEngineIterator_currentFilePath);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QAbstractFileEngineIterator(void *, const sipTypeDef *);}
static void *cast_QAbstractFileEngineIterator(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QAbstractFileEngineIterator)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAbstractFileEngineIterator(void *, int);}
static void release_QAbstractFileEngineIterator(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQAbstractFileEngineIterator *>(sipCppV);
    else
        delete reinterpret_cast<QAbstractFileEngineIterator *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QAbstractFileEngineIterator(sipSimpleWrapper *);}
static void dealloc_QAbstractFileEngineIterator(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQAbstractFileEngineIterator *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QAbstractFileEngineIterator(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QAbstractFileEngineIterator(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAbstractFileEngineIterator(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQAbstractFileEngineIterator *sipCpp = 0;

    {
        QDir::Filters* a0;
        int a0State = 0;
        const QStringList* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1", sipType_QDir_Filters, &a0, &a0State, sipType_QStringList,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQAbstractFileEngineIterator(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QDir_Filters,a0State);
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QAbstractFileEngineIterator[] = {
    {SIP_MLNAME_CAST(sipName_currentFileInfo), meth_QAbstractFileEngineIterator_currentFileInfo, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngineIterator_currentFileInfo)},
    {SIP_MLNAME_CAST(sipName_currentFileName), meth_QAbstractFileEngineIterator_currentFileName, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngineIterator_currentFileName)},
    {SIP_MLNAME_CAST(sipName_currentFilePath), meth_QAbstractFileEngineIterator_currentFilePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngineIterator_currentFilePath)},
    {SIP_MLNAME_CAST(sipName_filters), meth_QAbstractFileEngineIterator_filters, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngineIterator_filters)},
    {SIP_MLNAME_CAST(sipName_hasNext), meth_QAbstractFileEngineIterator_hasNext, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngineIterator_hasNext)},
    {SIP_MLNAME_CAST(sipName_nameFilters), meth_QAbstractFileEngineIterator_nameFilters, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngineIterator_nameFilters)},
    {SIP_MLNAME_CAST(sipName_next), meth_QAbstractFileEngineIterator_next, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngineIterator_next)},
    {SIP_MLNAME_CAST(sipName_path), meth_QAbstractFileEngineIterator_path, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngineIterator_path)}
};

PyDoc_STRVAR(doc_QAbstractFileEngineIterator, "\1QAbstractFileEngineIterator(QDir.Filters, list-of-str)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QAbstractFileEngineIterator = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_QAbstractFileEngineIterator,
        {0}
    },
    {
        sipNameNr_QAbstractFileEngineIterator,
        {0, 0, 1},
        8, methods_QAbstractFileEngineIterator,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractFileEngineIterator,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_QAbstractFileEngineIterator,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAbstractFileEngineIterator,
    0,
    0,
    0,
    release_QAbstractFileEngineIterator,
    cast_QAbstractFileEngineIterator,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 290 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractfileengine.sip"
#include <qabstractfileengine.h>
#line 154435 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractfileengine.sip"
#include <qabstractfileengine.h>
#line 154439 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 154442 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


class sipQAbstractFileEngineHandler : public QAbstractFileEngineHandler
{
public:
    sipQAbstractFileEngineHandler();
    sipQAbstractFileEngineHandler(const QAbstractFileEngineHandler&);
    virtual ~sipQAbstractFileEngineHandler();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QAbstractFileEngine* create(const QString&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQAbstractFileEngineHandler(const sipQAbstractFileEngineHandler &);
    sipQAbstractFileEngineHandler &operator = (const sipQAbstractFileEngineHandler &);

    char sipPyMethods[1];
};

sipQAbstractFileEngineHandler::sipQAbstractFileEngineHandler(): QAbstractFileEngineHandler(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractFileEngineHandler::sipQAbstractFileEngineHandler(const QAbstractFileEngineHandler& a0): QAbstractFileEngineHandler(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractFileEngineHandler::~sipQAbstractFileEngineHandler()
{
    sipCommonDtor(sipPySelf);
}

QAbstractFileEngine* sipQAbstractFileEngineHandler::create(const QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,sipName_QAbstractFileEngineHandler,sipName_create);

    if (!sipMeth)
        return 0;

    extern QAbstractFileEngine* sipVH_QtCore_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return sipVH_QtCore_63(sipGILState, 0, sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QAbstractFileEngineHandler_create, "QAbstractFileEngineHandler.create(str) -> QAbstractFileEngine");

extern "C" {static PyObject *meth_QAbstractFileEngineHandler_create(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngineHandler_create(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QString* a0;
        int a0State = 0;
        const QAbstractFileEngineHandler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAbstractFileEngineHandler, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QAbstractFileEngine*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractFileEngineHandler, sipName_create);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->create(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QAbstractFileEngine,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngineHandler, sipName_create, doc_QAbstractFileEngineHandler_create);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QAbstractFileEngineHandler(void *, const sipTypeDef *);}
static void *cast_QAbstractFileEngineHandler(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QAbstractFileEngineHandler)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAbstractFileEngineHandler(void *, int);}
static void release_QAbstractFileEngineHandler(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQAbstractFileEngineHandler *>(sipCppV);
    else
        delete reinterpret_cast<QAbstractFileEngineHandler *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QAbstractFileEngineHandler(sipSimpleWrapper *);}
static void dealloc_QAbstractFileEngineHandler(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQAbstractFileEngineHandler *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QAbstractFileEngineHandler(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QAbstractFileEngineHandler(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAbstractFileEngineHandler(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQAbstractFileEngineHandler *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQAbstractFileEngineHandler();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QAbstractFileEngineHandler* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QAbstractFileEngineHandler, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQAbstractFileEngineHandler(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QAbstractFileEngineHandler[] = {
    {SIP_MLNAME_CAST(sipName_create), meth_QAbstractFileEngineHandler_create, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngineHandler_create)}
};

PyDoc_STRVAR(doc_QAbstractFileEngineHandler, "\1QAbstractFileEngineHandler()\n"
    "QAbstractFileEngineHandler(QAbstractFileEngineHandler)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QAbstractFileEngineHandler = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_QAbstractFileEngineHandler,
        {0}
    },
    {
        sipNameNr_QAbstractFileEngineHandler,
        {0, 0, 1},
        1, methods_QAbstractFileEngineHandler,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractFileEngineHandler,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QAbstractFileEngineHandler,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAbstractFileEngineHandler,
    0,
    0,
    0,
    release_QAbstractFileEngineHandler,
    cast_QAbstractFileEngineHandler,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractfileengine.sip"
#include <qabstractfileengine.h>
#line 154679 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractfileengine.sip"
#include <qabstractfileengine.h>
#line 154683 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


extern "C" {static int slot_QAbstractFileEngine_FileFlags___bool__(PyObject *);}
static int slot_QAbstractFileEngine_FileFlags___bool__(PyObject *sipSelf)
{
    QAbstractFileEngine::FileFlags *sipCpp = reinterpret_cast<QAbstractFileEngine::FileFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractFileEngine_FileFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QAbstractFileEngine::FileFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 154705 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QAbstractFileEngine_FileFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractFileEngine_FileFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QAbstractFileEngine::FileFlags *sipCpp = reinterpret_cast<QAbstractFileEngine::FileFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractFileEngine_FileFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QAbstractFileEngine::FileFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QAbstractFileEngine_FileFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QAbstractFileEngine::FileFlags::Int() != a0->operator QAbstractFileEngine::FileFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 154739 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast<QAbstractFileEngine::FileFlags *>(a0),sipType_QAbstractFileEngine_FileFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,ne_slot,sipType_QAbstractFileEngine_FileFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QAbstractFileEngine_FileFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractFileEngine_FileFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QAbstractFileEngine::FileFlags *sipCpp = reinterpret_cast<QAbstractFileEngine::FileFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractFileEngine_FileFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QAbstractFileEngine::FileFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QAbstractFileEngine_FileFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QAbstractFileEngine::FileFlags::Int() == a0->operator QAbstractFileEngine::FileFlags::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 154779 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast<QAbstractFileEngine::FileFlags *>(a0),sipType_QAbstractFileEngine_FileFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,eq_slot,sipType_QAbstractFileEngine_FileFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QAbstractFileEngine_FileFlags___invert__(PyObject *);}
static PyObject *slot_QAbstractFileEngine_FileFlags___invert__(PyObject *sipSelf)
{
    QAbstractFileEngine::FileFlags *sipCpp = reinterpret_cast<QAbstractFileEngine::FileFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractFileEngine_FileFlags));

    if (!sipCpp)
        return 0;


    {
        {
            QAbstractFileEngine::FileFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QAbstractFileEngine::FileFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QAbstractFileEngine_FileFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QAbstractFileEngine_FileFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractFileEngine_FileFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractFileEngine::FileFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QAbstractFileEngine_FileFlags, &a0, &a0State, &a1))
        {
            QAbstractFileEngine::FileFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QAbstractFileEngine::FileFlags((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QAbstractFileEngine_FileFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QAbstractFileEngine_FileFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QAbstractFileEngine_FileFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractFileEngine_FileFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractFileEngine::FileFlags* a0;
        int a0State = 0;
        QAbstractFileEngine::FileFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QAbstractFileEngine_FileFlags, &a0, &a0State, sipType_QAbstractFileEngine_FileFlags, &a1, &a1State))
        {
            QAbstractFileEngine::FileFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QAbstractFileEngine::FileFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QAbstractFileEngine_FileFlags,a0State);
            sipReleaseType(a1,sipType_QAbstractFileEngine_FileFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QAbstractFileEngine_FileFlags,NULL);
        }
    }

    {
        QAbstractFileEngine::FileFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QAbstractFileEngine_FileFlags, &a0, &a0State, &a1))
        {
            QAbstractFileEngine::FileFlags*sipRes = 0;

#line 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QAbstractFileEngine::FileFlags(*a0 ^ a1);
#line 154888 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(a0,sipType_QAbstractFileEngine_FileFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QAbstractFileEngine_FileFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QAbstractFileEngine_FileFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractFileEngine_FileFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractFileEngine::FileFlags* a0;
        int a0State = 0;
        QAbstractFileEngine::FileFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QAbstractFileEngine_FileFlags, &a0, &a0State, sipType_QAbstractFileEngine_FileFlags, &a1, &a1State))
        {
            QAbstractFileEngine::FileFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QAbstractFileEngine::FileFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QAbstractFileEngine_FileFlags,a0State);
            sipReleaseType(a1,sipType_QAbstractFileEngine_FileFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QAbstractFileEngine_FileFlags,NULL);
        }
    }

    {
        QAbstractFileEngine::FileFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QAbstractFileEngine_FileFlags, &a0, &a0State, &a1))
        {
            QAbstractFileEngine::FileFlags*sipRes = 0;

#line 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new QAbstractFileEngine::FileFlags(*a0 | a1);
#line 154940 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(a0,sipType_QAbstractFileEngine_FileFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QAbstractFileEngine_FileFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QAbstractFileEngine_FileFlags___int__(PyObject *);}
static PyObject *slot_QAbstractFileEngine_FileFlags___int__(PyObject *sipSelf)
{
    QAbstractFileEngine::FileFlags *sipCpp = reinterpret_cast<QAbstractFileEngine::FileFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractFileEngine_FileFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QAbstractFileEngine_FileFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractFileEngine_FileFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QAbstractFileEngine_FileFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QAbstractFileEngine::FileFlags *sipCpp = reinterpret_cast<QAbstractFileEngine::FileFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractFileEngine_FileFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QAbstractFileEngine::FileFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QAbstractFileEngine_FileFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QAbstractFileEngine::FileFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QAbstractFileEngine_FileFlags,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_QAbstractFileEngine_FileFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractFileEngine_FileFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QAbstractFileEngine_FileFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QAbstractFileEngine::FileFlags *sipCpp = reinterpret_cast<QAbstractFileEngine::FileFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractFileEngine_FileFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QAbstractFileEngine::FileFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QAbstractFileEngine_FileFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QAbstractFileEngine::FileFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QAbstractFileEngine_FileFlags,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_QAbstractFileEngine_FileFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractFileEngine_FileFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QAbstractFileEngine_FileFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QAbstractFileEngine::FileFlags *sipCpp = reinterpret_cast<QAbstractFileEngine::FileFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractFileEngine_FileFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->QAbstractFileEngine::FileFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            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_QAbstractFileEngine_FileFlags(void *, const sipTypeDef *);}
static void *cast_QAbstractFileEngine_FileFlags(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QAbstractFileEngine_FileFlags)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAbstractFileEngine_FileFlags(void *, int);}
static void release_QAbstractFileEngine_FileFlags(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QAbstractFileEngine::FileFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QAbstractFileEngine_FileFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_QAbstractFileEngine_FileFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QAbstractFileEngine::FileFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QAbstractFileEngine::FileFlags *>(sipSrc);
}


extern "C" {static void *array_QAbstractFileEngine_FileFlags(SIP_SSIZE_T);}
static void *array_QAbstractFileEngine_FileFlags(SIP_SSIZE_T sipNrElem)
{
    return new QAbstractFileEngine::FileFlags[sipNrElem];
}


extern "C" {static void *copy_QAbstractFileEngine_FileFlags(const void *, SIP_SSIZE_T);}
static void *copy_QAbstractFileEngine_FileFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QAbstractFileEngine::FileFlags(reinterpret_cast<const QAbstractFileEngine::FileFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QAbstractFileEngine_FileFlags(sipSimpleWrapper *);}
static void dealloc_QAbstractFileEngine_FileFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QAbstractFileEngine_FileFlags(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QAbstractFileEngine_FileFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAbstractFileEngine_FileFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QAbstractFileEngine::FileFlags *sipCpp = 0;

    {
        const QAbstractFileEngine::FileFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QAbstractFileEngine_FileFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QAbstractFileEngine::FileFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QAbstractFileEngine::FileFlags *>(a0),sipType_QAbstractFileEngine_FileFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QAbstractFileEngine::FileFlags(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QAbstractFileEngine::FileFlags();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QAbstractFileEngine_FileFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_QAbstractFileEngine_FileFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QAbstractFileEngine::FileFlags **sipCppPtr = reinterpret_cast<QAbstractFileEngine::FileFlags **>(sipCppPtrV);

#line 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QAbstractFileEngine::FileFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QAbstractFileEngine_FileFlag)) ||
            sipCanConvertToType(sipPy, sipType_QAbstractFileEngine_FileFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QAbstractFileEngine_FileFlag)))
{
    *sipCppPtr = new QAbstractFileEngine::FileFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QAbstractFileEngine::FileFlags *>(sipConvertToType(sipPy, sipType_QAbstractFileEngine_FileFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 155235 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QAbstractFileEngine_FileFlags[] = {
    {(void *)slot_QAbstractFileEngine_FileFlags___bool__, bool_slot},
    {(void *)slot_QAbstractFileEngine_FileFlags___ne__, ne_slot},
    {(void *)slot_QAbstractFileEngine_FileFlags___eq__, eq_slot},
    {(void *)slot_QAbstractFileEngine_FileFlags___invert__, invert_slot},
    {(void *)slot_QAbstractFileEngine_FileFlags___and__, and_slot},
    {(void *)slot_QAbstractFileEngine_FileFlags___xor__, xor_slot},
    {(void *)slot_QAbstractFileEngine_FileFlags___or__, or_slot},
    {(void *)slot_QAbstractFileEngine_FileFlags___int__, int_slot},
    {(void *)slot_QAbstractFileEngine_FileFlags___ixor__, ixor_slot},
    {(void *)slot_QAbstractFileEngine_FileFlags___ior__, ior_slot},
    {(void *)slot_QAbstractFileEngine_FileFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QAbstractFileEngine_FileFlags, "\1QAbstractFileEngine.FileFlags(QAbstractFileEngine.FileFlags)\n"
    "QAbstractFileEngine.FileFlags(int)\n"
    "QAbstractFileEngine.FileFlags()");


pyqt4ClassTypeDef sipTypeDef_QtCore_QAbstractFileEngine_FileFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QAbstractFileEngine__FileFlags,
        {0}
    },
    {
        sipNameNr_FileFlags,
        {5, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractFileEngine_FileFlags,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QAbstractFileEngine_FileFlags,
    init_type_QAbstractFileEngine_FileFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAbstractFileEngine_FileFlags,
    assign_QAbstractFileEngine_FileFlags,
    array_QAbstractFileEngine_FileFlags,
    copy_QAbstractFileEngine_FileFlags,
    release_QAbstractFileEngine_FileFlags,
    cast_QAbstractFileEngine_FileFlags,
    convertTo_QAbstractFileEngine_FileFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractfileengine.sip"
#include <qabstractfileengine.h>
#line 155316 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 79 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qfile.sip"
#include <qfile.h>
#line 155320 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 155323 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 305 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractfileengine.sip"
#include <qabstractfileengine.h>
#line 155326 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 155329 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 155332 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 401 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 155335 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractfileengine.sip"
#include <qabstractfileengine.h>
#line 155338 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 155341 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


class sipQAbstractFileEngine : public QAbstractFileEngine
{
public:
    sipQAbstractFileEngine();
    virtual ~sipQAbstractFileEngine();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_setError(QFile::FileError,const QString&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    qint64 write(const char*,PY_LONG_LONG);
    qint64 readLine(char*,qint64);
    qint64 read(char*,qint64);
    QAbstractFileEngineIterator* beginEntryList(QDir::Filters,const QStringList&);
    int handle() const;
    void setFileName(const QString&);
    QDateTime fileTime(QAbstractFileEngine::FileTime) const;
    QString owner(QAbstractFileEngine::FileOwner) const;
    uint ownerId(QAbstractFileEngine::FileOwner) const;
    QString fileName(QAbstractFileEngine::FileName) const;
    bool setPermissions(uint);
    QAbstractFileEngine::FileFlags fileFlags(QAbstractFileEngine::FileFlags) const;
    QStringList entryList(QDir::Filters,const QStringList&) const;
    bool isRelativePath() const;
    bool caseSensitive() const;
    bool setSize(qint64);
    bool rmdir(const QString&,bool) const;
    bool mkdir(const QString&,bool) const;
    bool link(const QString&);
    bool rename(const QString&);
    bool copy(const QString&);
    bool remove();
    bool isSequential() const;
    bool seek(qint64);
    qint64 pos() const;
    qint64 size() const;
    bool flush();
    bool close();
    bool open(QIODevice::OpenMode);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQAbstractFileEngine(const sipQAbstractFileEngine &);
    sipQAbstractFileEngine &operator = (const sipQAbstractFileEngine &);

    char sipPyMethods[29];
};

sipQAbstractFileEngine::sipQAbstractFileEngine(): QAbstractFileEngine(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractFileEngine::~sipQAbstractFileEngine()
{
    sipCommonDtor(sipPySelf);
}

qint64 sipQAbstractFileEngine::write(const char*a0,PY_LONG_LONG a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_write);

    if (!sipMeth)
        return QAbstractFileEngine::write(a0,a1);

    extern PY_LONG_LONG sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*,PY_LONG_LONG);

    return sipVH_QtCore_20(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

qint64 sipQAbstractFileEngine::readLine(char*a0,qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_readLine);

    if (!sipMeth)
        return QAbstractFileEngine::readLine(a0,a1);

    extern PY_LONG_LONG sipVH_QtCore_64(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,PY_LONG_LONG);

    return sipVH_QtCore_64(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

qint64 sipQAbstractFileEngine::read(char*a0,qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_read);

    if (!sipMeth)
        return QAbstractFileEngine::read(a0,a1);

    extern PY_LONG_LONG sipVH_QtCore_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,PY_LONG_LONG);

    return sipVH_QtCore_65(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QAbstractFileEngineIterator* sipQAbstractFileEngine::beginEntryList(QDir::Filters a0,const QStringList& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_beginEntryList);

    if (!sipMeth)
        return QAbstractFileEngine::beginEntryList(a0,a1);

    extern QAbstractFileEngineIterator* sipVH_QtCore_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDir::Filters,const QStringList&);

    return sipVH_QtCore_66(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

int sipQAbstractFileEngine::handle() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_handle);

    if (!sipMeth)
        return QAbstractFileEngine::handle();

    extern int sipVH_QtCore_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_6(sipGILState, 0, sipPySelf, sipMeth);
}

void sipQAbstractFileEngine::setFileName(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setFileName);

    if (!sipMeth)
    {
        QAbstractFileEngine::setFileName(a0);
        return;
    }

    extern void sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    sipVH_QtCore_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QDateTime sipQAbstractFileEngine::fileTime(QAbstractFileEngine::FileTime a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_fileTime);

    if (!sipMeth)
        return QAbstractFileEngine::fileTime(a0);

    extern QDateTime sipVH_QtCore_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractFileEngine::FileTime);

    return sipVH_QtCore_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QString sipQAbstractFileEngine::owner(QAbstractFileEngine::FileOwner a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_owner);

    if (!sipMeth)
        return QAbstractFileEngine::owner(a0);

    extern QString sipVH_QtCore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractFileEngine::FileOwner);

    return sipVH_QtCore_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

uint sipQAbstractFileEngine::ownerId(QAbstractFileEngine::FileOwner a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_ownerId);

    if (!sipMeth)
        return QAbstractFileEngine::ownerId(a0);

    extern uint sipVH_QtCore_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractFileEngine::FileOwner);

    return sipVH_QtCore_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QString sipQAbstractFileEngine::fileName(QAbstractFileEngine::FileName a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_fileName);

    if (!sipMeth)
        return QAbstractFileEngine::fileName(a0);

    extern QString sipVH_QtCore_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractFileEngine::FileName);

    return sipVH_QtCore_37(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQAbstractFileEngine::setPermissions(uint a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setPermissions);

    if (!sipMeth)
        return QAbstractFileEngine::setPermissions(a0);

    extern bool sipVH_QtCore_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, uint);

    return sipVH_QtCore_38(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QAbstractFileEngine::FileFlags sipQAbstractFileEngine::fileFlags(QAbstractFileEngine::FileFlags a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_fileFlags);

    if (!sipMeth)
        return QAbstractFileEngine::fileFlags(a0);

    extern QAbstractFileEngine::FileFlags sipVH_QtCore_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractFileEngine::FileFlags);

    return sipVH_QtCore_39(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QStringList sipQAbstractFileEngine::entryList(QDir::Filters a0,const QStringList& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_entryList);

    if (!sipMeth)
        return QAbstractFileEngine::entryList(a0,a1);

    extern QStringList sipVH_QtCore_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDir::Filters,const QStringList&);

    return sipVH_QtCore_40(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractFileEngine::isRelativePath() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_isRelativePath);

    if (!sipMeth)
        return QAbstractFileEngine::isRelativePath();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_7(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQAbstractFileEngine::caseSensitive() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_caseSensitive);

    if (!sipMeth)
        return QAbstractFileEngine::caseSensitive();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_7(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQAbstractFileEngine::setSize(qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_setSize);

    if (!sipMeth)
        return QAbstractFileEngine::setSize(a0);

    extern bool sipVH_QtCore_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, PY_LONG_LONG);

    return sipVH_QtCore_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQAbstractFileEngine::rmdir(const QString& a0,bool a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_rmdir);

    if (!sipMeth)
        return QAbstractFileEngine::rmdir(a0,a1);

    extern bool sipVH_QtCore_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,bool);

    return sipVH_QtCore_41(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractFileEngine::mkdir(const QString& a0,bool a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_mkdir);

    if (!sipMeth)
        return QAbstractFileEngine::mkdir(a0,a1);

    extern bool sipVH_QtCore_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,bool);

    return sipVH_QtCore_41(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractFileEngine::link(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_link);

    if (!sipMeth)
        return QAbstractFileEngine::link(a0);

    extern bool sipVH_QtCore_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return sipVH_QtCore_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQAbstractFileEngine::rename(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_rename);

    if (!sipMeth)
        return QAbstractFileEngine::rename(a0);

    extern bool sipVH_QtCore_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return sipVH_QtCore_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQAbstractFileEngine::copy(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_copy);

    if (!sipMeth)
        return QAbstractFileEngine::copy(a0);

    extern bool sipVH_QtCore_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return sipVH_QtCore_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQAbstractFileEngine::remove()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_remove);

    if (!sipMeth)
        return QAbstractFileEngine::remove();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_7(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQAbstractFileEngine::isSequential() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_isSequential);

    if (!sipMeth)
        return QAbstractFileEngine::isSequential();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_7(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQAbstractFileEngine::seek(qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_seek);

    if (!sipMeth)
        return QAbstractFileEngine::seek(a0);

    extern bool sipVH_QtCore_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, PY_LONG_LONG);

    return sipVH_QtCore_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

qint64 sipQAbstractFileEngine::pos() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_pos);

    if (!sipMeth)
        return QAbstractFileEngine::pos();

    extern PY_LONG_LONG sipVH_QtCore_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_22(sipGILState, 0, sipPySelf, sipMeth);
}

qint64 sipQAbstractFileEngine::size() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_size);

    if (!sipMeth)
        return QAbstractFileEngine::size();

    extern PY_LONG_LONG sipVH_QtCore_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_22(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQAbstractFileEngine::flush()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_flush);

    if (!sipMeth)
        return QAbstractFileEngine::flush();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_7(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQAbstractFileEngine::close()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_close);

    if (!sipMeth)
        return QAbstractFileEngine::close();

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_7(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQAbstractFileEngine::open(QIODevice::OpenMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
        return QAbstractFileEngine::open(a0);

    extern bool sipVH_QtCore_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QIODevice::OpenMode);

    return sipVH_QtCore_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQAbstractFileEngine::sipProtect_setError(QFile::FileError a0,const QString& a1)
{
    QAbstractFileEngine::setError(a0,a1);
}


PyDoc_STRVAR(doc_QAbstractFileEngine_atEnd, "QAbstractFileEngine.atEnd() -> bool");

extern "C" {static PyObject *meth_QAbstractFileEngine_atEnd(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_atEnd(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractFileEngine, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->atEnd();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_atEnd, doc_QAbstractFileEngine_atEnd);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_open, "QAbstractFileEngine.open(QIODevice.OpenMode) -> bool");

extern "C" {static PyObject *meth_QAbstractFileEngine_open(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_open(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QIODevice::OpenMode* a0;
        int a0State = 0;
        QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAbstractFileEngine, &sipCpp, sipType_QIODevice_OpenMode, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractFileEngine::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_QAbstractFileEngine, sipName_open, doc_QAbstractFileEngine_open);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_close, "QAbstractFileEngine.close() -> bool");

extern "C" {static PyObject *meth_QAbstractFileEngine_close(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_close(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractFileEngine, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractFileEngine::close() : sipCpp->close());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_close, doc_QAbstractFileEngine_close);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_flush, "QAbstractFileEngine.flush() -> bool");

extern "C" {static PyObject *meth_QAbstractFileEngine_flush(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_flush(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractFileEngine, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractFileEngine::flush() : sipCpp->flush());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_flush, doc_QAbstractFileEngine_flush);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_size, "QAbstractFileEngine.size() -> int");

extern "C" {static PyObject *meth_QAbstractFileEngine_size(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_size(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractFileEngine, &sipCpp))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractFileEngine::size() : sipCpp->size());
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_size, doc_QAbstractFileEngine_size);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_pos, "QAbstractFileEngine.pos() -> int");

extern "C" {static PyObject *meth_QAbstractFileEngine_pos(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_pos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractFileEngine, &sipCpp))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractFileEngine::pos() : sipCpp->pos());
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_pos, doc_QAbstractFileEngine_pos);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_seek, "QAbstractFileEngine.seek(int) -> bool");

extern "C" {static PyObject *meth_QAbstractFileEngine_seek(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_seek(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qint64 a0;
        QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QAbstractFileEngine, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractFileEngine::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_QAbstractFileEngine, sipName_seek, doc_QAbstractFileEngine_seek);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_isSequential, "QAbstractFileEngine.isSequential() -> bool");

extern "C" {static PyObject *meth_QAbstractFileEngine_isSequential(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_isSequential(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractFileEngine, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractFileEngine::isSequential() : sipCpp->isSequential());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_isSequential, doc_QAbstractFileEngine_isSequential);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_remove, "QAbstractFileEngine.remove() -> bool");

extern "C" {static PyObject *meth_QAbstractFileEngine_remove(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_remove(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractFileEngine, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractFileEngine::remove() : sipCpp->remove());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_remove, doc_QAbstractFileEngine_remove);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_copy, "QAbstractFileEngine.copy(str) -> bool");

extern "C" {static PyObject *meth_QAbstractFileEngine_copy(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_copy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAbstractFileEngine, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractFileEngine::copy(*a0) : sipCpp->copy(*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_QAbstractFileEngine, sipName_copy, doc_QAbstractFileEngine_copy);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_rename, "QAbstractFileEngine.rename(str) -> bool");

extern "C" {static PyObject *meth_QAbstractFileEngine_rename(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_rename(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAbstractFileEngine, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractFileEngine::rename(*a0) : sipCpp->rename(*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_QAbstractFileEngine, sipName_rename, doc_QAbstractFileEngine_rename);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_link, "QAbstractFileEngine.link(str) -> bool");

extern "C" {static PyObject *meth_QAbstractFileEngine_link(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_link(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAbstractFileEngine, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractFileEngine::link(*a0) : sipCpp->link(*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_QAbstractFileEngine, sipName_link, doc_QAbstractFileEngine_link);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_mkdir, "QAbstractFileEngine.mkdir(str, bool) -> bool");

extern "C" {static PyObject *meth_QAbstractFileEngine_mkdir(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_mkdir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        bool a1;
        const QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1b", &sipSelf, sipType_QAbstractFileEngine, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractFileEngine::mkdir(*a0,a1) : sipCpp->mkdir(*a0,a1));
            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_QAbstractFileEngine, sipName_mkdir, doc_QAbstractFileEngine_mkdir);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_rmdir, "QAbstractFileEngine.rmdir(str, bool) -> bool");

extern "C" {static PyObject *meth_QAbstractFileEngine_rmdir(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_rmdir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        bool a1;
        const QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1b", &sipSelf, sipType_QAbstractFileEngine, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractFileEngine::rmdir(*a0,a1) : sipCpp->rmdir(*a0,a1));
            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_QAbstractFileEngine, sipName_rmdir, doc_QAbstractFileEngine_rmdir);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_setSize, "QAbstractFileEngine.setSize(int) -> bool");

extern "C" {static PyObject *meth_QAbstractFileEngine_setSize(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_setSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qint64 a0;
        QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QAbstractFileEngine, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractFileEngine::setSize(a0) : sipCpp->setSize(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_setSize, doc_QAbstractFileEngine_setSize);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_caseSensitive, "QAbstractFileEngine.caseSensitive() -> bool");

extern "C" {static PyObject *meth_QAbstractFileEngine_caseSensitive(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_caseSensitive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractFileEngine, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractFileEngine::caseSensitive() : sipCpp->caseSensitive());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_caseSensitive, doc_QAbstractFileEngine_caseSensitive);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_isRelativePath, "QAbstractFileEngine.isRelativePath() -> bool");

extern "C" {static PyObject *meth_QAbstractFileEngine_isRelativePath(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_isRelativePath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractFileEngine, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractFileEngine::isRelativePath() : sipCpp->isRelativePath());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_isRelativePath, doc_QAbstractFileEngine_isRelativePath);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_entryList, "QAbstractFileEngine.entryList(QDir.Filters, list-of-str) -> list-of-str");

extern "C" {static PyObject *meth_QAbstractFileEngine_entryList(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_entryList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDir::Filters* a0;
        int a0State = 0;
        const QStringList* a1;
        int a1State = 0;
        const QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QAbstractFileEngine, &sipCpp, sipType_QDir_Filters, &a0, &a0State, sipType_QStringList,&a1, &a1State))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList((sipSelfWasArg ? sipCpp->QAbstractFileEngine::entryList(*a0,*a1) : sipCpp->entryList(*a0,*a1)));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QDir_Filters,a0State);
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_entryList, doc_QAbstractFileEngine_entryList);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_fileFlags, "QAbstractFileEngine.fileFlags(QAbstractFileEngine.FileFlags type=QAbstractFileEngine.FileInfoAll) -> QAbstractFileEngine.FileFlags");

extern "C" {static PyObject *meth_QAbstractFileEngine_fileFlags(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_fileFlags(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractFileEngine::FileFlags a0def = QAbstractFileEngine::FileInfoAll;
        QAbstractFileEngine::FileFlags* a0 = &a0def;
        int a0State = 0;
        const QAbstractFileEngine *sipCpp;

        static const char *sipKwdList[] = {
            sipName_type,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QAbstractFileEngine, &sipCpp, sipType_QAbstractFileEngine_FileFlags, &a0, &a0State))
        {
            QAbstractFileEngine::FileFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QAbstractFileEngine::FileFlags((sipSelfWasArg ? sipCpp->QAbstractFileEngine::fileFlags(*a0) : sipCpp->fileFlags(*a0)));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QAbstractFileEngine_FileFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QAbstractFileEngine_FileFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_fileFlags, doc_QAbstractFileEngine_fileFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_setPermissions, "QAbstractFileEngine.setPermissions(int) -> bool");

extern "C" {static PyObject *meth_QAbstractFileEngine_setPermissions(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_setPermissions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        uint a0;
        QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bu", &sipSelf, sipType_QAbstractFileEngine, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractFileEngine::setPermissions(a0) : sipCpp->setPermissions(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_setPermissions, doc_QAbstractFileEngine_setPermissions);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_fileName, "QAbstractFileEngine.fileName(QAbstractFileEngine.FileName file=QAbstractFileEngine.DefaultName) -> str");

extern "C" {static PyObject *meth_QAbstractFileEngine_fileName(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_fileName(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractFileEngine::FileName a0 = QAbstractFileEngine::DefaultName;
        const QAbstractFileEngine *sipCpp;

        static const char *sipKwdList[] = {
            sipName_file,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QAbstractFileEngine, &sipCpp, sipType_QAbstractFileEngine_FileName, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->QAbstractFileEngine::fileName(a0) : sipCpp->fileName(a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_fileName, doc_QAbstractFileEngine_fileName);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_ownerId, "QAbstractFileEngine.ownerId(QAbstractFileEngine.FileOwner) -> int");

extern "C" {static PyObject *meth_QAbstractFileEngine_ownerId(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_ownerId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractFileEngine::FileOwner a0;
        const QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAbstractFileEngine, &sipCpp, sipType_QAbstractFileEngine_FileOwner, &a0))
        {
            uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractFileEngine::ownerId(a0) : sipCpp->ownerId(a0));
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_ownerId, doc_QAbstractFileEngine_ownerId);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_owner, "QAbstractFileEngine.owner(QAbstractFileEngine.FileOwner) -> str");

extern "C" {static PyObject *meth_QAbstractFileEngine_owner(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_owner(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractFileEngine::FileOwner a0;
        const QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAbstractFileEngine, &sipCpp, sipType_QAbstractFileEngine_FileOwner, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->QAbstractFileEngine::owner(a0) : sipCpp->owner(a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_owner, doc_QAbstractFileEngine_owner);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_fileTime, "QAbstractFileEngine.fileTime(QAbstractFileEngine.FileTime) -> QDateTime");

extern "C" {static PyObject *meth_QAbstractFileEngine_fileTime(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_fileTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractFileEngine::FileTime a0;
        const QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAbstractFileEngine, &sipCpp, sipType_QAbstractFileEngine_FileTime, &a0))
        {
            QDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTime((sipSelfWasArg ? sipCpp->QAbstractFileEngine::fileTime(a0) : sipCpp->fileTime(a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_fileTime, doc_QAbstractFileEngine_fileTime);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_setFileName, "QAbstractFileEngine.setFileName(str)");

extern "C" {static PyObject *meth_QAbstractFileEngine_setFileName(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_setFileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAbstractFileEngine, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QAbstractFileEngine::setFileName(*a0) : sipCpp->setFileName(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_setFileName, doc_QAbstractFileEngine_setFileName);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_handle, "QAbstractFileEngine.handle() -> int");

extern "C" {static PyObject *meth_QAbstractFileEngine_handle(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_handle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractFileEngine, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractFileEngine::handle() : sipCpp->handle());
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_handle, doc_QAbstractFileEngine_handle);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_beginEntryList, "QAbstractFileEngine.beginEntryList(QDir.Filters, list-of-str) -> QAbstractFileEngineIterator");

extern "C" {static PyObject *meth_QAbstractFileEngine_beginEntryList(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_beginEntryList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDir::Filters* a0;
        int a0State = 0;
        const QStringList* a1;
        int a1State = 0;
        QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QAbstractFileEngine, &sipCpp, sipType_QDir_Filters, &a0, &a0State, sipType_QStringList,&a1, &a1State))
        {
            QAbstractFileEngineIterator*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractFileEngine::beginEntryList(*a0,*a1) : sipCpp->beginEntryList(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QDir_Filters,a0State);
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);

            return sipConvertFromNewType(sipRes,sipType_QAbstractFileEngineIterator,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_beginEntryList, doc_QAbstractFileEngine_beginEntryList);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_read, "QAbstractFileEngine.read(int) -> bytes");

extern "C" {static PyObject *meth_QAbstractFileEngine_read(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_read(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qint64 a0;
        QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QAbstractFileEngine, &sipCpp, &a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 138 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractfileengine.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 = sipSelfWasArg ? sipCpp->QAbstractFileEngine::read(s, a0)
                                : 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 156766 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_read, doc_QAbstractFileEngine_read);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_readLine, "QAbstractFileEngine.readLine(int) -> bytes");

extern "C" {static PyObject *meth_QAbstractFileEngine_readLine(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_readLine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qint64 a0;
        QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QAbstractFileEngine, &sipCpp, &a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 200 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractfileengine.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 = sipSelfWasArg ? sipCpp->QAbstractFileEngine::readLine(s, a0)
                                : 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 156831 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_readLine, doc_QAbstractFileEngine_readLine);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_write, "QAbstractFileEngine.write(str) -> int");

extern "C" {static PyObject *meth_QAbstractFileEngine_write(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_write(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const char* a0;
        SIP_SSIZE_T a1;
        QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bk", &sipSelf, sipType_QAbstractFileEngine, &sipCpp, &a0, &a1))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QAbstractFileEngine::write(a0,(PY_LONG_LONG)a1) : sipCpp->write(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_QAbstractFileEngine, sipName_write, doc_QAbstractFileEngine_write);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_error, "QAbstractFileEngine.error() -> QFile.FileError");

extern "C" {static PyObject *meth_QAbstractFileEngine_error(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_error(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractFileEngine, &sipCpp))
        {
            QFile::FileError sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->error();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QFile_FileError);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_error, doc_QAbstractFileEngine_error);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_errorString, "QAbstractFileEngine.errorString() -> str");

extern "C" {static PyObject *meth_QAbstractFileEngine_errorString(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_errorString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractFileEngine, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->errorString());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_errorString, doc_QAbstractFileEngine_errorString);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_create, "QAbstractFileEngine.create(str) -> QAbstractFileEngine");

extern "C" {static PyObject *meth_QAbstractFileEngine_create(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_create(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            QAbstractFileEngine*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QAbstractFileEngine::create(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QAbstractFileEngine,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_create, doc_QAbstractFileEngine_create);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_map, "QAbstractFileEngine.map(int, int, QFile.MemoryMapFlags) -> sip.voidptr");

extern "C" {static PyObject *meth_QAbstractFileEngine_map(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_map(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qint64 a0;
        qint64 a1;
        QFile::MemoryMapFlags a2;
        QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BnnE", &sipSelf, sipType_QAbstractFileEngine, &sipCpp, &a0, &a1, sipType_QFile_MemoryMapFlags, &a2))
        {
            void*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->map(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromVoidPtrAndSize(sipRes,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_map, doc_QAbstractFileEngine_map);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_unmap, "QAbstractFileEngine.unmap(sip.voidptr) -> bool");

extern "C" {static PyObject *meth_QAbstractFileEngine_unmap(PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_unmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        void* a0;
        QAbstractFileEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bv", &sipSelf, sipType_QAbstractFileEngine, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->unmap(reinterpret_cast<uchar *>(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_unmap, doc_QAbstractFileEngine_unmap);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractFileEngine_setError, "QAbstractFileEngine.setError(QFile.FileError, str)");

extern "C" {static PyObject *meth_QAbstractFileEngine_setError(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractFileEngine_setError(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QFile::FileError a0;
        const QString* a1;
        int a1State = 0;
        sipQAbstractFileEngine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QAbstractFileEngine, &sipCpp, sipType_QFile_FileError, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setError(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractFileEngine, sipName_setError, doc_QAbstractFileEngine_setError);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QAbstractFileEngine(void *, const sipTypeDef *);}
static void *cast_QAbstractFileEngine(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QAbstractFileEngine)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAbstractFileEngine(void *, int);}
static void release_QAbstractFileEngine(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQAbstractFileEngine *>(sipCppV);
    else
        delete reinterpret_cast<QAbstractFileEngine *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QAbstractFileEngine(sipSimpleWrapper *);}
static void dealloc_QAbstractFileEngine(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQAbstractFileEngine *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QAbstractFileEngine(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QAbstractFileEngine(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAbstractFileEngine(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQAbstractFileEngine *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQAbstractFileEngine();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QAbstractFileEngine[] = {
    {SIP_MLNAME_CAST(sipName_atEnd), meth_QAbstractFileEngine_atEnd, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_atEnd)},
    {SIP_MLNAME_CAST(sipName_beginEntryList), meth_QAbstractFileEngine_beginEntryList, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_beginEntryList)},
    {SIP_MLNAME_CAST(sipName_caseSensitive), meth_QAbstractFileEngine_caseSensitive, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_caseSensitive)},
    {SIP_MLNAME_CAST(sipName_close), meth_QAbstractFileEngine_close, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_close)},
    {SIP_MLNAME_CAST(sipName_copy), meth_QAbstractFileEngine_copy, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_copy)},
    {SIP_MLNAME_CAST(sipName_create), meth_QAbstractFileEngine_create, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_create)},
    {SIP_MLNAME_CAST(sipName_entryList), meth_QAbstractFileEngine_entryList, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_entryList)},
    {SIP_MLNAME_CAST(sipName_error), meth_QAbstractFileEngine_error, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_error)},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QAbstractFileEngine_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_errorString)},
    {SIP_MLNAME_CAST(sipName_fileFlags), (PyCFunction)meth_QAbstractFileEngine_fileFlags, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_fileFlags)},
    {SIP_MLNAME_CAST(sipName_fileName), (PyCFunction)meth_QAbstractFileEngine_fileName, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_fileName)},
    {SIP_MLNAME_CAST(sipName_fileTime), meth_QAbstractFileEngine_fileTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_fileTime)},
    {SIP_MLNAME_CAST(sipName_flush), meth_QAbstractFileEngine_flush, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_flush)},
    {SIP_MLNAME_CAST(sipName_handle), meth_QAbstractFileEngine_handle, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_handle)},
    {SIP_MLNAME_CAST(sipName_isRelativePath), meth_QAbstractFileEngine_isRelativePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_isRelativePath)},
    {SIP_MLNAME_CAST(sipName_isSequential), meth_QAbstractFileEngine_isSequential, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_isSequential)},
    {SIP_MLNAME_CAST(sipName_link), meth_QAbstractFileEngine_link, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_link)},
    {SIP_MLNAME_CAST(sipName_map), meth_QAbstractFileEngine_map, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_map)},
    {SIP_MLNAME_CAST(sipName_mkdir), meth_QAbstractFileEngine_mkdir, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_mkdir)},
    {SIP_MLNAME_CAST(sipName_open), meth_QAbstractFileEngine_open, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_open)},
    {SIP_MLNAME_CAST(sipName_owner), meth_QAbstractFileEngine_owner, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_owner)},
    {SIP_MLNAME_CAST(sipName_ownerId), meth_QAbstractFileEngine_ownerId, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_ownerId)},
    {SIP_MLNAME_CAST(sipName_pos), meth_QAbstractFileEngine_pos, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_pos)},
    {SIP_MLNAME_CAST(sipName_read), meth_QAbstractFileEngine_read, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_read)},
    {SIP_MLNAME_CAST(sipName_readLine), meth_QAbstractFileEngine_readLine, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_readLine)},
    {SIP_MLNAME_CAST(sipName_remove), meth_QAbstractFileEngine_remove, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_remove)},
    {SIP_MLNAME_CAST(sipName_rename), meth_QAbstractFileEngine_rename, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_rename)},
    {SIP_MLNAME_CAST(sipName_rmdir), meth_QAbstractFileEngine_rmdir, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_rmdir)},
    {SIP_MLNAME_CAST(sipName_seek), meth_QAbstractFileEngine_seek, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_seek)},
    {SIP_MLNAME_CAST(sipName_setError), (PyCFunction)meth_QAbstractFileEngine_setError, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_setError)},
    {SIP_MLNAME_CAST(sipName_setFileName), meth_QAbstractFileEngine_setFileName, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_setFileName)},
    {SIP_MLNAME_CAST(sipName_setPermissions), meth_QAbstractFileEngine_setPermissions, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_setPermissions)},
    {SIP_MLNAME_CAST(sipName_setSize), meth_QAbstractFileEngine_setSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_setSize)},
    {SIP_MLNAME_CAST(sipName_size), meth_QAbstractFileEngine_size, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_size)},
    {SIP_MLNAME_CAST(sipName_unmap), meth_QAbstractFileEngine_unmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_unmap)},
    {SIP_MLNAME_CAST(sipName_write), meth_QAbstractFileEngine_write, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractFileEngine_write)}
};

static sipEnumMemberDef enummembers_QAbstractFileEngine[] = {
    {sipName_AbsoluteName, static_cast<int>(QAbstractFileEngine::AbsoluteName), 8},
    {sipName_AbsolutePathName, static_cast<int>(QAbstractFileEngine::AbsolutePathName), 8},
    {sipName_AccessTime, static_cast<int>(QAbstractFileEngine::AccessTime), 10},
    {sipName_BaseName, static_cast<int>(QAbstractFileEngine::BaseName), 8},
    {sipName_BundleName, static_cast<int>(QAbstractFileEngine::BundleName), 8},
    {sipName_BundleType, static_cast<int>(QAbstractFileEngine::BundleType), 6},
    {sipName_CanonicalName, static_cast<int>(QAbstractFileEngine::CanonicalName), 8},
    {sipName_CanonicalPathName, static_cast<int>(QAbstractFileEngine::CanonicalPathName), 8},
    {sipName_CreationTime, static_cast<int>(QAbstractFileEngine::CreationTime), 10},
    {sipName_DefaultName, static_cast<int>(QAbstractFileEngine::DefaultName), 8},
    {sipName_DirectoryType, static_cast<int>(QAbstractFileEngine::DirectoryType), 6},
    {sipName_ExeGroupPerm, static_cast<int>(QAbstractFileEngine::ExeGroupPerm), 6},
    {sipName_ExeOtherPerm, static_cast<int>(QAbstractFileEngine::ExeOtherPerm), 6},
    {sipName_ExeOwnerPerm, static_cast<int>(QAbstractFileEngine::ExeOwnerPerm), 6},
    {sipName_ExeUserPerm, static_cast<int>(QAbstractFileEngine::ExeUserPerm), 6},
    {sipName_ExistsFlag, static_cast<int>(QAbstractFileEngine::ExistsFlag), 6},
    {sipName_FileInfoAll, static_cast<int>(QAbstractFileEngine::FileInfoAll), 6},
    {sipName_FileType, static_cast<int>(QAbstractFileEngine::FileType), 6},
    {sipName_FlagsMask, static_cast<int>(QAbstractFileEngine::FlagsMask), 6},
    {sipName_HiddenFlag, static_cast<int>(QAbstractFileEngine::HiddenFlag), 6},
    {sipName_LinkName, static_cast<int>(QAbstractFileEngine::LinkName), 8},
    {sipName_LinkType, static_cast<int>(QAbstractFileEngine::LinkType), 6},
    {sipName_LocalDiskFlag, static_cast<int>(QAbstractFileEngine::LocalDiskFlag), 6},
    {sipName_ModificationTime, static_cast<int>(QAbstractFileEngine::ModificationTime), 10},
    {sipName_OwnerGroup, static_cast<int>(QAbstractFileEngine::OwnerGroup), 9},
    {sipName_OwnerUser, static_cast<int>(QAbstractFileEngine::OwnerUser), 9},
    {sipName_PathName, static_cast<int>(QAbstractFileEngine::PathName), 8},
    {sipName_PermsMask, static_cast<int>(QAbstractFileEngine::PermsMask), 6},
    {sipName_ReadGroupPerm, static_cast<int>(QAbstractFileEngine::ReadGroupPerm), 6},
    {sipName_ReadOtherPerm, static_cast<int>(QAbstractFileEngine::ReadOtherPerm), 6},
    {sipName_ReadOwnerPerm, static_cast<int>(QAbstractFileEngine::ReadOwnerPerm), 6},
    {sipName_ReadUserPerm, static_cast<int>(QAbstractFileEngine::ReadUserPerm), 6},
    {sipName_Refresh, static_cast<int>(QAbstractFileEngine::Refresh), 6},
    {sipName_RootFlag, static_cast<int>(QAbstractFileEngine::RootFlag), 6},
    {sipName_TypesMask, static_cast<int>(QAbstractFileEngine::TypesMask), 6},
    {sipName_WriteGroupPerm, static_cast<int>(QAbstractFileEngine::WriteGroupPerm), 6},
    {sipName_WriteOtherPerm, static_cast<int>(QAbstractFileEngine::WriteOtherPerm), 6},
    {sipName_WriteOwnerPerm, static_cast<int>(QAbstractFileEngine::WriteOwnerPerm), 6},
    {sipName_WriteUserPerm, static_cast<int>(QAbstractFileEngine::WriteUserPerm), 6},
};

PyDoc_STRVAR(doc_QAbstractFileEngine, "\1QAbstractFileEngine()");


pyqt4ClassTypeDef sipTypeDef_QtCore_QAbstractFileEngine = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QAbstractFileEngine,
        {0}
    },
    {
        sipNameNr_QAbstractFileEngine,
        {0, 0, 1},
        36, methods_QAbstractFileEngine,
        39, enummembers_QAbstractFileEngine,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractFileEngine,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_QAbstractFileEngine,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAbstractFileEngine,
    0,
    0,
    0,
    release_QAbstractFileEngine,
    cast_QAbstractFileEngine,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstracteventdispatcher.sip"
#include <qabstracteventdispatcher.h>
#line 157263 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 157267 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 314 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 157271 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qsocketnotifier.sip"
#include <qsocketnotifier.h>
#line 157274 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 157277 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 157280 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 157283 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 157286 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 157289 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 157292 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 157295 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 157298 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 157301 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 157304 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 157307 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 157310 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 157313 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void closingDown();
    void startingUp();
    void flush();
    void interrupt();
    void wakeUp();
    QList<QPair<int,int> > registeredTimers(QObject*) const;
    bool unregisterTimers(QObject*);
    bool unregisterTimer(int);
    void registerTimer(int,int,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[20];
};

sipQAbstractEventDispatcher::sipQAbstractEventDispatcher(QObject*a0): QAbstractEventDispatcher(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractEventDispatcher::~sipQAbstractEventDispatcher()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQAbstractEventDispatcher::metaObject() const
{
    return 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QAbstractEventDispatcher, _clname)) ? this : QAbstractEventDispatcher::qt_metacast(_clname);
}

void sipQAbstractEventDispatcher::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQAbstractEventDispatcher::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQAbstractEventDispatcher::closingDown()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_closingDown);

    if (!sipMeth)
    {
        QAbstractEventDispatcher::closingDown();
        return;
    }

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_11(sipGILState, 0, sipPySelf, sipMeth);
}

void sipQAbstractEventDispatcher::startingUp()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_startingUp);

    if (!sipMeth)
    {
        QAbstractEventDispatcher::startingUp();
        return;
    }

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_11(sipGILState, 0, sipPySelf, sipMeth);
}

void sipQAbstractEventDispatcher::flush()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,sipName_QAbstractEventDispatcher,sipName_flush);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_11(sipGILState, 0, sipPySelf, sipMeth);
}

void sipQAbstractEventDispatcher::interrupt()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,sipName_QAbstractEventDispatcher,sipName_interrupt);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_11(sipGILState, 0, sipPySelf, sipMeth);
}

void sipQAbstractEventDispatcher::wakeUp()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,sipName_QAbstractEventDispatcher,sipName_wakeUp);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_11(sipGILState, 0, sipPySelf, sipMeth);
}

QList<QPair<int,int> > sipQAbstractEventDispatcher::registeredTimers(QObject*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,sipName_QAbstractEventDispatcher,sipName_registeredTimers);

    if (!sipMeth)
        return QList<QPair<int,int> >();

    extern QList<QPair<int,int> > sipVH_QtCore_67(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);

    return sipVH_QtCore_67(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQAbstractEventDispatcher::unregisterTimers(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,sipName_QAbstractEventDispatcher,sipName_unregisterTimers);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtCore_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);

    return sipVH_QtCore_68(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQAbstractEventDispatcher::unregisterTimer(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,sipName_QAbstractEventDispatcher,sipName_unregisterTimer);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtCore_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtCore_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQAbstractEventDispatcher::registerTimer(int a0,int a1,QObject*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,sipName_QAbstractEventDispatcher,sipName_registerTimer);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,QObject*);

    sipVH_QtCore_69(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQAbstractEventDispatcher::unregisterSocketNotifier(QSocketNotifier*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,sipName_QAbstractEventDispatcher,sipName_unregisterSocketNotifier);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QSocketNotifier*);

    sipVH_QtCore_70(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQAbstractEventDispatcher::registerSocketNotifier(QSocketNotifier*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,sipName_QAbstractEventDispatcher,sipName_registerSocketNotifier);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QSocketNotifier*);

    sipVH_QtCore_70(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQAbstractEventDispatcher::hasPendingEvents()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,sipName_QAbstractEventDispatcher,sipName_hasPendingEvents);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_7(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQAbstractEventDispatcher::processEvents(QEventLoop::ProcessEventsFlags a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,sipName_QAbstractEventDispatcher,sipName_processEvents);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtCore_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEventLoop::ProcessEventsFlags);

    return sipVH_QtCore_71(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAbstractEventDispatcher::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAbstractEventDispatcher::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}


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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 157804 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQAbstractEventDispatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 157849 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QAbstractEventDispatcher, sipName_customEvent, doc_QAbstractEventDispatcher_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_connectNotify, "QAbstractEventDispatcher.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQAbstractEventDispatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QAbstractEventDispatcher, sipName_connectNotify, doc_QAbstractEventDispatcher_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_disconnectNotify, "QAbstractEventDispatcher.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQAbstractEventDispatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QAbstractEventDispatcher::instance(a0);
            Py_END_ALLOW_THREADS

            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;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasPendingEvents();
            Py_END_ALLOW_THREADS

            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;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->registerSocketNotifier(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_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;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->unregisterSocketNotifier(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_QAbstractEventDispatcher, sipName_unregisterSocketNotifier, doc_QAbstractEventDispatcher_unregisterSocketNotifier);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_registerTimer, "QAbstractEventDispatcher.registerTimer(int, QObject) -> int\n"
    "QAbstractEventDispatcher.registerTimer(int, int, 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;
        QObject* a1;
        QAbstractEventDispatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ8", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp, &a0, sipType_QObject, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->registerTimer(a0,a1);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        int a0;
        int a1;
        QObject* a2;
        QAbstractEventDispatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiiJ8", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp, &a0, &a1, sipType_QObject, &a2))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractEventDispatcher, sipName_registerTimer);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->registerTimer(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->unregisterTimer(a0);
            Py_END_ALLOW_THREADS

            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;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->unregisterTimers(a0);
            Py_END_ALLOW_THREADS

            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-tuple-of-int-int");

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<QPair<int,int> >*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractEventDispatcher, sipName_registeredTimers);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QPair<int,int> >(sipCpp->registeredTimers(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0600QPair_1800_1800,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;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->wakeUp();
            Py_END_ALLOW_THREADS

            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;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->interrupt();
            Py_END_ALLOW_THREADS

            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;
            }

            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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QAbstractEventDispatcher::startingUp() : sipCpp->startingUp());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QAbstractEventDispatcher::closingDown() : sipCpp->closingDown());
            Py_END_ALLOW_THREADS

            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_setEventFilter, "QAbstractEventDispatcher.setEventFilter(callable) -> callable");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_setEventFilter(PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_setEventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        QAbstractEventDispatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BH", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp, &a0))
        {
            PyObject * sipRes = 0;

#line 83 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstracteventdispatcher.sip"
        sipRes = qpycore_qabstracteventdispatcher_seteventfilter(sipCpp, a0);
#line 158568 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractEventDispatcher, sipName_setEventFilter, doc_QAbstractEventDispatcher_setEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_filterEvent, "QAbstractEventDispatcher.filterEvent(sip.voidptr) -> bool");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_filterEvent(PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_filterEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        void* a0;
        QAbstractEventDispatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bv", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->filterEvent(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractEventDispatcher, sipName_filterEvent, doc_QAbstractEventDispatcher_filterEvent);

    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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQAbstractEventDispatcher(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAbstractEventDispatcher[] = {{141, 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_filterEvent), meth_QAbstractEventDispatcher_filterEvent, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractEventDispatcher_filterEvent)},
    {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_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_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_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_setEventFilter), meth_QAbstractEventDispatcher_setEventFilter, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractEventDispatcher_setEventFilter)},
    {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 pyqt4QtSignal signals_QAbstractEventDispatcher[] = {
    {"awake()", "\1QAbstractEventDispatcher.awake", 0, 0},
    {"aboutToBlock()", "\1QAbstractEventDispatcher.aboutToBlock", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QAbstractEventDispatcher, "\1QAbstractEventDispatcher(QObject parent=None)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QAbstractEventDispatcher = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QAbstractEventDispatcher,
        {0}
    },
    {
        sipNameNr_QAbstractEventDispatcher,
        {0, 0, 1},
        24, 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,
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 158783 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 158787 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 158790 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qanimationgroup.sip"
#include <qanimationgroup.h>
#line 158793 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 158796 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 158799 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 158802 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 158805 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 158808 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 158811 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 158814 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 158817 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 158820 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 158823 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 158826 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() 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 char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QAbstractAnimation, _clname)) ? this : QAbstractAnimation::qt_metacast(_clname);
}

void sipQAbstractAnimation::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQAbstractAnimation::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractAnimation::Direction);

    sipVH_QtCore_19(sipGILState, 0, 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);

    sipVH_QtCore_3(sipGILState, 0, 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);

    sipVH_QtCore_4(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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 *);

    return sipVH_QtCore_6(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAbstractAnimation::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAbstractAnimation::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 159197 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQAbstractAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QAbstractAnimation, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 159242 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QAbstractAnimation, sipName_customEvent, doc_QAbstractAnimation_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_connectNotify, "QAbstractAnimation.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQAbstractAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QAbstractAnimation, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QAbstractAnimation, sipName_connectNotify, doc_QAbstractAnimation_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_disconnectNotify, "QAbstractAnimation.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQAbstractAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QAbstractAnimation, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->state();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->group();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->direction();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDirection(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->currentTime();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->currentLoopTime();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->loopCount();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLoopCount(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->currentLoop();
            Py_END_ALLOW_THREADS

            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;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->duration();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->totalDuration();
            Py_END_ALLOW_THREADS

            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))
        {
            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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->pause();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resume();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPaused(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->stop();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentTime(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            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;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateCurrentTime(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateState(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateDirection(sipSelfWasArg,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_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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQAbstractAnimation(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAbstractAnimation[] = {{141, 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_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 pyqt4QtSignal 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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QAbstractAnimation = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QAbstractAnimation,
        {0}
    },
    {
        sipNameNr_QAbstractAnimation,
        {0, 0, 1},
        29, 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,
};

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 160252 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 160256 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 160259 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 160262 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 160265 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 160268 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 160271 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 160274 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 160277 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 160280 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 160283 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 160286 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 160289 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
#line 33 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
// This is needed by the tr() and trUt8() handwritten implementations.
#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)
{
    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;

        if (name.isNull() || obj->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);
    }

    for (i = 0; i < children.size(); ++i)
    {
        PyObject *pyo = qtcore_do_find_child(children.at(i), types, name);

        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)
{
    // Check that the types checking was successful.
    if (!types)
        return 0;

    PyObject *child = qtcore_do_find_child(parent, types, name);

    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, 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 (name.isNull() || obj->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);

        bool ok = qtcore_do_find_children(obj, types, name, 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)
{
    // 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, list))
            Py_DECREF(list);

    Py_DECREF(types);

    return list;
}


// Do the main work of finding the children with a regular expression name.
static bool qtcore_do_find_children(const QObject *parent, PyObject *types, const QRegExp &re, 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);

        bool ok = qtcore_do_find_children(obj, types, re, list);

        if (!ok)
            return false;
    }

    return true;
}


// Find a child that is one of a number of types and with an optional regular
// expression name.
static PyObject *qtcore_FindChildren(const QObject *parent, PyObject *types, const QRegExp &re)
{
    // 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, list))
            Py_DECREF(list);

    Py_DECREF(types);

    return list;
}
#line 160490 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    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 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)
{
    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QObject, _clname)) ? this : QObject::qt_metacast(_clname);
}

void sipQObject::disconnectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQObject::connectNotify(const char*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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtCore_24(sipGILState, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    sipVH_QtCore_17(sipGILState, 0, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    sipVH_QtCore_25(sipGILState, 0, 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*);

    sipVH_QtCore_9(sipGILState, 0, 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_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return sipVH_QtCore_18(sipGILState, 0, 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*);

    return sipVH_QtCore_5(sipGILState, 0, 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 char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQObject::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQObject::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}


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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->metaObject();
            Py_END_ALLOW_THREADS

            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 376 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        return qpycore_pyqtconfigure(sipSelf, sipArgs, sipKwds);
#line 160772 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 381 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        sipRes = qpycore_qobject_getattr(const_cast<QObject *>(sipCpp), sipSelf, a0);
#line 160794 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QObject::event(a0) : sipCpp->event(a0));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QObject::eventFilter(a0,a1) : sipCpp->eventFilter(a0,a1));
            Py_END_ALLOW_THREADS

            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;

    {
        PyObject * a0;
        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, "BP0|AAi", &sipSelf, sipType_QObject, &sipCpp, &a0, &a1Keep, &a1, &a2))
        {
            QString*sipRes = 0;
            int sipIsErr = 0;

#line 399 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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.
        
        const char *source = qpycore_encode(&a0, QCoreApplication::CodecForTr);
        
        if (source)
        {
            sipRes = new QString(QCoreApplication::translate(Py_TYPE(sipSelf)->tp_name,
                    source, a1, QCoreApplication::CodecForTr, a2));
            Py_DECREF(a0);
        }
        else
        {
            sipIsErr = 1;
        }
#line 160912 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            Py_XDECREF(a1Keep);

            if (sipIsErr)
                return 0;

            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_trUtf8, "QObject.trUtf8(str, str disambiguation=None, int n=-1) -> str");

extern "C" {static PyObject *meth_QObject_trUtf8(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QObject_trUtf8(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        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, "BP0|AAi", &sipSelf, sipType_QObject, &sipCpp, &a0, &a1Keep, &a1, &a2))
        {
            QString*sipRes = 0;
            int sipIsErr = 0;

#line 458 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // Note that trUtf8() is really a static method.  We pretend it isn't aren't so
        // we can use self to get hold of the class name.
        
        const char *source = qpycore_encode(&a0, QCoreApplication::UnicodeUTF8);
        
        if (source)
        {
            sipRes = new QString(QCoreApplication::translate(Py_TYPE(sipSelf)->tp_name,
                    source, a1, QCoreApplication::UnicodeUTF8, a2));
            Py_DECREF(a0);
        }
        else
        {
            sipIsErr = 1;
        }
#line 160970 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            Py_XDECREF(a1Keep);

            if (sipIsErr)
                return 0;

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_trUtf8, doc_QObject_trUtf8);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_findChild, "QObject.findChild(type, str name='') -> QObject\n"
    "QObject.findChild(tuple, str name='') -> 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;
        const QObject *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_name,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BT|J1", &sipSelf, sipType_QObject, &sipCpp, &PyType_Type, &a0, sipType_QString,&a1, &a1State))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 516 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        sipRes = qtcore_FindChild(sipCpp, qtcore_type_to_tuple(a0), *a1);
        
        if (!sipRes)
            sipIsErr = 1;
#line 161017 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    {
        PyObject * a0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        const QObject *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_name,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BT|J1", &sipSelf, sipType_QObject, &sipCpp, &PyTuple_Type, &a0, sipType_QString,&a1, &a1State))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 524 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        sipRes = qtcore_FindChild(sipCpp, qtcore_check_tuple_types(a0), *a1);
        
        if (!sipRes)
            sipIsErr = 1;
#line 161049 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            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='') -> list-of-QObject\n"
    "QObject.findChildren(tuple, str name='') -> list-of-QObject\n"
    "QObject.findChildren(type, QRegExp) -> list-of-QObject\n"
    "QObject.findChildren(tuple, QRegExp) -> 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;
        const QObject *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_name,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BT|J1", &sipSelf, sipType_QObject, &sipCpp, &PyType_Type, &a0, sipType_QString,&a1, &a1State))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 532 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        sipRes = qtcore_FindChildren(sipCpp, qtcore_type_to_tuple(a0), *a1);
        
        if (!sipRes)
            sipIsErr = 1;
#line 161098 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    {
        PyObject * a0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        const QObject *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_name,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BT|J1", &sipSelf, sipType_QObject, &sipCpp, &PyTuple_Type, &a0, sipType_QString,&a1, &a1State))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 540 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        sipRes = qtcore_FindChildren(sipCpp, qtcore_check_tuple_types(a0), *a1);
        
        if (!sipRes)
            sipIsErr = 1;
#line 161130 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    {
        PyObject * a0;
        const QRegExp* a1;
        const QObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BTJ9", &sipSelf, sipType_QObject, &sipCpp, &PyType_Type, &a0, sipType_QRegExp, &a1))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 548 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        sipRes = qtcore_FindChildren(sipCpp, qtcore_type_to_tuple(a0), *a1);
        
        if (!sipRes)
            sipIsErr = 1;
#line 161155 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    {
        PyObject * a0;
        const QRegExp* a1;
        const QObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BTJ9", &sipSelf, sipType_QObject, &sipCpp, &PyTuple_Type, &a0, sipType_QRegExp, &a1))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 556 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        sipRes = qtcore_FindChildren(sipCpp, qtcore_check_tuple_types(a0), *a1);
        
        if (!sipRes)
            sipIsErr = 1;
#line 161179 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            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_emit, "QObject.emit(SIGNAL(), ...)");

extern "C" {static PyObject *meth_QObject_emit(PyObject *, PyObject *);}
static PyObject *meth_QObject_emit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char* a0;
        PyObject * a1;
        QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BGW", &sipSelf, sipType_QObject, &sipCpp, &a0, &a1))
        {
            int sipIsErr = 0;

#line 564 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        if (!qpycore_qobject_emit(sipCpp, a0, a1))
            sipIsErr = 1;
#line 161214 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            Py_DECREF(a1);

            if (sipIsErr)
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_emit, doc_QObject_emit);

    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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->objectName());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setObjectName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isWidgetType();
            Py_END_ALLOW_THREADS

            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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->signalsBlocked();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->blockSignals(a0);
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->thread();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->moveToThread(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_QObject, sipName_moveToThread, doc_QObject_moveToThread);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_startTimer, "QObject.startTimer(int) -> int");

extern "C" {static PyObject *meth_QObject_startTimer(PyObject *, PyObject *);}
static PyObject *meth_QObject_startTimer(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QObject, &sipCpp, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->startTimer(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->killTimer(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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QObjectList(sipCpp->children());
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setParent(a0);
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->installEventFilter(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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeEventFilter(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_QObject, sipName_removeEventFilter, doc_QObject_removeEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_connect, "QObject.connect(QObject, SIGNAL(), QObject, SLOT(), Qt.ConnectionType=Qt.AutoConnection) -> bool\n"
    "QObject.connect(QObject, SIGNAL(), callable, Qt.ConnectionType=Qt.AutoConnection) -> bool\n"
    "QObject.connect(QObject, SIGNAL(), SLOT(), Qt.ConnectionType=Qt.AutoConnection) -> bool");

extern "C" {static PyObject *meth_QObject_connect(PyObject *, PyObject *);}
static PyObject *meth_QObject_connect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        char* a1;
        PyObject * a2;
        char* a3;
        Qt::ConnectionType a4 = Qt::AutoConnection;

        if (sipParseArgs(&sipParseErr, sipArgs, "RGRS|E", &a0, &a1, &a2, &a3, sipType_Qt_ConnectionType, &a4))
        {
            PyObject * sipRes = 0;

#line 591 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        sipRes = sipConnectRx(a0, a1, a2, a3, (int)a4);
#line 161642 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    {
        PyObject * a0;
        char* a1;
        PyObject * a2;
        Qt::ConnectionType a3 = Qt::AutoConnection;

        if (sipParseArgs(&sipParseErr, sipArgs, "RGF|E", &a0, &a1, &a2, sipType_Qt_ConnectionType, &a3))
        {
            PyObject * sipRes = 0;

#line 596 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        sipRes = sipConnectRx(a0, a1, a2, 0, (int)a3);
#line 161660 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    {
        PyObject * a0;
        char* a1;
        char* a2;
        Qt::ConnectionType a3 = Qt::AutoConnection;
        const QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BRGS|E", &sipSelf, sipType_QObject, &sipCpp, &a0, &a1, &a2, sipType_Qt_ConnectionType, &a3))
        {
            PyObject * sipRes = 0;

#line 601 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        sipRes = sipConnectRx(a0, a1, sipSelf, a2, (int)a3);
#line 161679 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_connect, doc_QObject_connect);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_disconnect, "QObject.disconnect(QObject, SIGNAL(), QObject, SLOT()) -> bool\n"
    "QObject.disconnect(QObject, SIGNAL(), callable) -> bool");

extern "C" {static PyObject *meth_QObject_disconnect(PyObject *, PyObject *);}
static PyObject *meth_QObject_disconnect(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        char* a1;
        PyObject * a2;
        char* a3;

        if (sipParseArgs(&sipParseErr, sipArgs, "RGRS", &a0, &a1, &a2, &a3))
        {
            PyObject * sipRes = 0;

#line 606 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        sipRes = sipDisconnectRx(a0, a1, a2, a3);
#line 161712 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    {
        PyObject * a0;
        char* a1;
        PyObject * a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "RGF", &a0, &a1, &a2))
        {
            PyObject * sipRes = 0;

#line 611 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        sipRes = sipDisconnectRx(a0, a1, a2, 0);
#line 161729 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->dumpObjectInfo();
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->dumpObjectTree();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QByteArray>(sipCpp->dynamicPropertyNames());
            Py_END_ALLOW_THREADS

            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, object) -> 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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setProperty(a0,*a1);
            Py_END_ALLOW_THREADS
            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) -> object");

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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->property(a0));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->parent();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->inherits(a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->deleteLater();
            Py_END_ALLOW_THREADS

            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 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 162022 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

    {
        char* a0;
        const sipQObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QObject, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 162067 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* 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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,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_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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,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_QObject, sipName_customEvent, doc_QObject_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_connectNotify, "QObject.connectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QObject, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,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_QObject, sipName_connectNotify, doc_QObject_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_disconnectNotify, "QObject.disconnectNotify(SIGNAL())");

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));

    {
        char* a0;
        sipQObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QObject, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,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_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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            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;
}


/* 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);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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 235 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
    return qpycore_qobject_finalisation(sipSelf, sipCpp, sipKwds, sipUnused);
#line 162294 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQObject(a0);
            Py_END_ALLOW_THREADS

            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_connect), meth_QObject_connect, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_connect)},
    {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_emit), meth_QObject_emit, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_emit)},
    {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_isWidgetType), meth_QObject_isWidgetType, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_isWidgetType)},
    {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), meth_QObject_startTimer, METH_VARARGS, 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)},
    {SIP_MLNAME_CAST(sipName_trUtf8), (PyCFunction)meth_QObject_trUtf8, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QObject_trUtf8)}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_QObject[] = {
    {"destroyed(QObject*)", "\1QObject.destroyed[QObject]", 0, 1},
    {"destroyed()", "\1QObject.destroyed", 0, 1},
    {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 357 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qobject.sip"
        sipPy = qpycore_qobject_staticmetaobject(sipPyType);
#line 162398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QObject = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_NONLAZY|SIP_TYPE_CLASS,
        sipNameNr_QObject,
        {0}
    },
    {
        sipNameNr_QObject,
        {0, 0, 1},
        41, methods_QObject,
        0, 0,
        1, variables_QObject,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QObject,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_QObject,
    0,
    0,
#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,
};

#line 2028 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#include <qset.h>
#line 162467 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 162471 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


extern "C" {static void assign_QSet_0100Qt_DayOfWeek(void *, SIP_SSIZE_T, const void *);}
static void assign_QSet_0100Qt_DayOfWeek(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QSet<Qt::DayOfWeek> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QSet<Qt::DayOfWeek> *>(sipSrc);
}


extern "C" {static void *array_QSet_0100Qt_DayOfWeek(SIP_SSIZE_T);}
static void *array_QSet_0100Qt_DayOfWeek(SIP_SSIZE_T sipNrElem)
{
    return new QSet<Qt::DayOfWeek>[sipNrElem];
}


extern "C" {static void *copy_QSet_0100Qt_DayOfWeek(const void *, SIP_SSIZE_T);}
static void *copy_QSet_0100Qt_DayOfWeek(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QSet<Qt::DayOfWeek>(reinterpret_cast<const QSet<Qt::DayOfWeek> *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QSet_0100Qt_DayOfWeek(void *, int);}
static void release_QSet_0100Qt_DayOfWeek(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QSet<Qt::DayOfWeek> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QSet_0100Qt_DayOfWeek(PyObject *, void **, int *, PyObject *);}
static int convertTo_QSet_0100Qt_DayOfWeek(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QSet<Qt::DayOfWeek> **sipCppPtr = reinterpret_cast<QSet<Qt::DayOfWeek> **>(sipCppPtrV);

#line 2063 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
    PyObject *it = PyObject_GetIter(sipPy), *itm;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (it == NULL)
            return 0;

        while ((itm = PyIter_Next(it)) != NULL)
        {
            int ok = sipCanConvertToEnum(itm, sipType_Qt_DayOfWeek);

            Py_DECREF(itm);

            if (!ok)
            {
                Py_DECREF(it);
                return 0;
            }
        }

        Py_DECREF(it);
        return 1;
    }

    if (it == NULL)
    {
        *sipIsErr = 1;
        return 0;
    }

    QSet<Qt::DayOfWeek> *qs = new QSet<Qt::DayOfWeek>;

    while ((itm = PyIter_Next(it)) != NULL)
    {
        long l = SIPLong_AsLong(itm);

        Py_DECREF(itm);

        qs->insert(static_cast<Qt::DayOfWeek>(l));
    }

    Py_DECREF(it);

    *sipCppPtr = qs;

    return sipGetState(sipTransferObj);
#line 162559 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QSet_0100Qt_DayOfWeek(void *, PyObject *);}
static PyObject *convertFrom_QSet_0100Qt_DayOfWeek(void *sipCppV, PyObject *)
{
   QSet<Qt::DayOfWeek> *sipCpp = reinterpret_cast<QSet<Qt::DayOfWeek> *>(sipCppV);

#line 2033 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
    // Create the set.
    PyObject *s;

    if ((s = PySet_New(NULL)) == NULL)
        return NULL;

    // Set the set elements.
    QSet<Qt::DayOfWeek>::const_iterator it = sipCpp->constBegin();
    QSet<Qt::DayOfWeek>::const_iterator end = sipCpp->constEnd();

    while (it != end)
    {
        PyObject *el_obj;

        if ((el_obj = sipConvertFromEnum(*it, sipType_Qt_DayOfWeek)) == NULL)
        {
            Py_DECREF(s);

            return NULL;
        }

        PySet_Add(s, el_obj);

        ++it;
    }

    return s;
#line 162596 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QSet_0100Qt_DayOfWeek = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_11851,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QSet_0100Qt_DayOfWeek,
    array_QSet_0100Qt_DayOfWeek,
    copy_QSet_0100Qt_DayOfWeek,
    release_QSet_0100Qt_DayOfWeek,
    convertTo_QSet_0100Qt_DayOfWeek,
    convertFrom_QSet_0100Qt_DayOfWeek
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 162627 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 162631 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::GestureFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 162653 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::GestureFlags::Int() != a0->operator Qt::GestureFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 162687 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::GestureFlags::Int() == a0->operator Qt::GestureFlags::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 162727 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::GestureFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::GestureFlags((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::GestureFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            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 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::GestureFlags(*a0 ^ a1);
#line 162836 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::GestureFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS
            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 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::GestureFlags(*a0 | a1);
#line 162888 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::GestureFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::GestureFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::GestureFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Qt::GestureFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::GestureFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Qt::GestureFlags *>(a0),sipType_Qt_GestureFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::GestureFlags(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::GestureFlags();
            Py_END_ALLOW_THREADS

            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 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 163183 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_Qt_GestureFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Qt__GestureFlags,
        {0}
    },
    {
        sipNameNr_GestureFlags,
        {273, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_GestureFlags,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 163264 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 163268 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::TouchPointStates::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 163290 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::TouchPointStates::Int() != a0->operator Qt::TouchPointStates::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 163324 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::TouchPointStates::Int() == a0->operator Qt::TouchPointStates::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 163364 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::TouchPointStates(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::TouchPointStates((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::TouchPointStates((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            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 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::TouchPointStates(*a0 ^ a1);
#line 163473 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::TouchPointStates((*a0 | *a1));
            Py_END_ALLOW_THREADS
            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 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::TouchPointStates(*a0 | a1);
#line 163525 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::TouchPointStates::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::TouchPointStates::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::TouchPointStates::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Qt::TouchPointStates *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::TouchPointStates(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Qt::TouchPointStates *>(a0),sipType_Qt_TouchPointStates,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::TouchPointStates(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::TouchPointStates();
            Py_END_ALLOW_THREADS

            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 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 163820 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_Qt_TouchPointStates = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Qt__TouchPointStates,
        {0}
    },
    {
        sipNameNr_TouchPointStates,
        {273, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_TouchPointStates,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 163901 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 163905 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::InputMethodHints::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 163927 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::InputMethodHints::Int() != a0->operator Qt::InputMethodHints::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 163961 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::InputMethodHints::Int() == a0->operator Qt::InputMethodHints::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 164001 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::InputMethodHints(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::InputMethodHints((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::InputMethodHints((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            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 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::InputMethodHints(*a0 ^ a1);
#line 164110 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::InputMethodHints((*a0 | *a1));
            Py_END_ALLOW_THREADS
            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 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::InputMethodHints(*a0 | a1);
#line 164162 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::InputMethodHints::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::InputMethodHints::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::InputMethodHints::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Qt::InputMethodHints *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::InputMethodHints(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Qt::InputMethodHints *>(a0),sipType_Qt_InputMethodHints,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::InputMethodHints(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::InputMethodHints();
            Py_END_ALLOW_THREADS

            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 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 164457 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_Qt_InputMethodHints = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Qt__InputMethodHints,
        {0}
    },
    {
        sipNameNr_InputMethodHints,
        {273, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_InputMethodHints,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 164538 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 164542 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::TextInteractionFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 164564 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::TextInteractionFlags::Int() != a0->operator Qt::TextInteractionFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 164598 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::TextInteractionFlags::Int() == a0->operator Qt::TextInteractionFlags::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 164638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::TextInteractionFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::TextInteractionFlags((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::TextInteractionFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            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 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::TextInteractionFlags(*a0 ^ a1);
#line 164747 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::TextInteractionFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS
            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 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::TextInteractionFlags(*a0 | a1);
#line 164799 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::TextInteractionFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::TextInteractionFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::TextInteractionFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Qt::TextInteractionFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::TextInteractionFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Qt::TextInteractionFlags *>(a0),sipType_Qt_TextInteractionFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::TextInteractionFlags(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::TextInteractionFlags();
            Py_END_ALLOW_THREADS

            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 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 165094 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_Qt_TextInteractionFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Qt__TextInteractionFlags,
        {0}
    },
    {
        sipNameNr_TextInteractionFlags,
        {273, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_TextInteractionFlags,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 165175 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 165179 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::MatchFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 165201 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::MatchFlags::Int() != a0->operator Qt::MatchFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 165235 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::MatchFlags::Int() == a0->operator Qt::MatchFlags::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 165275 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::MatchFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::MatchFlags((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::MatchFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            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 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::MatchFlags(*a0 ^ a1);
#line 165384 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::MatchFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS
            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 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::MatchFlags(*a0 | a1);
#line 165436 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::MatchFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::MatchFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::MatchFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Qt::MatchFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::MatchFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Qt::MatchFlags *>(a0),sipType_Qt_MatchFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::MatchFlags(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::MatchFlags();
            Py_END_ALLOW_THREADS

            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 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 165731 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_Qt_MatchFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Qt__MatchFlags,
        {0}
    },
    {
        sipNameNr_MatchFlags,
        {273, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_MatchFlags,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 165812 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 165816 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::ItemFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 165838 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::ItemFlags::Int() != a0->operator Qt::ItemFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 165872 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::ItemFlags::Int() == a0->operator Qt::ItemFlags::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 165912 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::ItemFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::ItemFlags((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::ItemFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            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 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::ItemFlags(*a0 ^ a1);
#line 166021 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::ItemFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS
            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 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::ItemFlags(*a0 | a1);
#line 166073 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::ItemFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::ItemFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::ItemFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Qt::ItemFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::ItemFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Qt::ItemFlags *>(a0),sipType_Qt_ItemFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::ItemFlags(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::ItemFlags();
            Py_END_ALLOW_THREADS

            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 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 166368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_Qt_ItemFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Qt__ItemFlags,
        {0}
    },
    {
        sipNameNr_ItemFlags,
        {273, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_ItemFlags,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 166449 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 166453 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::DropActions::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 166475 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::DropActions::Int() != a0->operator Qt::DropActions::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 166509 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::DropActions::Int() == a0->operator Qt::DropActions::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 166549 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::DropActions(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::DropActions((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::DropActions((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            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 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::DropActions(*a0 ^ a1);
#line 166658 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::DropActions((*a0 | *a1));
            Py_END_ALLOW_THREADS
            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 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::DropActions(*a0 | a1);
#line 166710 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::DropActions::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::DropActions::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::DropActions::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Qt::DropActions *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::DropActions(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Qt::DropActions *>(a0),sipType_Qt_DropActions,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::DropActions(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::DropActions();
            Py_END_ALLOW_THREADS

            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 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 167005 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_Qt_DropActions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Qt__DropActions,
        {0}
    },
    {
        sipNameNr_DropActions,
        {273, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_DropActions,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 167086 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 167090 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::ToolBarAreas::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 167112 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::ToolBarAreas::Int() != a0->operator Qt::ToolBarAreas::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 167146 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::ToolBarAreas::Int() == a0->operator Qt::ToolBarAreas::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 167186 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::ToolBarAreas(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::ToolBarAreas((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::ToolBarAreas((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            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 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::ToolBarAreas(*a0 ^ a1);
#line 167295 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::ToolBarAreas((*a0 | *a1));
            Py_END_ALLOW_THREADS
            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 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::ToolBarAreas(*a0 | a1);
#line 167347 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::ToolBarAreas::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::ToolBarAreas::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::ToolBarAreas::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Qt::ToolBarAreas *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::ToolBarAreas(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Qt::ToolBarAreas *>(a0),sipType_Qt_ToolBarAreas,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::ToolBarAreas(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::ToolBarAreas();
            Py_END_ALLOW_THREADS

            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 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 167642 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_Qt_ToolBarAreas = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Qt__ToolBarAreas,
        {0}
    },
    {
        sipNameNr_ToolBarAreas,
        {273, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_ToolBarAreas,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 167723 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 167727 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::DockWidgetAreas::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 167749 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::DockWidgetAreas::Int() != a0->operator Qt::DockWidgetAreas::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 167783 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::DockWidgetAreas::Int() == a0->operator Qt::DockWidgetAreas::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 167823 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::DockWidgetAreas(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::DockWidgetAreas((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::DockWidgetAreas((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            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 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::DockWidgetAreas(*a0 ^ a1);
#line 167932 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::DockWidgetAreas((*a0 | *a1));
            Py_END_ALLOW_THREADS
            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 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::DockWidgetAreas(*a0 | a1);
#line 167984 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::DockWidgetAreas::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::DockWidgetAreas::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::DockWidgetAreas::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Qt::DockWidgetAreas *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::DockWidgetAreas(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Qt::DockWidgetAreas *>(a0),sipType_Qt_DockWidgetAreas,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::DockWidgetAreas(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::DockWidgetAreas();
            Py_END_ALLOW_THREADS

            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 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 168279 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_Qt_DockWidgetAreas = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Qt__DockWidgetAreas,
        {0}
    },
    {
        sipNameNr_DockWidgetAreas,
        {273, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_DockWidgetAreas,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 168360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 168364 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::ImageConversionFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 168386 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::ImageConversionFlags::Int() != a0->operator Qt::ImageConversionFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 168420 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::ImageConversionFlags::Int() == a0->operator Qt::ImageConversionFlags::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 168460 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::ImageConversionFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::ImageConversionFlags((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::ImageConversionFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            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 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::ImageConversionFlags(*a0 ^ a1);
#line 168569 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::ImageConversionFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS
            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 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::ImageConversionFlags(*a0 | a1);
#line 168621 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::ImageConversionFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::ImageConversionFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::ImageConversionFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Qt::ImageConversionFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::ImageConversionFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Qt::ImageConversionFlags *>(a0),sipType_Qt_ImageConversionFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::ImageConversionFlags(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::ImageConversionFlags();
            Py_END_ALLOW_THREADS

            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 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 168916 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_Qt_ImageConversionFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Qt__ImageConversionFlags,
        {0}
    },
    {
        sipNameNr_ImageConversionFlags,
        {273, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_ImageConversionFlags,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 168997 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 169001 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::WindowStates::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 169023 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::WindowStates::Int() != a0->operator Qt::WindowStates::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 169057 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::WindowStates::Int() == a0->operator Qt::WindowStates::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 169097 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::WindowStates(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::WindowStates((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::WindowStates((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            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 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::WindowStates(*a0 ^ a1);
#line 169206 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::WindowStates((*a0 | *a1));
            Py_END_ALLOW_THREADS
            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 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::WindowStates(*a0 | a1);
#line 169258 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::WindowStates::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::WindowStates::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::WindowStates::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Qt::WindowStates *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::WindowStates(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Qt::WindowStates *>(a0),sipType_Qt_WindowStates,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::WindowStates(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::WindowStates();
            Py_END_ALLOW_THREADS

            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 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 169553 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_Qt_WindowStates = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Qt__WindowStates,
        {0}
    },
    {
        sipNameNr_WindowStates,
        {273, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_WindowStates,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 169634 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 169638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::WindowFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 169660 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::WindowFlags::Int() != a0->operator Qt::WindowFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 169694 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::WindowFlags::Int() == a0->operator Qt::WindowFlags::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 169734 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::WindowFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::WindowFlags((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::WindowFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            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 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::WindowFlags(*a0 ^ a1);
#line 169843 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::WindowFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS
            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 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::WindowFlags(*a0 | a1);
#line 169895 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::WindowFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::WindowFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::WindowFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Qt::WindowFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::WindowFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Qt::WindowFlags *>(a0),sipType_Qt_WindowFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::WindowFlags(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::WindowFlags();
            Py_END_ALLOW_THREADS

            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 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 170190 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_Qt_WindowFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Qt__WindowFlags,
        {0}
    },
    {
        sipNameNr_WindowFlags,
        {273, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_WindowFlags,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 170271 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 170275 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::Alignment::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 170297 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::Alignment::Int() != a0->operator Qt::Alignment::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 170331 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::Alignment::Int() == a0->operator Qt::Alignment::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 170371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::Alignment(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::Alignment((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::Alignment((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            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 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::Alignment(*a0 ^ a1);
#line 170480 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::Alignment((*a0 | *a1));
            Py_END_ALLOW_THREADS
            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 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::Alignment(*a0 | a1);
#line 170532 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::Alignment::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::Alignment::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::Alignment::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Qt::Alignment *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::Alignment(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Qt::Alignment *>(a0),sipType_Qt_Alignment,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::Alignment(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::Alignment();
            Py_END_ALLOW_THREADS

            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 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 170827 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_Qt_Alignment = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Qt__Alignment,
        {0}
    },
    {
        sipNameNr_Alignment,
        {273, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_Alignment,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 170908 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 170912 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::Orientations::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 170934 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::Orientations::Int() != a0->operator Qt::Orientations::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 170968 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::Orientations::Int() == a0->operator Qt::Orientations::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 171008 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::Orientations(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::Orientations((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::Orientations((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            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 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::Orientations(*a0 ^ a1);
#line 171117 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::Orientations((*a0 | *a1));
            Py_END_ALLOW_THREADS
            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 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::Orientations(*a0 | a1);
#line 171169 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::Orientations::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::Orientations::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::Orientations::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Qt::Orientations *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::Orientations(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Qt::Orientations *>(a0),sipType_Qt_Orientations,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::Orientations(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::Orientations();
            Py_END_ALLOW_THREADS

            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 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 171464 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_Qt_Orientations = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Qt__Orientations,
        {0}
    },
    {
        sipNameNr_Orientations,
        {273, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_Orientations,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 171545 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 171549 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::MouseButtons::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 171571 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::MouseButtons::Int() != a0->operator Qt::MouseButtons::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 171605 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::MouseButtons::Int() == a0->operator Qt::MouseButtons::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 171645 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::MouseButtons(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::MouseButtons((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::MouseButtons((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            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 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::MouseButtons(*a0 ^ a1);
#line 171754 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::MouseButtons((*a0 | *a1));
            Py_END_ALLOW_THREADS
            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 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::MouseButtons(*a0 | a1);
#line 171806 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::MouseButtons::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::MouseButtons::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::MouseButtons::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Qt::MouseButtons *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::MouseButtons(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Qt::MouseButtons *>(a0),sipType_Qt_MouseButtons,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::MouseButtons(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::MouseButtons();
            Py_END_ALLOW_THREADS

            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 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 172101 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_Qt_MouseButtons = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Qt__MouseButtons,
        {0}
    },
    {
        sipNameNr_MouseButtons,
        {273, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_MouseButtons,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 172182 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 172186 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::KeyboardModifiers::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 172208 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 380 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::KeyboardModifiers::Int() != a0->operator Qt::KeyboardModifiers::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 172242 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 371 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::KeyboardModifiers::Int() == a0->operator Qt::KeyboardModifiers::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 172282 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::KeyboardModifiers(~(*sipCpp));
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::KeyboardModifiers((*a0 & a1));
            Py_END_ALLOW_THREADS
            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::KeyboardModifiers((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            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 365 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::KeyboardModifiers(*a0 ^ a1);
#line 172391 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::KeyboardModifiers((*a0 | *a1));
            Py_END_ALLOW_THREADS
            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 360 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
        sipRes = new Qt::KeyboardModifiers(*a0 | a1);
#line 172443 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::KeyboardModifiers::operator^=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::KeyboardModifiers::operator|=(*a0);
            Py_END_ALLOW_THREADS
            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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Qt::KeyboardModifiers::operator&=(a0);
            Py_END_ALLOW_THREADS

            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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Qt::KeyboardModifiers *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::KeyboardModifiers(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Qt::KeyboardModifiers *>(a0),sipType_Qt_KeyboardModifiers,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::KeyboardModifiers(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Qt::KeyboardModifiers();
            Py_END_ALLOW_THREADS

            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 398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 172738 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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()");


pyqt4ClassTypeDef sipTypeDef_QtCore_Qt_KeyboardModifiers = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Qt__KeyboardModifiers,
        {0}
    },
    {
        sipNameNr_KeyboardModifiers,
        {273, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_KeyboardModifiers,
    sipNameNr_PyQt4_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
};

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 172819 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/QtCore/sipQtCorepart0.cpp"


static sipEnumMemberDef enummembers_Qt[] = {
    {sipName_AA_CaptureMultimediaKeys, static_cast<int>(Qt::AA_CaptureMultimediaKeys), 278},
    {sipName_AA_DontCreateNativeWidgetSiblings, static_cast<int>(Qt::AA_DontCreateNativeWidgetSiblings), 278},
    {sipName_AA_DontShowIconsInMenus, static_cast<int>(Qt::AA_DontShowIconsInMenus), 278},
    {sipName_AA_DontUseNativeMenuBar, static_cast<int>(Qt::AA_DontUseNativeMenuBar), 278},
    {sipName_AA_ImmediateWidgetCreation, static_cast<int>(Qt::AA_ImmediateWidgetCreation), 278},
    {sipName_AA_MSWindowsUseDirect3DByDefault, static_cast<int>(Qt::AA_MSWindowsUseDirect3DByDefault), 278},
    {sipName_AA_MacDontSwapCtrlAndMeta, static_cast<int>(Qt::AA_MacDontSwapCtrlAndMeta), 278},
    {sipName_AA_MacPluginApplication, static_cast<int>(Qt::AA_MacPluginApplication), 278},
    {sipName_AA_NativeWindows, static_cast<int>(Qt::AA_NativeWindows), 278},
    {sipName_AA_S60DisablePartialScreenInputMode, static_cast<int>(Qt::AA_S60DisablePartialScreenInputMode), 278},
    {sipName_AA_S60DontConstructApplicationPanes, static_cast<int>(Qt::AA_S60DontConstructApplicationPanes), 278},
    {sipName_AA_X11InitThreads, static_cast<int>(Qt::AA_X11InitThreads), 278},
    {sipName_ALT, static_cast<int>(Qt::ALT), 324},
    {sipName_AbsoluteSize, static_cast<int>(Qt::AbsoluteSize), 336},
    {sipName_AccessibleDescriptionRole, static_cast<int>(Qt::AccessibleDescriptionRole), 313},
    {sipName_AccessibleTextRole, static_cast<int>(Qt::AccessibleTextRole), 313},
    {sipName_ActionMask, static_cast<int>(Qt::ActionMask), 297},
    {sipName_ActionsContextMenu, static_cast<int>(Qt::ActionsContextMenu), 288},
    {sipName_ActiveWindowFocusReason, static_cast<int>(Qt::ActiveWindowFocusReason), 302},
    {sipName_AlignAbsolute, static_cast<int>(Qt::AlignAbsolute), 275},
    {sipName_AlignBottom, static_cast<int>(Qt::AlignBottom), 275},
    {sipName_AlignCenter, static_cast<int>(Qt::AlignCenter), 275},
    {sipName_AlignHCenter, static_cast<int>(Qt::AlignHCenter), 275},
    {sipName_AlignHorizontal_Mask, static_cast<int>(Qt::AlignHorizontal_Mask), 275},
    {sipName_AlignJustify, static_cast<int>(Qt::AlignJustify), 275},
    {sipName_AlignLeading, static_cast<int>(Qt::AlignLeading), 275},
    {sipName_AlignLeft, static_cast<int>(Qt::AlignLeft), 275},
    {sipName_AlignRight, static_cast<int>(Qt::AlignRight), 275},
    {sipName_AlignTop, static_cast<int>(Qt::AlignTop), 275},
    {sipName_AlignTrailing, static_cast<int>(Qt::AlignTrailing), 275},
    {sipName_AlignVCenter, static_cast<int>(Qt::AlignVCenter), 275},
    {sipName_AlignVertical_Mask, static_cast<int>(Qt::AlignVertical_Mask), 275},
    {sipName_AllDockWidgetAreas, static_cast<int>(Qt::AllDockWidgetAreas), 295},
    {sipName_AllToolBarAreas, static_cast<int>(Qt::AllToolBarAreas), 345},
    {sipName_AltModifier, static_cast<int>(Qt::AltModifier), 318},
    {sipName_AnchorBottom, static_cast<int>(Qt::AnchorBottom), 277},
    {sipName_AnchorHorizontalCenter, static_cast<int>(Qt::AnchorHorizontalCenter), 277},
    {sipName_AnchorHref, static_cast<int>(Qt::AnchorHref), 276},
    {sipName_AnchorLeft, static_cast<int>(Qt::AnchorLeft), 277},
    {sipName_AnchorName, static_cast<int>(Qt::AnchorName), 276},
    {sipName_AnchorRight, static_cast<int>(Qt::AnchorRight), 277},
    {sipName_AnchorTop, static_cast<int>(Qt::AnchorTop), 277},
    {sipName_AnchorVerticalCenter, static_cast<int>(Qt::AnchorVerticalCenter), 277},
    {sipName_ApplicationModal, static_cast<int>(Qt::ApplicationModal), 355},
    {sipName_ApplicationShortcut, static_cast<int>(Qt::ApplicationShortcut), 334},
    {sipName_ArrowCursor, static_cast<int>(Qt::ArrowCursor), 292},
    {sipName_AscendingOrder, static_cast<int>(Qt::AscendingOrder), 337},
    {sipName_AutoColor, static_cast<int>(Qt::AutoColor), 308},
    {sipName_AutoCompatConnection, static_cast<int>(Qt::AutoCompatConnection), 287},
    {sipName_AutoConnection, static_cast<int>(Qt::AutoConnection), 287},
    {sipName_AutoDither, static_cast<int>(Qt::AutoDither), 308},
    {sipName_AutoText, static_cast<int>(Qt::AutoText), 340},
    {sipName_AvoidDither, static_cast<int>(Qt::AvoidDither), 308},
    {sipName_BDiagPattern, static_cast<int>(Qt::BDiagPattern), 283},
    {sipName_BackgroundColorRole, static_cast<int>(Qt::BackgroundColorRole), 313},
    {sipName_BackgroundRole, static_cast<int>(Qt::BackgroundRole), 313},
    {sipName_BacktabFocusReason, static_cast<int>(Qt::BacktabFocusReason), 302},
    {sipName_BevelJoin, static_cast<int>(Qt::BevelJoin), 331},
    {sipName_BitmapCursor, static_cast<int>(Qt::BitmapCursor), 292},
    {sipName_BlankCursor, static_cast<int>(Qt::BlankCursor), 292},
    {sipName_BlockingQueuedConnection, static_cast<int>(Qt::BlockingQueuedConnection), 287},
    {sipName_BottomDockWidgetArea, static_cast<int>(Qt::BottomDockWidgetArea), 295},
    {sipName_BottomLeftCorner, static_cast<int>(Qt::BottomLeftCorner), 290},
    {sipName_BottomLeftSection, static_cast<int>(Qt::BottomLeftSection), 354},
    {sipName_BottomRightCorner, static_cast<int>(Qt::BottomRightCorner), 290},
    {sipName_BottomRightSection, static_cast<int>(Qt::BottomRightSection), 354},
    {sipName_BottomSection, static_cast<int>(Qt::BottomSection), 354},
    {sipName_BottomToolBarArea, static_cast<int>(Qt::BottomToolBarArea), 345},
    {sipName_BusyCursor, static_cast<int>(Qt::BusyCursor), 292},
    {sipName_BypassGraphicsProxyWidget, static_cast<int>(Qt::BypassGraphicsProxyWidget), 358},
    {sipName_CTRL, static_cast<int>(Qt::CTRL), 324},
    {sipName_CaseInsensitive, static_cast<int>(Qt::CaseInsensitive), 284},
    {sipName_CaseSensitive, static_cast<int>(Qt::CaseSensitive), 284},
    {sipName_CheckStateRole, static_cast<int>(Qt::CheckStateRole), 313},
    {sipName_Checked, static_cast<int>(Qt::Checked), 285},
    {sipName_ClickFocus, static_cast<int>(Qt::ClickFocus), 301},
    {sipName_ClosedHandCursor, static_cast<int>(Qt::ClosedHandCursor), 292},
    {sipName_ColorOnly, static_cast<int>(Qt::ColorOnly), 308},
    {sipName_ConicalGradientPattern, static_cast<int>(Qt::ConicalGradientPattern), 283},
    {sipName_ContainsItemBoundingRect, static_cast<int>(Qt::ContainsItemBoundingRect), 316},
    {sipName_ContainsItemShape, static_cast<int>(Qt::ContainsItemShape), 316},
    {sipName_ControlModifier, static_cast<int>(Qt::ControlModifier), 318},
    {sipName_CopyAction, static_cast<int>(Qt::CopyAction), 297},
    {sipName_CrossCursor, static_cast<int>(Qt::CrossCursor), 292},
    {sipName_CrossPattern, static_cast<int>(Qt::CrossPattern), 283},
    {sipName_CustomContextMenu, static_cast<int>(Qt::CustomContextMenu), 288},
    {sipName_CustomCursor, static_cast<int>(Qt::CustomCursor), 292},
    {sipName_CustomDashLine, static_cast<int>(Qt::CustomDashLine), 332},
    {sipName_CustomGesture, static_cast<int>(Qt::CustomGesture), 306},
    {sipName_CustomizeWindowHint, static_cast<int>(Qt::CustomizeWindowHint), 358},
    {sipName_DashDotDotLine, static_cast<int>(Qt::DashDotDotLine), 332},
    {sipName_DashDotLine, static_cast<int>(Qt::DashDotLine), 332},
    {sipName_DashLine, static_cast<int>(Qt::DashLine), 332},
    {sipName_DecorationRole, static_cast<int>(Qt::DecorationRole), 313},
    {sipName_DefaultContextMenu, static_cast<int>(Qt::DefaultContextMenu), 288},
    {sipName_DefaultLocaleLongDate, static_cast<int>(Qt::DefaultLocaleLongDate), 293},
    {sipName_DefaultLocaleShortDate, static_cast<int>(Qt::DefaultLocaleShortDate), 293},
    {sipName_Dense1Pattern, static_cast<int>(Qt::Dense1Pattern), 283},
    {sipName_Dense2Pattern, static_cast<int>(Qt::Dense2Pattern), 283},
    {sipName_Dense3Pattern, static_cast<int>(Qt::Dense3Pattern), 283},
    {sipName_Dense4Pattern, static_cast<int>(Qt::Dense4Pattern), 283},
    {sipName_Dense5Pattern, static_cast<int>(Qt::Dense5Pattern), 283},
    {sipName_Dense6Pattern, static_cast<int>(Qt::Dense6Pattern), 283},
    {sipName_Dense7Pattern, static_cast<int>(Qt::Dense7Pattern), 283},
    {sipName_DescendingOrder, static_cast<int>(Qt::DescendingOrder), 337},
    {sipName_Desktop, static_cast<int>(Qt::Desktop), 358},
    {sipName_DeviceCoordinates, static_cast<int>(Qt::DeviceCoordinates), 289},
    {sipName_DiagCrossPattern, static_cast<int>(Qt::DiagCrossPattern), 283},
    {sipName_Dialog, static_cast<int>(Qt::Dialog), 358},
    {sipName_DiffuseAlphaDither, static_cast<int>(Qt::DiffuseAlphaDither), 308},
    {sipName_DiffuseDither, static_cast<int>(Qt::DiffuseDither), 308},
    {sipName_DirectConnection, static_cast<int>(Qt::DirectConnection), 287},
    {sipName_DisplayRole, static_cast<int>(Qt::DisplayRole), 313},
    {sipName_DockWidgetArea_Mask, static_cast<int>(Qt::DockWidgetArea_Mask), 295},
    {sipName_DontStartGestureOnChildren, static_cast<int>(Qt::DontStartGestureOnChildren), 303},
    {sipName_DotLine, static_cast<int>(Qt::DotLine), 332},
    {sipName_DownArrow, static_cast<int>(Qt::DownArrow), 279},
    {sipName_DragCopyCursor, static_cast<int>(Qt::DragCopyCursor), 292},
    {sipName_DragLinkCursor, static_cast<int>(Qt::DragLinkCursor), 292},
    {sipName_DragMoveCursor, static_cast<int>(Qt::DragMoveCursor), 292},
    {sipName_Drawer, static_cast<int>(Qt::Drawer), 358},
    {sipName_EditRole, static_cast<int>(Qt::EditRole), 313},
    {sipName_ElideLeft, static_cast<int>(Qt::ElideLeft), 338},
    {sipName_ElideMiddle, static_cast<int>(Qt::ElideMiddle), 338},
    {sipName_ElideNone, static_cast<int>(Qt::ElideNone), 338},
    {sipName_ElideRight, static_cast<int>(Qt::ElideRight), 338},
    {sipName_FDiagPattern, static_cast<int>(Qt::FDiagPattern), 283},
    {sipName_FastTransformation, static_cast<int>(Qt::FastTransformation), 350},
    {sipName_FlatCap, static_cast<int>(Qt::FlatCap), 330},
    {sipName_FontRole, static_cast<int>(Qt::FontRole), 313},
    {sipName_ForbiddenCursor, static_cast<int>(Qt::ForbiddenCursor), 292},
    {sipName_ForegroundRole, static_cast<int>(Qt::ForegroundRole), 313},
    {sipName_FramelessWindowHint, static_cast<int>(Qt::FramelessWindowHint), 358},
    {sipName_Friday, static_cast<int>(Qt::Friday), 294},
    {sipName_GestureCanceled, static_cast<int>(Qt::GestureCanceled), 305},
    {sipName_GestureFinished, static_cast<int>(Qt::GestureFinished), 305},
    {sipName_GestureStarted, static_cast<int>(Qt::GestureStarted), 305},
    {sipName_GestureUpdated, static_cast<int>(Qt::GestureUpdated), 305},
    {sipName_GroupSwitchModifier, static_cast<int>(Qt::GroupSwitchModifier), 318},
    {sipName_HighEventPriority, static_cast<int>(Qt::HighEventPriority), 299},
    {sipName_HorPattern, static_cast<int>(Qt::HorPattern), 283},
    {sipName_Horizontal, static_cast<int>(Qt::Horizontal), 328},
    {sipName_IBeamCursor, static_cast<int>(Qt::IBeamCursor), 292},
    {sipName_ISODate, static_cast<int>(Qt::ISODate), 293},
    {sipName_IgnoreAction, static_cast<int>(Qt::IgnoreAction), 297},
    {sipName_IgnoreAspectRatio, static_cast<int>(Qt::IgnoreAspectRatio), 280},
    {sipName_IgnoredGesturesPropagateToParent, static_cast<int>(Qt::IgnoredGesturesPropagateToParent), 303},
    {sipName_ImAnchorPosition, static_cast<int>(Qt::ImAnchorPosition), 312},
    {sipName_ImCurrentSelection, static_cast<int>(Qt::ImCurrentSelection), 312},
    {sipName_ImCursorPosition, static_cast<int>(Qt::ImCursorPosition), 312},
    {sipName_ImFont, static_cast<int>(Qt::ImFont), 312},
    {sipName_ImMaximumTextLength, static_cast<int>(Qt::ImMaximumTextLength), 312},
    {sipName_ImMicroFocus, static_cast<int>(Qt::ImMicroFocus), 312},
    {sipName_ImSurroundingText, static_cast<int>(Qt::ImSurroundingText), 312},
    {sipName_ImhDialableCharactersOnly, static_cast<int>(Qt::ImhDialableCharactersOnly), 310},
    {sipName_ImhDigitsOnly, static_cast<int>(Qt::ImhDigitsOnly), 310},
    {sipName_ImhEmailCharactersOnly, static_cast<int>(Qt::ImhEmailCharactersOnly), 310},
    {sipName_ImhExclusiveInputMask, static_cast<int>(Qt::ImhExclusiveInputMask), 310},
    {sipName_ImhFormattedNumbersOnly, static_cast<int>(Qt::ImhFormattedNumbersOnly), 310},
    {sipName_ImhHiddenText, static_cast<int>(Qt::ImhHiddenText), 310},
    {sipName_ImhLowercaseOnly, static_cast<int>(Qt::ImhLowercaseOnly), 310},
    {sipName_ImhNoAutoUppercase, static_cast<int>(Qt::ImhNoAutoUppercase), 310},
    {sipName_ImhNoPredictiveText, static_cast<int>(Qt::ImhNoPredictiveText), 310},
    {sipName_ImhNone, static_cast<int>(Qt::ImhNone), 310},
    {sipName_ImhPreferLowercase, static_cast<int>(Qt::ImhPreferLowercase), 310},
    {sipName_ImhPreferNumbers, static_cast<int>(Qt::ImhPreferNumbers), 310},
    {sipName_ImhPreferUppercase, static_cast<int>(Qt::ImhPreferUppercase), 310},
    {sipName_ImhUppercaseOnly, static_cast<int>(Qt::ImhUppercaseOnly), 310},
    {sipName_ImhUrlCharactersOnly, static_cast<int>(Qt::ImhUrlCharactersOnly), 310},
    {sipName_InitialSortOrderRole, static_cast<int>(Qt::InitialSortOrderRole), 313},
    {sipName_IntersectClip, static_cast<int>(Qt::IntersectClip), 286},
    {sipName_IntersectsItemBoundingRect, static_cast<int>(Qt::IntersectsItemBoundingRect), 316},
    {sipName_IntersectsItemShape, static_cast<int>(Qt::IntersectsItemShape), 316},
    {sipName_ItemIsDragEnabled, static_cast<int>(Qt::ItemIsDragEnabled), 314},
    {sipName_ItemIsDropEnabled, static_cast<int>(Qt::ItemIsDropEnabled), 314},
    {sipName_ItemIsEditable, static_cast<int>(Qt::ItemIsEditable), 314},
    {sipName_ItemIsEnabled, static_cast<int>(Qt::ItemIsEnabled), 314},
    {sipName_ItemIsSelectable, static_cast<int>(Qt::ItemIsSelectable), 314},
    {sipName_ItemIsTristate, static_cast<int>(Qt::ItemIsTristate), 314},
    {sipName_ItemIsUserCheckable, static_cast<int>(Qt::ItemIsUserCheckable), 314},
    {sipName_KeepAspectRatio, static_cast<int>(Qt::KeepAspectRatio), 280},
    {sipName_KeepAspectRatioByExpanding, static_cast<int>(Qt::KeepAspectRatioByExpanding), 280},
    {sipName_Key_0, static_cast<int>(Qt::Key_0), 317},
    {sipName_Key_1, static_cast<int>(Qt::Key_1), 317},
    {sipName_Key_2, static_cast<int>(Qt::Key_2), 317},
    {sipName_Key_3, static_cast<int>(Qt::Key_3), 317},
    {sipName_Key_4, static_cast<int>(Qt::Key_4), 317},
    {sipName_Key_5, static_cast<int>(Qt::Key_5), 317},
    {sipName_Key_6, static_cast<int>(Qt::Key_6), 317},
    {sipName_Key_7, static_cast<int>(Qt::Key_7), 317},
    {sipName_Key_8, static_cast<int>(Qt::Key_8), 317},
    {sipName_Key_9, static_cast<int>(Qt::Key_9), 317},
    {sipName_Key_A, static_cast<int>(Qt::Key_A), 317},
    {sipName_Key_AE, static_cast<int>(Qt::Key_AE), 317},
    {sipName_Key_Aacute, static_cast<int>(Qt::Key_Aacute), 317},
    {sipName_Key_Acircumflex, static_cast<int>(Qt::Key_Acircumflex), 317},
    {sipName_Key_AddFavorite, static_cast<int>(Qt::Key_AddFavorite), 317},
    {sipName_Key_Adiaeresis, static_cast<int>(Qt::Key_Adiaeresis), 317},
    {sipName_Key_Agrave, static_cast<int>(Qt::Key_Agrave), 317},
    {sipName_Key_Alt, static_cast<int>(Qt::Key_Alt), 317},
    {sipName_Key_AltGr, static_cast<int>(Qt::Key_AltGr), 317},
    {sipName_Key_Ampersand, static_cast<int>(Qt::Key_Ampersand), 317},
    {sipName_Key_Any, static_cast<int>(Qt::Key_Any), 317},
    {sipName_Key_Apostrophe, static_cast<int>(Qt::Key_Apostrophe), 317},
    {sipName_Key_ApplicationLeft, static_cast<int>(Qt::Key_ApplicationLeft), 317},
    {sipName_Key_ApplicationRight, static_cast<int>(Qt::Key_ApplicationRight), 317},
    {sipName_Key_Aring, static_cast<int>(Qt::Key_Aring), 317},
    {sipName_Key_AsciiCircum, static_cast<int>(Qt::Key_AsciiCircum), 317},
    {sipName_Key_AsciiTilde, static_cast<int>(Qt::Key_AsciiTilde), 317},
    {sipName_Key_Asterisk, static_cast<int>(Qt::Key_Asterisk), 317},
    {sipName_Key_At, static_cast<int>(Qt::Key_At), 317},
    {sipName_Key_Atilde, static_cast<int>(Qt::Key_Atilde), 317},
    {sipName_Key_AudioCycleTrack, static_cast<int>(Qt::Key_AudioCycleTrack), 317},
    {sipName_Key_AudioForward, static_cast<int>(Qt::Key_AudioForward), 317},
    {sipName_Key_AudioRandomPlay, static_cast<int>(Qt::Key_AudioRandomPlay), 317},
    {sipName_Key_AudioRepeat, static_cast<int>(Qt::Key_AudioRepeat), 317},
    {sipName_Key_AudioRewind, static_cast<int>(Qt::Key_AudioRewind), 317},
    {sipName_Key_Away, static_cast<int>(Qt::Key_Away), 317},
    {sipName_Key_B, static_cast<int>(Qt::Key_B), 317},
    {sipName_Key_Back, static_cast<int>(Qt::Key_Back), 317},
    {sipName_Key_BackForward, static_cast<int>(Qt::Key_BackForward), 317},
    {sipName_Key_Backslash, static_cast<int>(Qt::Key_Backslash), 317},
    {sipName_Key_Backspace, static_cast<int>(Qt::Key_Backspace), 317},
    {sipName_Key_Backtab, static_cast<int>(Qt::Key_Backtab), 317},
    {sipName_Key_Bar, static_cast<int>(Qt::Key_Bar), 317},
    {sipName_Key_BassBoost, static_cast<int>(Qt::Key_BassBoost), 317},
    {sipName_Key_BassDown, static_cast<int>(Qt::Key_BassDown), 317},
    {sipName_Key_BassUp, static_cast<int>(Qt::Key_BassUp), 317},
    {sipName_Key_Battery, static_cast<int>(Qt::Key_Battery), 317},
    {sipName_Key_Bluetooth, static_cast<int>(Qt::Key_Bluetooth), 317},
    {sipName_Key_Book, static_cast<int>(Qt::Key_Book), 317},
    {sipName_Key_BraceLeft, static_cast<int>(Qt::Key_BraceLeft), 317},
    {sipName_Key_BraceRight, static_cast<int>(Qt::Key_BraceRight), 317},
    {sipName_Key_BracketLeft, static_cast<int>(Qt::Key_BracketLeft), 317},
    {sipName_Key_BracketRight, static_cast<int>(Qt::Key_BracketRight), 317},
    {sipName_Key_BrightnessAdjust, static_cast<int>(Qt::Key_BrightnessAdjust), 317},
    {sipName_Key_C, static_cast<int>(Qt::Key_C), 317},
    {sipName_Key_CD, static_cast<int>(Qt::Key_CD), 317},
    {sipName_Key_Calculator, static_cast<int>(Qt::Key_Calculator), 317},
    {sipName_Key_Calendar, static_cast<int>(Qt::Key_Calendar), 317},
    {sipName_Key_Call, static_cast<int>(Qt::Key_Call), 317},
    {sipName_Key_Camera, static_cast<int>(Qt::Key_Camera), 317},
    {sipName_Key_CameraFocus, static_cast<int>(Qt::Key_CameraFocus), 317},
    {sipName_Key_Cancel, static_cast<int>(Qt::Key_Cancel), 317},
    {sipName_Key_CapsLock, static_cast<int>(Qt::Key_CapsLock), 317},
    {sipName_Key_Ccedilla, static_cast<int>(Qt::Key_Ccedilla), 317},
    {sipName_Key_Clear, static_cast<int>(Qt::Key_Clear), 317},
    {sipName_Key_ClearGrab, static_cast<int>(Qt::Key_ClearGrab), 317},
    {sipName_Key_Close, static_cast<int>(Qt::Key_Close), 317},
    {sipName_Key_Codeinput, static_cast<int>(Qt::Key_Codeinput), 317},
    {sipName_Key_Colon, static_cast<int>(Qt::Key_Colon), 317},
    {sipName_Key_Comma, static_cast<int>(Qt::Key_Comma), 317},
    {sipName_Key_Community, static_cast<int>(Qt::Key_Community), 317},
    {sipName_Key_Context1, static_cast<int>(Qt::Key_Context1), 317},
    {sipName_Key_Context2, static_cast<int>(Qt::Key_Context2), 317},
    {sipName_Key_Context3, static_cast<int>(Qt::Key_Context3), 317},
    {sipName_Key_Context4, static_cast<int>(Qt::Key_Context4), 317},
    {sipName_Key_ContrastAdjust, static_cast<int>(Qt::Key_ContrastAdjust), 317},
    {sipName_Key_Control, static_cast<int>(Qt::Key_Control), 317},
    {sipName_Key_Copy, static_cast<int>(Qt::Key_Copy), 317},
    {sipName_Key_Cut, static_cast<int>(Qt::Key_Cut), 317},
    {sipName_Key_D, static_cast<int>(Qt::Key_D), 317},
    {sipName_Key_DOS, static_cast<int>(Qt::Key_DOS), 317},
    {sipName_Key_Dead_Abovedot, static_cast<int>(Qt::Key_Dead_Abovedot), 317},
    {sipName_Key_Dead_Abovering, static_cast<int>(Qt::Key_Dead_Abovering), 317},
    {sipName_Key_Dead_Acute, static_cast<int>(Qt::Key_Dead_Acute), 317},
    {sipName_Key_Dead_Belowdot, static_cast<int>(Qt::Key_Dead_Belowdot), 317},
    {sipName_Key_Dead_Breve, static_cast<int>(Qt::Key_Dead_Breve), 317},
    {sipName_Key_Dead_Caron, static_cast<int>(Qt::Key_Dead_Caron), 317},
    {sipName_Key_Dead_Cedilla, static_cast<int>(Qt::Key_Dead_Cedilla), 317},
    {sipName_Key_Dead_Circumflex, static_cast<int>(Qt::Key_Dead_Circumflex), 317},
    {sipName_Key_Dead_Diaeresis, static_cast<int>(Qt::Key_Dead_Diaeresis), 317},
    {sipName_Key_Dead_Doubleacute, static_cast<int>(Qt::Key_Dead_Doubleacute), 317},
    {sipName_Key_Dead_Grave, static_cast<int>(Qt::Key_Dead_Grave), 317},
    {sipName_Key_Dead_Hook, static_cast<int>(Qt::Key_Dead_Hook), 317},
    {sipName_Key_Dead_Horn, static_cast<int>(Qt::Key_Dead_Horn), 317},
    {sipName_Key_Dead_Iota, static_cast<int>(Qt::Key_Dead_Iota), 317},
    {sipName_Key_Dead_Macron, static_cast<int>(Qt::Key_Dead_Macron), 317},
    {sipName_Key_Dead_Ogonek, static_cast<int>(Qt::Key_Dead_Ogonek), 317},
    {sipName_Key_Dead_Semivoiced_Sound, static_cast<int>(Qt::Key_Dead_Semivoiced_Sound), 317},
    {sipName_Key_Dead_Tilde, static_cast<int>(Qt::Key_Dead_Tilde), 317},
    {sipName_Key_Dead_Voiced_Sound, static_cast<int>(Qt::Key_Dead_Voiced_Sound), 317},
    {sipName_Key_Delete, static_cast<int>(Qt::Key_Delete), 317},
    {sipName_Key_Direction_L, static_cast<int>(Qt::Key_Direction_L), 317},
    {sipName_Key_Direction_R, static_cast<int>(Qt::Key_Direction_R), 317},
    {sipName_Key_Display, static_cast<int>(Qt::Key_Display), 317},
    {sipName_Key_Documents, static_cast<int>(Qt::Key_Documents), 317},
    {sipName_Key_Dollar, static_cast<int>(Qt::Key_Dollar), 317},
    {sipName_Key_Down, static_cast<int>(Qt::Key_Down), 317},
    {sipName_Key_E, static_cast<int>(Qt::Key_E), 317},
    {sipName_Key_ETH, static_cast<int>(Qt::Key_ETH), 317},
    {sipName_Key_Eacute, static_cast<int>(Qt::Key_Eacute), 317},
    {sipName_Key_Ecircumflex, static_cast<int>(Qt::Key_Ecircumflex), 317},
    {sipName_Key_Ediaeresis, static_cast<int>(Qt::Key_Ediaeresis), 317},
    {sipName_Key_Egrave, static_cast<int>(Qt::Key_Egrave), 317},
    {sipName_Key_Eisu_Shift, static_cast<int>(Qt::Key_Eisu_Shift), 317},
    {sipName_Key_Eisu_toggle, static_cast<int>(Qt::Key_Eisu_toggle), 317},
    {sipName_Key_Eject, static_cast<int>(Qt::Key_Eject), 317},
    {sipName_Key_End, static_cast<int>(Qt::Key_End), 317},
    {sipName_Key_Enter, static_cast<int>(Qt::Key_Enter), 317},
    {sipName_Key_Equal, static_cast<int>(Qt::Key_Equal), 317},
    {sipName_Key_Escape, static_cast<int>(Qt::Key_Escape), 317},
    {sipName_Key_Excel, static_cast<int>(Qt::Key_Excel), 317},
    {sipName_Key_Exclam, static_cast<int>(Qt::Key_Exclam), 317},
    {sipName_Key_Execute, static_cast<int>(Qt::Key_Execute), 317},
    {sipName_Key_Explorer, static_cast<int>(Qt::Key_Explorer), 317},
    {sipName_Key_F, static_cast<int>(Qt::Key_F), 317},
    {sipName_Key_F1, static_cast<int>(Qt::Key_F1), 317},
    {sipName_Key_F10, static_cast<int>(Qt::Key_F10), 317},
    {sipName_Key_F11, static_cast<int>(Qt::Key_F11), 317},
    {sipName_Key_F12, static_cast<int>(Qt::Key_F12), 317},
    {sipName_Key_F13, static_cast<int>(Qt::Key_F13), 317},
    {sipName_Key_F14, static_cast<int>(Qt::Key_F14), 317},
    {sipName_Key_F15, static_cast<int>(Qt::Key_F15), 317},
    {sipName_Key_F16, static_cast<int>(Qt::Key_F16), 317},
    {sipName_Key_F17, static_cast<int>(Qt::Key_F17), 317},
    {sipName_Key_F18, static_cast<int>(Qt::Key_F18), 317},
    {sipName_Key_F19, static_cast<int>(Qt::Key_F19), 317},
    {sipName_Key_F2, static_cast<int>(Qt::Key_F2), 317},
    {sipName_Key_F20, static_cast<int>(Qt::Key_F20), 317},
    {sipName_Key_F21, static_cast<int>(Qt::Key_F21), 317},
    {sipName_Key_F22, static_cast<int>(Qt::Key_F22), 317},
    {sipName_Key_F23, static_cast<int>(Qt::Key_F23), 317},
    {sipName_Key_F24, static_cast<int>(Qt::Key_F24), 317},
    {sipName_Key_F25, static_cast<int>(Qt::Key_F25), 317},
    {sipName_Key_F26, static_cast<int>(Qt::Key_F26), 317},
    {sipName_Key_F27, static_cast<int>(Qt::Key_F27), 317},
    {sipName_Key_F28, static_cast<int>(Qt::Key_F28), 317},
    {sipName_Key_F29, static_cast<int>(Qt::Key_F29), 317},
    {sipName_Key_F3, static_cast<int>(Qt::Key_F3), 317},
    {sipName_Key_F30, static_cast<int>(Qt::Key_F30), 317},
    {sipName_Key_F31, static_cast<int>(Qt::Key_F31), 317},
    {sipName_Key_F32, static_cast<int>(Qt::Key_F32), 317},
    {sipName_Key_F33, static_cast<int>(Qt::Key_F33), 317},
    {sipName_Key_F34, static_cast<int>(Qt::Key_F34), 317},
    {sipName_Key_F35, static_cast<int>(Qt::Key_F35), 317},
    {sipName_Key_F4, static_cast<int>(Qt::Key_F4), 317},
    {sipName_Key_F5, static_cast<int>(Qt::Key_F5), 317},
    {sipName_Key_F6, static_cast<int>(Qt::Key_F6), 317},
    {sipName_Key_F7, static_cast<int>(Qt::Key_F7), 317},
    {sipName_Key_F8, static_cast<int>(Qt::Key_F8), 317},
    {sipName_Key_F9, static_cast<int>(Qt::Key_F9), 317},
    {sipName_Key_Favorites, static_cast<int>(Qt::Key_Favorites), 317},
    {sipName_Key_Finance, static_cast<int>(Qt::Key_Finance), 317},
    {sipName_Key_Flip, static_cast<int>(Qt::Key_Flip), 317},
    {sipName_Key_Forward, static_cast<int>(Qt::Key_Forward), 317},
    {sipName_Key_G, static_cast<int>(Qt::Key_G), 317},
    {sipName_Key_Game, static_cast<int>(Qt::Key_Game), 317},
    {sipName_Key_Go, static_cast<int>(Qt::Key_Go), 317},
    {sipName_Key_Greater, static_cast<int>(Qt::Key_Greater), 317},
    {sipName_Key_H, static_cast<int>(Qt::Key_H), 317},
    {sipName_Key_Hangul, static_cast<int>(Qt::Key_Hangul), 317},
    {sipName_Key_Hangul_Banja, static_cast<int>(Qt::Key_Hangul_Banja), 317},
    {sipName_Key_Hangul_End, static_cast<int>(Qt::Key_Hangul_End), 317},
    {sipName_Key_Hangul_Hanja, static_cast<int>(Qt::Key_Hangul_Hanja), 317},
    {sipName_Key_Hangul_Jamo, static_cast<int>(Qt::Key_Hangul_Jamo), 317},
    {sipName_Key_Hangul_Jeonja, static_cast<int>(Qt::Key_Hangul_Jeonja), 317},
    {sipName_Key_Hangul_PostHanja, static_cast<int>(Qt::Key_Hangul_PostHanja), 317},
    {sipName_Key_Hangul_PreHanja, static_cast<int>(Qt::Key_Hangul_PreHanja), 317},
    {sipName_Key_Hangul_Romaja, static_cast<int>(Qt::Key_Hangul_Romaja), 317},
    {sipName_Key_Hangul_Special, static_cast<int>(Qt::Key_Hangul_Special), 317},
    {sipName_Key_Hangul_Start, static_cast<int>(Qt::Key_Hangul_Start), 317},
    {sipName_Key_Hangup, static_cast<int>(Qt::Key_Hangup), 317},
    {sipName_Key_Hankaku, static_cast<int>(Qt::Key_Hankaku), 317},
    {sipName_Key_Help, static_cast<int>(Qt::Key_Help), 317},
    {sipName_Key_Henkan, static_cast<int>(Qt::Key_Henkan), 317},
    {sipName_Key_Hibernate, static_cast<int>(Qt::Key_Hibernate), 317},
    {sipName_Key_Hiragana, static_cast<int>(Qt::Key_Hiragana), 317},
    {sipName_Key_Hiragana_Katakana, static_cast<int>(Qt::Key_Hiragana_Katakana), 317},
    {sipName_Key_History, static_cast<int>(Qt::Key_History), 317},
    {sipName_Key_Home, static_cast<int>(Qt::Key_Home), 317},
    {sipName_Key_HomePage, static_cast<int>(Qt::Key_HomePage), 317},
    {sipName_Key_HotLinks, static_cast<int>(Qt::Key_HotLinks), 317},
    {sipName_Key_Hyper_L, static_cast<int>(Qt::Key_Hyper_L), 317},
    {sipName_Key_Hyper_R, static_cast<int>(Qt::Key_Hyper_R), 317},
    {sipName_Key_I, static_cast<int>(Qt::Key_I), 317},
    {sipName_Key_Iacute, static_cast<int>(Qt::Key_Iacute), 317},
    {sipName_Key_Icircumflex, static_cast<int>(Qt::Key_Icircumflex), 317},
    {sipName_Key_Idiaeresis, static_cast<int>(Qt::Key_Idiaeresis), 317},
    {sipName_Key_Igrave, static_cast<int>(Qt::Key_Igrave), 317},
    {sipName_Key_Insert, static_cast<int>(Qt::Key_Insert), 317},
    {sipName_Key_J, static_cast<int>(Qt::Key_J), 317},
    {sipName_Key_K, static_cast<int>(Qt::Key_K), 317},
    {sipName_Key_Kana_Lock, static_cast<int>(Qt::Key_Kana_Lock), 317},
    {sipName_Key_Kana_Shift, static_cast<int>(Qt::Key_Kana_Shift), 317},
    {sipName_Key_Kanji, static_cast<int>(Qt::Key_Kanji), 317},
    {sipName_Key_Katakana, static_cast<int>(Qt::Key_Katakana), 317},
    {sipName_Key_KeyboardBrightnessDown, static_cast<int>(Qt::Key_KeyboardBrightnessDown), 317},
    {sipName_Key_KeyboardBrightnessUp, static_cast<int>(Qt::Key_KeyboardBrightnessUp), 317},
    {sipName_Key_KeyboardLightOnOff, static_cast<int>(Qt::Key_KeyboardLightOnOff), 317},
    {sipName_Key_L, static_cast<int>(Qt::Key_L), 317},
    {sipName_Key_LastNumberRedial, static_cast<int>(Qt::Key_LastNumberRedial), 317},
    {sipName_Key_Launch0, static_cast<int>(Qt::Key_Launch0), 317},
    {sipName_Key_Launch1, static_cast<int>(Qt::Key_Launch1), 317},
    {sipName_Key_Launch2, static_cast<int>(Qt::Key_Launch2), 317},
    {sipName_Key_Launch3, static_cast<int>(Qt::Key_Launch3), 317},
    {sipName_Key_Launch4, static_cast<int>(Qt::Key_Launch4), 317},
    {sipName_Key_Launch5, static_cast<int>(Qt::Key_Launch5), 317},
    {sipName_Key_Launch6, static_cast<int>(Qt::Key_Launch6), 317},
    {sipName_Key_Launch7, static_cast<int>(Qt::Key_Launch7), 317},
    {sipName_Key_Launch8, static_cast<int>(Qt::Key_Launch8), 317},
    {sipName_Key_Launch9, static_cast<int>(Qt::Key_Launch9), 317},
    {sipName_Key_LaunchA, static_cast<int>(Qt::Key_LaunchA), 317},
    {sipName_Key_LaunchB, static_cast<int>(Qt::Key_LaunchB), 317},
    {sipName_Key_LaunchC, static_cast<int>(Qt::Key_LaunchC), 317},
    {sipName_Key_LaunchD, static_cast<int>(Qt::Key_LaunchD), 317},
    {sipName_Key_LaunchE, static_cast<int>(Qt::Key_LaunchE), 317},
    {sipName_Key_LaunchF, static_cast<int>(Qt::Key_LaunchF), 317},
    {sipName_Key_LaunchG, static_cast<int>(Qt::Key_LaunchG), 317},
    {sipName_Key_LaunchH, static_cast<int>(Qt::Key_LaunchH), 317},
    {sipName_Key_LaunchMail, static_cast<int>(Qt::Key_LaunchMail), 317},
    {sipName_Key_LaunchMedia, static_cast<int>(Qt::Key_LaunchMedia), 317},
    {sipName_Key_Left, static_cast<int>(Qt::Key_Left), 317},
    {sipName_Key_Less, static_cast<int>(Qt::Key_Less), 317},
    {sipName_Key_LightBulb, static_cast<int>(Qt::Key_LightBulb), 317},
    {sipName_Key_LogOff, static_cast<int>(Qt::Key_LogOff), 317},
    {sipName_Key_M, static_cast<int>(Qt::Key_M), 317},
    {sipName_Key_MailForward, static_cast<int>(Qt::Key_MailForward), 317},
    {sipName_Key_Market, static_cast<int>(Qt::Key_Market), 317},
    {sipName_Key_Massyo, static_cast<int>(Qt::Key_Massyo), 317},
    {sipName_Key_MediaLast, static_cast<int>(Qt::Key_MediaLast), 317},
    {sipName_Key_MediaNext, static_cast<int>(Qt::Key_MediaNext), 317},
    {sipName_Key_MediaPause, static_cast<int>(Qt::Key_MediaPause), 317},
    {sipName_Key_MediaPlay, static_cast<int>(Qt::Key_MediaPlay), 317},
    {sipName_Key_MediaPrevious, static_cast<int>(Qt::Key_MediaPrevious), 317},
    {sipName_Key_MediaRecord, static_cast<int>(Qt::Key_MediaRecord), 317},
    {sipName_Key_MediaStop, static_cast<int>(Qt::Key_MediaStop), 317},
    {sipName_Key_MediaTogglePlayPause, static_cast<int>(Qt::Key_MediaTogglePlayPause), 317},
    {sipName_Key_Meeting, static_cast<int>(Qt::Key_Meeting), 317},
    {sipName_Key_Memo, static_cast<int>(Qt::Key_Memo), 317},
    {sipName_Key_Menu, static_cast<int>(Qt::Key_Menu), 317},
    {sipName_Key_MenuKB, static_cast<int>(Qt::Key_MenuKB), 317},
    {sipName_Key_MenuPB, static_cast<int>(Qt::Key_MenuPB), 317},
    {sipName_Key_Messenger, static_cast<int>(Qt::Key_Messenger), 317},
    {sipName_Key_Meta, static_cast<int>(Qt::Key_Meta), 317},
    {sipName_Key_Minus, static_cast<int>(Qt::Key_Minus), 317},
    {sipName_Key_Mode_switch, static_cast<int>(Qt::Key_Mode_switch), 317},
    {sipName_Key_MonBrightnessDown, static_cast<int>(Qt::Key_MonBrightnessDown), 317},
    {sipName_Key_MonBrightnessUp, static_cast<int>(Qt::Key_MonBrightnessUp), 317},
    {sipName_Key_Muhenkan, static_cast<int>(Qt::Key_Muhenkan), 317},
    {sipName_Key_Multi_key, static_cast<int>(Qt::Key_Multi_key), 317},
    {sipName_Key_MultipleCandidate, static_cast<int>(Qt::Key_MultipleCandidate), 317},
    {sipName_Key_Music, static_cast<int>(Qt::Key_Music), 317},
    {sipName_Key_MySites, static_cast<int>(Qt::Key_MySites), 317},
    {sipName_Key_N, static_cast<int>(Qt::Key_N), 317},
    {sipName_Key_News, static_cast<int>(Qt::Key_News), 317},
    {sipName_Key_No, static_cast<int>(Qt::Key_No), 317},
    {sipName_Key_Ntilde, static_cast<int>(Qt::Key_Ntilde), 317},
    {sipName_Key_NumLock, static_cast<int>(Qt::Key_NumLock), 317},
    {sipName_Key_NumberSign, static_cast<int>(Qt::Key_NumberSign), 317},
    {sipName_Key_O, static_cast<int>(Qt::Key_O), 317},
    {sipName_Key_Oacute, static_cast<int>(Qt::Key_Oacute), 317},
    {sipName_Key_Ocircumflex, static_cast<int>(Qt::Key_Ocircumflex), 317},
    {sipName_Key_Odiaeresis, static_cast<int>(Qt::Key_Odiaeresis), 317},
    {sipName_Key_OfficeHome, static_cast<int>(Qt::Key_OfficeHome), 317},
    {sipName_Key_Ograve, static_cast<int>(Qt::Key_Ograve), 317},
    {sipName_Key_Ooblique, static_cast<int>(Qt::Key_Ooblique), 317},
    {sipName_Key_OpenUrl, static_cast<int>(Qt::Key_OpenUrl), 317},
    {sipName_Key_Option, static_cast<int>(Qt::Key_Option), 317},
    {sipName_Key_Otilde, static_cast<int>(Qt::Key_Otilde), 317},
    {sipName_Key_P, static_cast<int>(Qt::Key_P), 317},
    {sipName_Key_PageDown, static_cast<int>(Qt::Key_PageDown), 317},
    {sipName_Key_PageUp, static_cast<int>(Qt::Key_PageUp), 317},
    {sipName_Key_ParenLeft, static_cast<int>(Qt::Key_ParenLeft), 317},
    {sipName_Key_ParenRight, static_cast<int>(Qt::Key_ParenRight), 317},
    {sipName_Key_Paste, static_cast<int>(Qt::Key_Paste), 317},
    {sipName_Key_Pause, static_cast<int>(Qt::Key_Pause), 317},
    {sipName_Key_Percent, static_cast<int>(Qt::Key_Percent), 317},
    {sipName_Key_Period, static_cast<int>(Qt::Key_Period), 317},
    {sipName_Key_Phone, static_cast<int>(Qt::Key_Phone), 317},
    {sipName_Key_Pictures, static_cast<int>(Qt::Key_Pictures), 317},
    {sipName_Key_Play, static_cast<int>(Qt::Key_Play), 317},
    {sipName_Key_Plus, static_cast<int>(Qt::Key_Plus), 317},
    {sipName_Key_PowerDown, static_cast<int>(Qt::Key_PowerDown), 317},
    {sipName_Key_PowerOff, static_cast<int>(Qt::Key_PowerOff), 317},
    {sipName_Key_PreviousCandidate, static_cast<int>(Qt::Key_PreviousCandidate), 317},
    {sipName_Key_Print, static_cast<int>(Qt::Key_Print), 317},
    {sipName_Key_Printer, static_cast<int>(Qt::Key_Printer), 317},
    {sipName_Key_Q, static_cast<int>(Qt::Key_Q), 317},
    {sipName_Key_Question, static_cast<int>(Qt::Key_Question), 317},
    {sipName_Key_QuoteDbl, static_cast<int>(Qt::Key_QuoteDbl), 317},
    {sipName_Key_QuoteLeft, static_cast<int>(Qt::Key_QuoteLeft), 317},
    {sipName_Key_R, static_cast<int>(Qt::Key_R), 317},
    {sipName_Key_Refresh, static_cast<int>(Qt::Key_Refresh), 317},
    {sipName_Key_Reload, static_cast<int>(Qt::Key_Reload), 317},
    {sipName_Key_Reply, static_cast<int>(Qt::Key_Reply), 317},
    {sipName_Key_Return, static_cast<int>(Qt::Key_Return), 317},
    {sipName_Key_Right, static_cast<int>(Qt::Key_Right), 317},
    {sipName_Key_Romaji, static_cast<int>(Qt::Key_Romaji), 317},
    {sipName_Key_RotateWindows, static_cast<int>(Qt::Key_RotateWindows), 317},
    {sipName_Key_RotationKB, static_cast<int>(Qt::Key_RotationKB), 317},
    {sipName_Key_RotationPB, static_cast<int>(Qt::Key_RotationPB), 317},
    {sipName_Key_S, static_cast<int>(Qt::Key_S), 317},
    {sipName_Key_Save, static_cast<int>(Qt::Key_Save), 317},
    {sipName_Key_ScreenSaver, static_cast<int>(Qt::Key_ScreenSaver), 317},
    {sipName_Key_ScrollLock, static_cast<int>(Qt::Key_ScrollLock), 317},
    {sipName_Key_Search, static_cast<int>(Qt::Key_Search), 317},
    {sipName_Key_Select, static_cast<int>(Qt::Key_Select), 317},
    {sipName_Key_Semicolon, static_cast<int>(Qt::Key_Semicolon), 317},
    {sipName_Key_Send, static_cast<int>(Qt::Key_Send), 317},
    {sipName_Key_Shift, static_cast<int>(Qt::Key_Shift), 317},
    {sipName_Key_Shop, static_cast<int>(Qt::Key_Shop), 317},
    {sipName_Key_SingleCandidate, static_cast<int>(Qt::Key_SingleCandidate), 317},
    {sipName_Key_Slash, static_cast<int>(Qt::Key_Slash), 317},
    {sipName_Key_Sleep, static_cast<int>(Qt::Key_Sleep), 317},
    {sipName_Key_Space, static_cast<int>(Qt::Key_Space), 317},
    {sipName_Key_Spell, static_cast<int>(Qt::Key_Spell), 317},
    {sipName_Key_SplitScreen, static_cast<int>(Qt::Key_SplitScreen), 317},
    {sipName_Key_Standby, static_cast<int>(Qt::Key_Standby), 317},
    {sipName_Key_Stop, static_cast<int>(Qt::Key_Stop), 317},
    {sipName_Key_Subtitle, static_cast<int>(Qt::Key_Subtitle), 317},
    {sipName_Key_Super_L, static_cast<int>(Qt::Key_Super_L), 317},
    {sipName_Key_Super_R, static_cast<int>(Qt::Key_Super_R), 317},
    {sipName_Key_Support, static_cast<int>(Qt::Key_Support), 317},
    {sipName_Key_Suspend, static_cast<int>(Qt::Key_Suspend), 317},
    {sipName_Key_SysReq, static_cast<int>(Qt::Key_SysReq), 317},
    {sipName_Key_T, static_cast<int>(Qt::Key_T), 317},
    {sipName_Key_THORN, static_cast<int>(Qt::Key_THORN), 317},
    {sipName_Key_Tab, static_cast<int>(Qt::Key_Tab), 317},
    {sipName_Key_TaskPane, static_cast<int>(Qt::Key_TaskPane), 317},
    {sipName_Key_Terminal, static_cast<int>(Qt::Key_Terminal), 317},
    {sipName_Key_Time, static_cast<int>(Qt::Key_Time), 317},
    {sipName_Key_ToDoList, static_cast<int>(Qt::Key_ToDoList), 317},
    {sipName_Key_ToggleCallHangup, static_cast<int>(Qt::Key_ToggleCallHangup), 317},
    {sipName_Key_Tools, static_cast<int>(Qt::Key_Tools), 317},
    {sipName_Key_TopMenu, static_cast<int>(Qt::Key_TopMenu), 317},
    {sipName_Key_Touroku, static_cast<int>(Qt::Key_Touroku), 317},
    {sipName_Key_Travel, static_cast<int>(Qt::Key_Travel), 317},
    {sipName_Key_TrebleDown, static_cast<int>(Qt::Key_TrebleDown), 317},
    {sipName_Key_TrebleUp, static_cast<int>(Qt::Key_TrebleUp), 317},
    {sipName_Key_U, static_cast<int>(Qt::Key_U), 317},
    {sipName_Key_UWB, static_cast<int>(Qt::Key_UWB), 317},
    {sipName_Key_Uacute, static_cast<int>(Qt::Key_Uacute), 317},
    {sipName_Key_Ucircumflex, static_cast<int>(Qt::Key_Ucircumflex), 317},
    {sipName_Key_Udiaeresis, static_cast<int>(Qt::Key_Udiaeresis), 317},
    {sipName_Key_Ugrave, static_cast<int>(Qt::Key_Ugrave), 317},
    {sipName_Key_Underscore, static_cast<int>(Qt::Key_Underscore), 317},
    {sipName_Key_Up, static_cast<int>(Qt::Key_Up), 317},
    {sipName_Key_V, static_cast<int>(Qt::Key_V), 317},
    {sipName_Key_Video, static_cast<int>(Qt::Key_Video), 317},
    {sipName_Key_View, static_cast<int>(Qt::Key_View), 317},
    {sipName_Key_VoiceDial, static_cast<int>(Qt::Key_VoiceDial), 317},
    {sipName_Key_VolumeDown, static_cast<int>(Qt::Key_VolumeDown), 317},
    {sipName_Key_VolumeMute, static_cast<int>(Qt::Key_VolumeMute), 317},
    {sipName_Key_VolumeUp, static_cast<int>(Qt::Key_VolumeUp), 317},
    {sipName_Key_W, static_cast<int>(Qt::Key_W), 317},
    {sipName_Key_WLAN, static_cast<int>(Qt::Key_WLAN), 317},
    {sipName_Key_WWW, static_cast<int>(Qt::Key_WWW), 317},
    {sipName_Key_WakeUp, static_cast<int>(Qt::Key_WakeUp), 317},
    {sipName_Key_WebCam, static_cast<int>(Qt::Key_WebCam), 317},
    {sipName_Key_Word, static_cast<int>(Qt::Key_Word), 317},
    {sipName_Key_X, static_cast<int>(Qt::Key_X), 317},
    {sipName_Key_Xfer, static_cast<int>(Qt::Key_Xfer), 317},
    {sipName_Key_Y, static_cast<int>(Qt::Key_Y), 317},
    {sipName_Key_Yacute, static_cast<int>(Qt::Key_Yacute), 317},
    {sipName_Key_Yes, static_cast<int>(Qt::Key_Yes), 317},
    {sipName_Key_Z, static_cast<int>(Qt::Key_Z), 317},
    {sipName_Key_Zenkaku, static_cast<int>(Qt::Key_Zenkaku), 317},
    {sipName_Key_Zenkaku_Hankaku, static_cast<int>(Qt::Key_Zenkaku_Hankaku), 317},
    {sipName_Key_Zoom, static_cast<int>(Qt::Key_Zoom), 317},
    {sipName_Key_ZoomIn, static_cast<int>(Qt::Key_ZoomIn), 317},
    {sipName_Key_ZoomOut, static_cast<int>(Qt::Key_ZoomOut), 317},
    {sipName_Key_acute, static_cast<int>(Qt::Key_acute), 317},
    {sipName_Key_brokenbar, static_cast<int>(Qt::Key_brokenbar), 317},
    {sipName_Key_cedilla, static_cast<int>(Qt::Key_cedilla), 317},
    {sipName_Key_cent, static_cast<int>(Qt::Key_cent), 317},
    {sipName_Key_copyright, static_cast<int>(Qt::Key_copyright), 317},
    {sipName_Key_currency, static_cast<int>(Qt::Key_currency), 317},
    {sipName_Key_degree, static_cast<int>(Qt::Key_degree), 317},
    {sipName_Key_diaeresis, static_cast<int>(Qt::Key_diaeresis), 317},
    {sipName_Key_division, static_cast<int>(Qt::Key_division), 317},
    {sipName_Key_exclamdown, static_cast<int>(Qt::Key_exclamdown), 317},
    {sipName_Key_guillemotleft, static_cast<int>(Qt::Key_guillemotleft), 317},
    {sipName_Key_guillemotright, static_cast<int>(Qt::Key_guillemotright), 317},
    {sipName_Key_hyphen, static_cast<int>(Qt::Key_hyphen), 317},
    {sipName_Key_iTouch, static_cast<int>(Qt::Key_iTouch), 317},
    {sipName_Key_macron, static_cast<int>(Qt::Key_macron), 317},
    {sipName_Key_masculine, static_cast<int>(Qt::Key_masculine), 317},
    {sipName_Key_mu, static_cast<int>(Qt::Key_mu), 317},
    {sipName_Key_multiply, static_cast<int>(Qt::Key_multiply), 317},
    {sipName_Key_nobreakspace, static_cast<int>(Qt::Key_nobreakspace), 317},
    {sipName_Key_notsign, static_cast<int>(Qt::Key_notsign), 317},
    {sipName_Key_onehalf, static_cast<int>(Qt::Key_onehalf), 317},
    {sipName_Key_onequarter, static_cast<int>(Qt::Key_onequarter), 317},
    {sipName_Key_onesuperior, static_cast<int>(Qt::Key_onesuperior), 317},
    {sipName_Key_ordfeminine, static_cast<int>(Qt::Key_ordfeminine), 317},
    {sipName_Key_paragraph, static_cast<int>(Qt::Key_paragraph), 317},
    {sipName_Key_periodcentered, static_cast<int>(Qt::Key_periodcentered), 317},
    {sipName_Key_plusminus, static_cast<int>(Qt::Key_plusminus), 317},
    {sipName_Key_questiondown, static_cast<int>(Qt::Key_questiondown), 317},
    {sipName_Key_registered, static_cast<int>(Qt::Key_registered), 317},
    {sipName_Key_section, static_cast<int>(Qt::Key_section), 317},
    {sipName_Key_ssharp, static_cast<int>(Qt::Key_ssharp), 317},
    {sipName_Key_sterling, static_cast<int>(Qt::Key_sterling), 317},
    {sipName_Key_threequarters, static_cast<int>(Qt::Key_threequarters), 317},
    {sipName_Key_threesuperior, static_cast<int>(Qt::Key_threesuperior), 317},
    {sipName_Key_twosuperior, static_cast<int>(Qt::Key_twosuperior), 317},
    {sipName_Key_unknown, static_cast<int>(Qt::Key_unknown), 317},
    {sipName_Key_ydiaeresis, static_cast<int>(Qt::Key_ydiaeresis), 317},
    {sipName_Key_yen, static_cast<int>(Qt::Key_yen), 317},
    {sipName_KeyboardModifierMask, static_cast<int>(Qt::KeyboardModifierMask), 318},
    {sipName_KeypadModifier, static_cast<int>(Qt::KeypadModifier), 318},
    {sipName_LastCursor, static_cast<int>(Qt::LastCursor), 292},
    {sipName_LayoutDirectionAuto, static_cast<int>(Qt::LayoutDirectionAuto), 320},
    {sipName_LeftArrow, static_cast<int>(Qt::LeftArrow), 279},
    {sipName_LeftButton, static_cast<int>(Qt::LeftButton), 325},
    {sipName_LeftDockWidgetArea, static_cast<int>(Qt::LeftDockWidgetArea), 295},
    {sipName_LeftSection, static_cast<int>(Qt::LeftSection), 354},
    {sipName_LeftToRight, static_cast<int>(Qt::LeftToRight), 320},
    {sipName_LeftToolBarArea, static_cast<int>(Qt::LeftToolBarArea), 345},
    {sipName_LinearGradientPattern, static_cast<int>(Qt::LinearGradientPattern), 283},
    {sipName_LinkAction, static_cast<int>(Qt::LinkAction), 297},
    {sipName_LinksAccessibleByKeyboard, static_cast<int>(Qt::LinksAccessibleByKeyboard), 341},
    {sipName_LinksAccessibleByMouse, static_cast<int>(Qt::LinksAccessibleByMouse), 341},
    {sipName_LocalDate, static_cast<int>(Qt::LocalDate), 293},
    {sipName_LocalTime, static_cast<int>(Qt::LocalTime), 344},
    {sipName_LocaleDate, static_cast<int>(Qt::LocaleDate), 293},
    {sipName_LogText, static_cast<int>(Qt::LogText), 340},
    {sipName_LogicalCoordinates, static_cast<int>(Qt::LogicalCoordinates), 289},
    {sipName_LogicalMoveStyle, static_cast<int>(Qt::LogicalMoveStyle), 291},
    {sipName_LowEventPriority, static_cast<int>(Qt::LowEventPriority), 299},
    {sipName_META, static_cast<int>(Qt::META), 324},
    {sipName_MODIFIER_MASK, static_cast<int>(Qt::MODIFIER_MASK), 324},
    {sipName_MPenCapStyle, static_cast<int>(Qt::MPenCapStyle), 330},
    {sipName_MPenJoinStyle, static_cast<int>(Qt::MPenJoinStyle), 331},
    {sipName_MPenStyle, static_cast<int>(Qt::MPenStyle), 332},
    {sipName_MSWindowsFixedSizeDialogHint, static_cast<int>(Qt::MSWindowsFixedSizeDialogHint), 358},
    {sipName_MSWindowsOwnDC, static_cast<int>(Qt::MSWindowsOwnDC), 358},
    {sipName_MacWindowToolBarButtonHint, static_cast<int>(Qt::MacWindowToolBarButtonHint), 358},
    {sipName_MaskInColor, static_cast<int>(Qt::MaskInColor), 321},
    {sipName_MaskOutColor, static_cast<int>(Qt::MaskOutColor), 321},
    {sipName_MatchCaseSensitive, static_cast<int>(Qt::MatchCaseSensitive), 322},
    {sipName_MatchContains, static_cast<int>(Qt::MatchContains), 322},
    {sipName_MatchEndsWith, static_cast<int>(Qt::MatchEndsWith), 322},
    {sipName_MatchExactly, static_cast<int>(Qt::MatchExactly), 322},
    {sipName_MatchFixedString, static_cast<int>(Qt::MatchFixedString), 322},
    {sipName_MatchRecursive, static_cast<int>(Qt::MatchRecursive), 322},
    {sipName_MatchRegExp, static_cast<int>(Qt::MatchRegExp), 322},
    {sipName_MatchStartsWith, static_cast<int>(Qt::MatchStartsWith), 322},
    {sipName_MatchWildcard, static_cast<int>(Qt::MatchWildcard), 322},
    {sipName_MatchWrap, static_cast<int>(Qt::MatchWrap), 322},
    {sipName_MaximumSize, static_cast<int>(Qt::MaximumSize), 335},
    {sipName_MenuBarFocusReason, static_cast<int>(Qt::MenuBarFocusReason), 302},
    {sipName_MetaModifier, static_cast<int>(Qt::MetaModifier), 318},
    {sipName_MidButton, static_cast<int>(Qt::MidButton), 325},
    {sipName_MiddleButton, static_cast<int>(Qt::MiddleButton), 325},
    {sipName_MinimumDescent, static_cast<int>(Qt::MinimumDescent), 335},
    {sipName_MinimumSize, static_cast<int>(Qt::MinimumSize), 335},
    {sipName_MiterJoin, static_cast<int>(Qt::MiterJoin), 331},
    {sipName_Monday, static_cast<int>(Qt::Monday), 294},
    {sipName_MonoOnly, static_cast<int>(Qt::MonoOnly), 308},
    {sipName_MouseFocusReason, static_cast<int>(Qt::MouseFocusReason), 302},
    {sipName_MoveAction, static_cast<int>(Qt::MoveAction), 297},
    {sipName_NavigationModeCursorAuto, static_cast<int>(Qt::NavigationModeCursorAuto), 327},
    {sipName_NavigationModeCursorForceVisible, static_cast<int>(Qt::NavigationModeCursorForceVisible), 327},
    {sipName_NavigationModeKeypadDirectional, static_cast<int>(Qt::NavigationModeKeypadDirectional), 327},
    {sipName_NavigationModeKeypadTabOrder, static_cast<int>(Qt::NavigationModeKeypadTabOrder), 327},
    {sipName_NavigationModeNone, static_cast<int>(Qt::NavigationModeNone), 327},
    {sipName_NoArrow, static_cast<int>(Qt::NoArrow), 279},
    {sipName_NoBrush, static_cast<int>(Qt::NoBrush), 283},
    {sipName_NoButton, static_cast<int>(Qt::NoButton), 325},
    {sipName_NoClip, static_cast<int>(Qt::NoClip), 286},
    {sipName_NoContextMenu, static_cast<int>(Qt::NoContextMenu), 288},
    {sipName_NoDockWidgetArea, static_cast<int>(Qt::NoDockWidgetArea), 295},
    {sipName_NoFocus, static_cast<int>(Qt::NoFocus), 301},
    {sipName_NoFocusReason, static_cast<int>(Qt::NoFocusReason), 302},
    {sipName_NoItemFlags, static_cast<int>(Qt::NoItemFlags), 314},
    {sipName_NoModifier, static_cast<int>(Qt::NoModifier), 318},
    {sipName_NoPen, static_cast<int>(Qt::NoPen), 332},
    {sipName_NoSection, static_cast<int>(Qt::NoSection), 354},
    {sipName_NoTextInteraction, static_cast<int>(Qt::NoTextInteraction), 341},
    {sipName_NoToolBarArea, static_cast<int>(Qt::NoToolBarArea), 345},
    {sipName_NonModal, static_cast<int>(Qt::NonModal), 355},
    {sipName_NormalEventPriority, static_cast<int>(Qt::NormalEventPriority), 299},
    {sipName_OddEvenFill, static_cast<int>(Qt::OddEvenFill), 300},
    {sipName_OffsetFromUTC, static_cast<int>(Qt::OffsetFromUTC), 344},
    {sipName_OpaqueMode, static_cast<int>(Qt::OpaqueMode), 282},
    {sipName_OpenHandCursor, static_cast<int>(Qt::OpenHandCursor), 292},
    {sipName_OrderedAlphaDither, static_cast<int>(Qt::OrderedAlphaDither), 308},
    {sipName_OrderedDither, static_cast<int>(Qt::OrderedDither), 308},
    {sipName_OtherFocusReason, static_cast<int>(Qt::OtherFocusReason), 302},
    {sipName_PanGesture, static_cast<int>(Qt::PanGesture), 306},
    {sipName_PartiallyChecked, static_cast<int>(Qt::PartiallyChecked), 285},
    {sipName_PinchGesture, static_cast<int>(Qt::PinchGesture), 306},
    {sipName_PlainText, static_cast<int>(Qt::PlainText), 340},
    {sipName_PointingHandCursor, static_cast<int>(Qt::PointingHandCursor), 292},
    {sipName_Popup, static_cast<int>(Qt::Popup), 358},
    {sipName_PopupFocusReason, static_cast<int>(Qt::PopupFocusReason), 302},
    {sipName_PreferDither, static_cast<int>(Qt::PreferDither), 308},
    {sipName_PreferredSize, static_cast<int>(Qt::PreferredSize), 335},
    {sipName_PreventContextMenu, static_cast<int>(Qt::PreventContextMenu), 288},
    {sipName_QueuedConnection, static_cast<int>(Qt::QueuedConnection), 287},
    {sipName_RadialGradientPattern, static_cast<int>(Qt::RadialGradientPattern), 283},
    {sipName_ReceivePartialGestures, static_cast<int>(Qt::ReceivePartialGestures), 303},
    {sipName_RelativeSize, static_cast<int>(Qt::RelativeSize), 336},
    {sipName_RepeatTile, static_cast<int>(Qt::RepeatTile), 343},
    {sipName_ReplaceClip, static_cast<int>(Qt::ReplaceClip), 286},
    {sipName_RichText, static_cast<int>(Qt::RichText), 340},
    {sipName_RightArrow, static_cast<int>(Qt::RightArrow), 279},
    {sipName_RightButton, static_cast<int>(Qt::RightButton), 325},
    {sipName_RightDockWidgetArea, static_cast<int>(Qt::RightDockWidgetArea), 295},
    {sipName_RightSection, static_cast<int>(Qt::RightSection), 354},
    {sipName_RightToLeft, static_cast<int>(Qt::RightToLeft), 320},
    {sipName_RightToolBarArea, static_cast<int>(Qt::RightToolBarArea), 345},
    {sipName_RoundCap, static_cast<int>(Qt::RoundCap), 330},
    {sipName_RoundJoin, static_cast<int>(Qt::RoundJoin), 331},
    {sipName_RoundTile, static_cast<int>(Qt::RoundTile), 343},
    {sipName_SHIFT, static_cast<int>(Qt::SHIFT), 324},
    {sipName_Saturday, static_cast<int>(Qt::Saturday), 294},
    {sipName_ScrollBarAlwaysOff, static_cast<int>(Qt::ScrollBarAlwaysOff), 333},
    {sipName_ScrollBarAlwaysOn, static_cast<int>(Qt::ScrollBarAlwaysOn), 333},
    {sipName_ScrollBarAsNeeded, static_cast<int>(Qt::ScrollBarAsNeeded), 333},
    {sipName_Sheet, static_cast<int>(Qt::Sheet), 358},
    {sipName_ShiftModifier, static_cast<int>(Qt::ShiftModifier), 318},
    {sipName_ShortcutFocusReason, static_cast<int>(Qt::ShortcutFocusReason), 302},
    {sipName_SizeAllCursor, static_cast<int>(Qt::SizeAllCursor), 292},
    {sipName_SizeBDiagCursor, static_cast<int>(Qt::SizeBDiagCursor), 292},
    {sipName_SizeFDiagCursor, static_cast<int>(Qt::SizeFDiagCursor), 292},
    {sipName_SizeHintRole, static_cast<int>(Qt::SizeHintRole), 313},
    {sipName_SizeHorCursor, static_cast<int>(Qt::SizeHorCursor), 292},
    {sipName_SizeVerCursor, static_cast<int>(Qt::SizeVerCursor), 292},
    {sipName_SmoothTransformation, static_cast<int>(Qt::SmoothTransformation), 350},
    {sipName_SolidLine, static_cast<int>(Qt::SolidLine), 332},
    {sipName_SolidPattern, static_cast<int>(Qt::SolidPattern), 283},
    {sipName_SplashScreen, static_cast<int>(Qt::SplashScreen), 358},
    {sipName_SplitHCursor, static_cast<int>(Qt::SplitHCursor), 292},
    {sipName_SplitVCursor, static_cast<int>(Qt::SplitVCursor), 292},
    {sipName_SquareCap, static_cast<int>(Qt::SquareCap), 330},
    {sipName_StatusTipRole, static_cast<int>(Qt::StatusTipRole), 313},
    {sipName_StretchTile, static_cast<int>(Qt::StretchTile), 343},
    {sipName_StrongFocus, static_cast<int>(Qt::StrongFocus), 301},
    {sipName_SubWindow, static_cast<int>(Qt::SubWindow), 358},
    {sipName_Sunday, static_cast<int>(Qt::Sunday), 294},
    {sipName_SvgMiterJoin, static_cast<int>(Qt::SvgMiterJoin), 331},
    {sipName_SwipeGesture, static_cast<int>(Qt::SwipeGesture), 306},
    {sipName_SystemLocaleDate, static_cast<int>(Qt::SystemLocaleDate), 293},
    {sipName_SystemLocaleLongDate, static_cast<int>(Qt::SystemLocaleLongDate), 293},
    {sipName_SystemLocaleShortDate, static_cast<int>(Qt::SystemLocaleShortDate), 293},
    {sipName_TabFocus, static_cast<int>(Qt::TabFocus), 301},
    {sipName_TabFocusReason, static_cast<int>(Qt::TabFocusReason), 302},
    {sipName_TapAndHoldGesture, static_cast<int>(Qt::TapAndHoldGesture), 306},
    {sipName_TapGesture, static_cast<int>(Qt::TapGesture), 306},
    {sipName_TargetMoveAction, static_cast<int>(Qt::TargetMoveAction), 297},
    {sipName_TextAlignmentRole, static_cast<int>(Qt::TextAlignmentRole), 313},
    {sipName_TextBrowserInteraction, static_cast<int>(Qt::TextBrowserInteraction), 341},
    {sipName_TextColorRole, static_cast<int>(Qt::TextColorRole), 313},
    {sipName_TextDate, static_cast<int>(Qt::TextDate), 293},
    {sipName_TextDontClip, static_cast<int>(Qt::TextDontClip), 339},
    {sipName_TextDontPrint, static_cast<int>(Qt::TextDontPrint), 339},
    {sipName_TextEditable, static_cast<int>(Qt::TextEditable), 341},
    {sipName_TextEditorInteraction, static_cast<int>(Qt::TextEditorInteraction), 341},
    {sipName_TextExpandTabs, static_cast<int>(Qt::TextExpandTabs), 339},
    {sipName_TextHideMnemonic, static_cast<int>(Qt::TextHideMnemonic), 339},
    {sipName_TextIncludeTrailingSpaces, static_cast<int>(Qt::TextIncludeTrailingSpaces), 339},
    {sipName_TextJustificationForced, static_cast<int>(Qt::TextJustificationForced), 339},
    {sipName_TextSelectableByKeyboard, static_cast<int>(Qt::TextSelectableByKeyboard), 341},
    {sipName_TextSelectableByMouse, static_cast<int>(Qt::TextSelectableByMouse), 341},
    {sipName_TextShowMnemonic, static_cast<int>(Qt::TextShowMnemonic), 339},
    {sipName_TextSingleLine, static_cast<int>(Qt::TextSingleLine), 339},
    {sipName_TextWordWrap, static_cast<int>(Qt::TextWordWrap), 339},
    {sipName_TextWrapAnywhere, static_cast<int>(Qt::TextWrapAnywhere), 339},
    {sipName_TexturePattern, static_cast<int>(Qt::TexturePattern), 283},
    {sipName_ThresholdAlphaDither, static_cast<int>(Qt::ThresholdAlphaDither), 308},
    {sipName_ThresholdDither, static_cast<int>(Qt::ThresholdDither), 308},
    {sipName_Thursday, static_cast<int>(Qt::Thursday), 294},
    {sipName_TitleBarArea, static_cast<int>(Qt::TitleBarArea), 354},
    {sipName_Tool, static_cast<int>(Qt::Tool), 358},
    {sipName_ToolBarArea_Mask, static_cast<int>(Qt::ToolBarArea_Mask), 345},
    {sipName_ToolButtonFollowStyle, static_cast<int>(Qt::ToolButtonFollowStyle), 347},
    {sipName_ToolButtonIconOnly, static_cast<int>(Qt::ToolButtonIconOnly), 347},
    {sipName_ToolButtonTextBesideIcon, static_cast<int>(Qt::ToolButtonTextBesideIcon), 347},
    {sipName_ToolButtonTextOnly, static_cast<int>(Qt::ToolButtonTextOnly), 347},
    {sipName_ToolButtonTextUnderIcon, static_cast<int>(Qt::ToolButtonTextUnderIcon), 347},
    {sipName_ToolTip, static_cast<int>(Qt::ToolTip), 358},
    {sipName_ToolTipRole, static_cast<int>(Qt::ToolTipRole), 313},
    {sipName_TopDockWidgetArea, static_cast<int>(Qt::TopDockWidgetArea), 295},
    {sipName_TopLeftCorner, static_cast<int>(Qt::TopLeftCorner), 290},
    {sipName_TopLeftSection, static_cast<int>(Qt::TopLeftSection), 354},
    {sipName_TopRightCorner, static_cast<int>(Qt::TopRightCorner), 290},
    {sipName_TopRightSection, static_cast<int>(Qt::TopRightSection), 354},
    {sipName_TopSection, static_cast<int>(Qt::TopSection), 354},
    {sipName_TopToolBarArea, static_cast<int>(Qt::TopToolBarArea), 345},
    {sipName_TouchPointMoved, static_cast<int>(Qt::TouchPointMoved), 348},
    {sipName_TouchPointPressed, static_cast<int>(Qt::TouchPointPressed), 348},
    {sipName_TouchPointReleased, static_cast<int>(Qt::TouchPointReleased), 348},
    {sipName_TouchPointStationary, static_cast<int>(Qt::TouchPointStationary), 348},
    {sipName_TransparentMode, static_cast<int>(Qt::TransparentMode), 282},
    {sipName_Tuesday, static_cast<int>(Qt::Tuesday), 294},
    {sipName_UI_AnimateCombo, static_cast<int>(Qt::UI_AnimateCombo), 351},
    {sipName_UI_AnimateMenu, static_cast<int>(Qt::UI_AnimateMenu), 351},
    {sipName_UI_AnimateToolBox, static_cast<int>(Qt::UI_AnimateToolBox), 351},
    {sipName_UI_AnimateTooltip, static_cast<int>(Qt::UI_AnimateTooltip), 351},
    {sipName_UI_FadeMenu, static_cast<int>(Qt::UI_FadeMenu), 351},
    {sipName_UI_FadeTooltip, static_cast<int>(Qt::UI_FadeTooltip), 351},
    {sipName_UI_General, static_cast<int>(Qt::UI_General), 351},
    {sipName_UNICODE_ACCEL, static_cast<int>(Qt::UNICODE_ACCEL), 324},
    {sipName_UTC, static_cast<int>(Qt::UTC), 344},
    {sipName_Unchecked, static_cast<int>(Qt::Unchecked), 285},
    {sipName_UniqueConnection, static_cast<int>(Qt::UniqueConnection), 287},
    {sipName_UniteClip, static_cast<int>(Qt::UniteClip), 286},
    {sipName_UpArrow, static_cast<int>(Qt::UpArrow), 279},
    {sipName_UpArrowCursor, static_cast<int>(Qt::UpArrowCursor), 292},
    {sipName_UserRole, static_cast<int>(Qt::UserRole), 313},
    {sipName_VerPattern, static_cast<int>(Qt::VerPattern), 283},
    {sipName_Vertical, static_cast<int>(Qt::Vertical), 328},
    {sipName_VisualMoveStyle, static_cast<int>(Qt::VisualMoveStyle), 291},
    {sipName_WA_AcceptDrops, static_cast<int>(Qt::WA_AcceptDrops), 352},
    {sipName_WA_AcceptTouchEvents, static_cast<int>(Qt::WA_AcceptTouchEvents), 352},
    {sipName_WA_AlwaysShowToolTips, static_cast<int>(Qt::WA_AlwaysShowToolTips), 352},
    {sipName_WA_AttributeCount, static_cast<int>(Qt::WA_AttributeCount), 352},
    {sipName_WA_AutoOrientation, static_cast<int>(Qt::WA_AutoOrientation), 352},
    {sipName_WA_CustomWhatsThis, static_cast<int>(Qt::WA_CustomWhatsThis), 352},
    {sipName_WA_DeleteOnClose, static_cast<int>(Qt::WA_DeleteOnClose), 352},
    {sipName_WA_Disabled, static_cast<int>(Qt::WA_Disabled), 352},
    {sipName_WA_DontCreateNativeAncestors, static_cast<int>(Qt::WA_DontCreateNativeAncestors), 352},
    {sipName_WA_ForceDisabled, static_cast<int>(Qt::WA_ForceDisabled), 352},
    {sipName_WA_ForceUpdatesDisabled, static_cast<int>(Qt::WA_ForceUpdatesDisabled), 352},
    {sipName_WA_GrabbedShortcut, static_cast<int>(Qt::WA_GrabbedShortcut), 352},
    {sipName_WA_GroupLeader, static_cast<int>(Qt::WA_GroupLeader), 352},
    {sipName_WA_Hover, static_cast<int>(Qt::WA_Hover), 352},
    {sipName_WA_InputMethodEnabled, static_cast<int>(Qt::WA_InputMethodEnabled), 352},
    {sipName_WA_InputMethodTransparent, static_cast<int>(Qt::WA_InputMethodTransparent), 352},
    {sipName_WA_InvalidSize, static_cast<int>(Qt::WA_InvalidSize), 352},
    {sipName_WA_KeyCompression, static_cast<int>(Qt::WA_KeyCompression), 352},
    {sipName_WA_KeyboardFocusChange, static_cast<int>(Qt::WA_KeyboardFocusChange), 352},
    {sipName_WA_LaidOut, static_cast<int>(Qt::WA_LaidOut), 352},
    {sipName_WA_LayoutOnEntireRect, static_cast<int>(Qt::WA_LayoutOnEntireRect), 352},
    {sipName_WA_LayoutUsesWidgetRect, static_cast<int>(Qt::WA_LayoutUsesWidgetRect), 352},
    {sipName_WA_LockLandscapeOrientation, static_cast<int>(Qt::WA_LockLandscapeOrientation), 352},
    {sipName_WA_LockPortraitOrientation, static_cast<int>(Qt::WA_LockPortraitOrientation), 352},
    {sipName_WA_MSWindowsUseDirect3D, static_cast<int>(Qt::WA_MSWindowsUseDirect3D), 352},
    {sipName_WA_MacAlwaysShowToolWindow, static_cast<int>(Qt::WA_MacAlwaysShowToolWindow), 352},
    {sipName_WA_MacBrushedMetal, static_cast<int>(Qt::WA_MacBrushedMetal), 352},
    {sipName_WA_MacFrameworkScaled, static_cast<int>(Qt::WA_MacFrameworkScaled), 352},
    {sipName_WA_MacMetalStyle, static_cast<int>(Qt::WA_MacMetalStyle), 352},
    {sipName_WA_MacMiniSize, static_cast<int>(Qt::WA_MacMiniSize), 352},
    {sipName_WA_MacNoClickThrough, static_cast<int>(Qt::WA_MacNoClickThrough), 352},
    {sipName_WA_MacNoShadow, static_cast<int>(Qt::WA_MacNoShadow), 352},
    {sipName_WA_MacNormalSize, static_cast<int>(Qt::WA_MacNormalSize), 352},
    {sipName_WA_MacOpaqueSizeGrip, static_cast<int>(Qt::WA_MacOpaqueSizeGrip), 352},
    {sipName_WA_MacShowFocusRect, static_cast<int>(Qt::WA_MacShowFocusRect), 352},
    {sipName_WA_MacSmallSize, static_cast<int>(Qt::WA_MacSmallSize), 352},
    {sipName_WA_MacVariableSize, static_cast<int>(Qt::WA_MacVariableSize), 352},
    {sipName_WA_Mapped, static_cast<int>(Qt::WA_Mapped), 352},
    {sipName_WA_MergeSoftkeys, static_cast<int>(Qt::WA_MergeSoftkeys), 352},
    {sipName_WA_MergeSoftkeysRecursively, static_cast<int>(Qt::WA_MergeSoftkeysRecursively), 352},
    {sipName_WA_MouseNoMask, static_cast<int>(Qt::WA_MouseNoMask), 352},
    {sipName_WA_MouseTracking, static_cast<int>(Qt::WA_MouseTracking), 352},
    {sipName_WA_Moved, static_cast<int>(Qt::WA_Moved), 352},
    {sipName_WA_NativeWindow, static_cast<int>(Qt::WA_NativeWindow), 352},
    {sipName_WA_NoChildEventsForParent, static_cast<int>(Qt::WA_NoChildEventsForParent), 352},
    {sipName_WA_NoChildEventsFromChildren, static_cast<int>(Qt::WA_NoChildEventsFromChildren), 352},
    {sipName_WA_NoMousePropagation, static_cast<int>(Qt::WA_NoMousePropagation), 352},
    {sipName_WA_NoMouseReplay, static_cast<int>(Qt::WA_NoMouseReplay), 352},
    {sipName_WA_NoSystemBackground, static_cast<int>(Qt::WA_NoSystemBackground), 352},
    {sipName_WA_NoX11EventCompression, static_cast<int>(Qt::WA_NoX11EventCompression), 352},
    {sipName_WA_OpaquePaintEvent, static_cast<int>(Qt::WA_OpaquePaintEvent), 352},
    {sipName_WA_OutsideWSRange, static_cast<int>(Qt::WA_OutsideWSRange), 352},
    {sipName_WA_PaintOnScreen, static_cast<int>(Qt::WA_PaintOnScreen), 352},
    {sipName_WA_PaintOutsidePaintEvent, static_cast<int>(Qt::WA_PaintOutsidePaintEvent), 352},
    {sipName_WA_PaintUnclipped, static_cast<int>(Qt::WA_PaintUnclipped), 352},
    {sipName_WA_PendingMoveEvent, static_cast<int>(Qt::WA_PendingMoveEvent), 352},
    {sipName_WA_PendingResizeEvent, static_cast<int>(Qt::WA_PendingResizeEvent), 352},
    {sipName_WA_PendingUpdate, static_cast<int>(Qt::WA_PendingUpdate), 352},
    {sipName_WA_QuitOnClose, static_cast<int>(Qt::WA_QuitOnClose), 352},
    {sipName_WA_Resized, static_cast<int>(Qt::WA_Resized), 352},
    {sipName_WA_RightToLeft, static_cast<int>(Qt::WA_RightToLeft), 352},
    {sipName_WA_SetCursor, static_cast<int>(Qt::WA_SetCursor), 352},
    {sipName_WA_SetFont, static_cast<int>(Qt::WA_SetFont), 352},
    {sipName_WA_SetLayoutDirection, static_cast<int>(Qt::WA_SetLayoutDirection), 352},
    {sipName_WA_SetLocale, static_cast<int>(Qt::WA_SetLocale), 352},
    {sipName_WA_SetPalette, static_cast<int>(Qt::WA_SetPalette), 352},
    {sipName_WA_SetStyle, static_cast<int>(Qt::WA_SetStyle), 352},
    {sipName_WA_SetWindowIcon, static_cast<int>(Qt::WA_SetWindowIcon), 352},
    {sipName_WA_ShowWithoutActivating, static_cast<int>(Qt::WA_ShowWithoutActivating), 352},
    {sipName_WA_StaticContents, static_cast<int>(Qt::WA_StaticContents), 352},
    {sipName_WA_StyleSheet, static_cast<int>(Qt::WA_StyleSheet), 352},
    {sipName_WA_StyledBackground, static_cast<int>(Qt::WA_StyledBackground), 352},
    {sipName_WA_TintedBackground, static_cast<int>(Qt::WA_TintedBackground), 352},
    {sipName_WA_TouchPadAcceptSingleTouchEvents, static_cast<int>(Qt::WA_TouchPadAcceptSingleTouchEvents), 352},
    {sipName_WA_TranslucentBackground, static_cast<int>(Qt::WA_TranslucentBackground), 352},
    {sipName_WA_TransparentForMouseEvents, static_cast<int>(Qt::WA_TransparentForMouseEvents), 352},
    {sipName_WA_UnderMouse, static_cast<int>(Qt::WA_UnderMouse), 352},
    {sipName_WA_UpdatesDisabled, static_cast<int>(Qt::WA_UpdatesDisabled), 352},
    {sipName_WA_WState_CompressKeys, static_cast<int>(Qt::WA_WState_CompressKeys), 352},
    {sipName_WA_WState_ConfigPending, static_cast<int>(Qt::WA_WState_ConfigPending), 352},
    {sipName_WA_WState_Created, static_cast<int>(Qt::WA_WState_Created), 352},
    {sipName_WA_WState_ExplicitShowHide, static_cast<int>(Qt::WA_WState_ExplicitShowHide), 352},
    {sipName_WA_WState_Hidden, static_cast<int>(Qt::WA_WState_Hidden), 352},
    {sipName_WA_WState_InPaintEvent, static_cast<int>(Qt::WA_WState_InPaintEvent), 352},
    {sipName_WA_WState_OwnSizePolicy, static_cast<int>(Qt::WA_WState_OwnSizePolicy), 352},
    {sipName_WA_WState_Polished, static_cast<int>(Qt::WA_WState_Polished), 352},
    {sipName_WA_WState_Reparented, static_cast<int>(Qt::WA_WState_Reparented), 352},
    {sipName_WA_WState_Visible, static_cast<int>(Qt::WA_WState_Visible), 352},
    {sipName_WA_WindowModified, static_cast<int>(Qt::WA_WindowModified), 352},
    {sipName_WA_WindowPropagation, static_cast<int>(Qt::WA_WindowPropagation), 352},
    {sipName_WA_X11DoNotAcceptFocus, static_cast<int>(Qt::WA_X11DoNotAcceptFocus), 352},
    {sipName_WA_X11NetWmWindowTypeCombo, static_cast<int>(Qt::WA_X11NetWmWindowTypeCombo), 352},
    {sipName_WA_X11NetWmWindowTypeDND, static_cast<int>(Qt::WA_X11NetWmWindowTypeDND), 352},
    {sipName_WA_X11NetWmWindowTypeDesktop, static_cast<int>(Qt::WA_X11NetWmWindowTypeDesktop), 352},
    {sipName_WA_X11NetWmWindowTypeDialog, static_cast<int>(Qt::WA_X11NetWmWindowTypeDialog), 352},
    {sipName_WA_X11NetWmWindowTypeDock, static_cast<int>(Qt::WA_X11NetWmWindowTypeDock), 352},
    {sipName_WA_X11NetWmWindowTypeDropDownMenu, static_cast<int>(Qt::WA_X11NetWmWindowTypeDropDownMenu), 352},
    {sipName_WA_X11NetWmWindowTypeMenu, static_cast<int>(Qt::WA_X11NetWmWindowTypeMenu), 352},
    {sipName_WA_X11NetWmWindowTypeNotification, static_cast<int>(Qt::WA_X11NetWmWindowTypeNotification), 352},
    {sipName_WA_X11NetWmWindowTypePopupMenu, static_cast<int>(Qt::WA_X11NetWmWindowTypePopupMenu), 352},
    {sipName_WA_X11NetWmWindowTypeSplash, static_cast<int>(Qt::WA_X11NetWmWindowTypeSplash), 352},
    {sipName_WA_X11NetWmWindowTypeToolBar, static_cast<int>(Qt::WA_X11NetWmWindowTypeToolBar), 352},
    {sipName_WA_X11NetWmWindowTypeToolTip, static_cast<int>(Qt::WA_X11NetWmWindowTypeToolTip), 352},
    {sipName_WA_X11NetWmWindowTypeUtility, static_cast<int>(Qt::WA_X11NetWmWindowTypeUtility), 352},
    {sipName_WA_X11OpenGLOverlay, static_cast<int>(Qt::WA_X11OpenGLOverlay), 352},
    {sipName_WaitCursor, static_cast<int>(Qt::WaitCursor), 292},
    {sipName_Wednesday, static_cast<int>(Qt::Wednesday), 294},
    {sipName_WhatsThisCursor, static_cast<int>(Qt::WhatsThisCursor), 292},
    {sipName_WhatsThisRole, static_cast<int>(Qt::WhatsThisRole), 313},
    {sipName_WheelFocus, static_cast<int>(Qt::WheelFocus), 301},
    {sipName_Widget, static_cast<int>(Qt::Widget), 358},
    {sipName_WidgetShortcut, static_cast<int>(Qt::WidgetShortcut), 334},
    {sipName_WidgetWithChildrenShortcut, static_cast<int>(Qt::WidgetWithChildrenShortcut), 334},
    {sipName_WindingFill, static_cast<int>(Qt::WindingFill), 300},
    {sipName_Window, static_cast<int>(Qt::Window), 358},
    {sipName_WindowActive, static_cast<int>(Qt::WindowActive), 356},
    {sipName_WindowCancelButtonHint, static_cast<int>(Qt::WindowCancelButtonHint), 358},
    {sipName_WindowCloseButtonHint, static_cast<int>(Qt::WindowCloseButtonHint), 358},
    {sipName_WindowContextHelpButtonHint, static_cast<int>(Qt::WindowContextHelpButtonHint), 358},
    {sipName_WindowFullScreen, static_cast<int>(Qt::WindowFullScreen), 356},
    {sipName_WindowMaximizeButtonHint, static_cast<int>(Qt::WindowMaximizeButtonHint), 358},
    {sipName_WindowMaximized, static_cast<int>(Qt::WindowMaximized), 356},
    {sipName_WindowMinMaxButtonsHint, static_cast<int>(Qt::WindowMinMaxButtonsHint), 358},
    {sipName_WindowMinimizeButtonHint, static_cast<int>(Qt::WindowMinimizeButtonHint), 358},
    {sipName_WindowMinimized, static_cast<int>(Qt::WindowMinimized), 356},
    {sipName_WindowModal, static_cast<int>(Qt::WindowModal), 355},
    {sipName_WindowNoState, static_cast<int>(Qt::WindowNoState), 356},
    {sipName_WindowOkButtonHint, static_cast<int>(Qt::WindowOkButtonHint), 358},
    {sipName_WindowShadeButtonHint, static_cast<int>(Qt::WindowShadeButtonHint), 358},
    {sipName_WindowShortcut, static_cast<int>(Qt::WindowShortcut), 334},
    {sipName_WindowSoftkeysRespondHint, static_cast<int>(Qt::WindowSoftkeysRespondHint), 358},
    {sipName_WindowSoftkeysVisibleHint, static_cast<int>(Qt::WindowSoftkeysVisibleHint), 358},
    {sipName_WindowStaysOnBottomHint, static_cast<int>(Qt::WindowStaysOnBottomHint), 358},
    {sipName_WindowStaysOnTopHint, static_cast<int>(Qt::WindowStaysOnTopHint), 358},
    {sipName_WindowSystemMenuHint, static_cast<int>(Qt::WindowSystemMenuHint), 358},
    {sipName_WindowTitleHint, static_cast<int>(Qt::WindowTitleHint), 358},
    {sipName_WindowType_Mask, static_cast<int>(Qt::WindowType_Mask), 358},
    {sipName_X11BypassWindowManagerHint, static_cast<int>(Qt::X11BypassWindowManagerHint), 358},
    {sipName_XAxis, static_cast<int>(Qt::XAxis), 281},
    {sipName_XButton1, static_cast<int>(Qt::XButton1), 325},
    {sipName_XButton2, static_cast<int>(Qt::XButton2), 325},
    {sipName_YAxis, static_cast<int>(Qt::YAxis), 281},
    {sipName_ZAxis, static_cast<int>(Qt::ZAxis), 281},
    {sipName_black, static_cast<int>(Qt::black), 307},
    {sipName_blue, static_cast<int>(Qt::blue), 307},
    {sipName_color0, static_cast<int>(Qt::color0), 307},
    {sipName_color1, static_cast<int>(Qt::color1), 307},
    {sipName_cyan, static_cast<int>(Qt::cyan), 307},
    {sipName_darkBlue, static_cast<int>(Qt::darkBlue), 307},
    {sipName_darkCyan, static_cast<int>(Qt::darkCyan), 307},
    {sipName_darkGray, static_cast<int>(Qt::darkGray), 307},
    {sipName_darkGreen, static_cast<int>(Qt::darkGreen), 307},
    {sipName_darkMagenta, static_cast<int>(Qt::darkMagenta), 307},
    {sipName_darkRed, static_cast<int>(Qt::darkRed), 307},
    {sipName_darkYellow, static_cast<int>(Qt::darkYellow), 307},
    {sipName_gray, static_cast<int>(Qt::gray), 307},
    {sipName_green, static_cast<int>(Qt::green), 307},
    {sipName_lightGray, static_cast<int>(Qt::lightGray), 307},
    {sipName_magenta, static_cast<int>(Qt::magenta), 307},
    {sipName_red, static_cast<int>(Qt::red), 307},
    {sipName_transparent, static_cast<int>(Qt::transparent), 307},
    {sipName_white, static_cast<int>(Qt::white), 307},
    {sipName_yellow, static_cast<int>(Qt::yellow), 307},
};


pyqt4ClassTypeDef sipTypeDef_QtCore_Qt = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_Qt,
        {0}
    },
    {
        sipNameNr_Qt,
        {0, 0, 1},
        0, 0,
        969, 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
};

#line 474 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 173850 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<quintptr *>(ptr);
    Py_END_ALLOW_THREADS
}



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 478 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 173905 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 494 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
    return sipConvertFromVoidPtr((void *)*sipCpp);
#line 173916 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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 64 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/build/sip/QtCore/qglobal.sip"
#include <qglobal.h>
#line 173947 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-1.x86_64/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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QSysInfo *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QSysInfo();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QSysInfo* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QSysInfo, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QSysInfo(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}

static sipEnumMemberDef enummembers_QSysInfo[] = {
    {sipName_BigEndian, static_cast<int>(QSysInfo::BigEndian), 206},
    {sipName_ByteOrder, static_cast<int>(QSysInfo::ByteOrder), 206},
    {sipName_LittleEndian, static_cast<int>(QSysInfo::LittleEndian), 206},
    {sipName_WordSize, static_cast<int>(QSysInfo::WordSize), 207},
};

PyDoc_STRVAR(doc_QSysInfo, "\1QSysInfo()\n"
    "QSysInfo(QSysInfo)");


pyqt4ClassTypeDef sipTypeDef_QtCore_QSysInfo = {
{
    {
        -1,
        0,
        0,
        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_PyQt4_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
};
